Hello fellow RabbitMQ users,
We are working on getting Prometheus plugin up and running, and encountered the following issue (RabbitMQ 3.8.9 and Erlang 23.1.1):
Scraping the ":15692/metrics" endpoint works well, but when giving the per-object endpoint ":15692/metrics/per-object" I get the following:
* Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 15692 (#0)
> GET /metrics/per-object/ HTTP/1.1
> Host: localhost:15692
> User-Agent: curl/7.45.0
> Accept:text/plain
>
< HTTP/1.1 404 Not Found
< content-length: 16
< content-type: text/plain
< date: Mon, 06 Sep 2021 09:38:55 GMT
< server: Cowboy
<
* Connection #0 to host localhost left intact
Unknown Registry
Has anyone seen this? I can get per-object metrics if I set "rabbitmqctl eval 'application:set_env(rabbitmq_prometheus, return_per_object_metrics, true)."
Best Regards,
Thomas Oliw