Using PrometheusPhoenix with Phoenix 1.5

Hi all,

I am trying to setup PrometheusPhoenix with Phoenix 1.5.

The library says in the documentation, to use instrumenters: [ ... ] in the Endpoint config in config.exs file, but after doing that Phoenix is complaining :instrumenters configuration for MyApp.Endpoint is deprecated and has no effect.

I assume I should somehow attach the handler to the Telemetry, but I don’t know how. Any idea how to solve this will be appreciated.

Thanks a lot.