It was the last opera that Monteverdi composed . The libretto is by Giovanni Francesco Busenello . The music , attributed to Claudio Monteverdi , is a setting of a libretto by Giovanni Francesco Busenello .