Answers for "prometheus API query"

0

prometheus API query

from prometheus_api_client import PrometheusConnect
prom = PrometheusConnect(url ="<prometheus-host>", disable_ssl=True)

# Get the list of all the metrics that the Prometheus host scrapes
prom.all_metrics()
Posted by: Guest on January-31-2022

Python Answers by Framework

Browse Popular Code Answers by Language