Files
devstack-plugin-prometheus/devstack/lib/prometheus
Chandan Kumar (raukadah) 3e3de2bd70 Use prometheus api to get metrics names in check_data
Currently check_data is using prometheus metrics to check
where prometheus is working or not.

Let's use prometheus HTTP API[1] to query the list of metrics.
It will make sure, we are pushing data to the prometheus.

Links:
[1]. https://prometheus.io/docs/prometheus/latest/querying/api/

Change-Id: I9fd4e4aced915f8090afbf7e65f07aca8db64e3f
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2025-02-19 19:35:54 +05:30

3.2 KiB