I’m trying to use Prometheus data from my local RabbitMQ instance.
In Grafana (using version 6.6.1, MacOSX 10.15), I add a data source and select Prometheus. For now, I’m fine with using the ‘browser’ setting since both RabbitMQ and Grafana are running locally. I set url to
http://localhost:15692/metrics
I’m getting an error. So I look at the network data tab for the browser, and the http request is going through this endpoint:
http://localhost:15692/metrics/api/v1/query?query=1%2B1&time=1581449129.823
where the ‘api/v1/query’ part of the uri appears to be automatically added. The RabbitMQ plugin for prometheus does not support this uri.
Why is that extra uri part added? How can I prevent it from being added?
Thanks,
Chad Knutson