On 06/08/2022 22:58, Geet wrote:
Hi ,

What is the best way to collect data from Prometheus metrics which is in dev environment and convert the metrics to json and to use in react.js for making bar charts?


Take a look at the HTTP query API which returns a JSON response for a query you send:

https://prometheus.io/docs/prometheus/latest/querying/api/

--
Stuart Clark

--
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/adb4f598-806d-8563-5625-5aa425e622b7%40Jahingo.com.

Reply via email to