Add Grafana Cloud (Mimir) metrics integration
Changed onAdd a Grafana Cloud metrics integration (Prometheus-based).
Available on all LavinMQ clusters and RabbitMQ clusters running version 3.10.0 or later.
Broker and server metrics are pushed to your Grafana Cloud stack with Prometheus remote write.
To find your credentials, sign in to the Grafana Cloud Portal, open your stack, find the Prometheus tile and click Send Metrics. The API token needs the metrics:write scope.
The endpoint must be the remote write URL in the format https://prometheus-prod-<region>.grafana.net/api/prom/push.
See the Grafana Cloud metrics setup guide for setup details and supported metrics.
Request
- Base URLhttps://api.cloudamqp.com/api
- URLhttps://api.cloudamqp.com/api/integrations/metrics/grafana
- AuthHTTP basic
Request body application/x-www-form-urlencoded
Example request
{
"endpoint": "https://prometheus-prod-01-eu-west-0.grafana.net/api/prom/push",
"instance_id": "123456",
"api_token": "glc_eyJ..."
}Response
Integration created successfully
Example response
{
"id": 10
}Changes
- breaking
removed the success response with the status
- info
added the new optional request property
- info
added the non-success response with the status
- info
added the success response with the status
- breaking
- info
endpoint added
- info