I noticed that the Prometheus middleware doesn't work with the scheduler, is this intentional or is this something that can be implemented?