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>
3.2 KiB
3.2 KiB