A way to get the Prometheus config (like /api/v1/status/config
)
#290
Unanswered
tanguynicolas
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@tanguynicolas PrometheusConnect cannot do this atm. But I think this would be a great addition to the package. Would you want to work on adding it? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is there a way to get the Prometheus configuration? Like when going to the
/api/v1/status/config
endpoint. Or maybe a way to get the list of targets, like/api/v1/targets
endpoint.Didn't found in the documentation. I need this for a particular usecase.
Something like
prom.config()
orprom.targets()
, as can be done to retrieve the list of metrics withprom.all_metrics()
.I'm doing this for now:
Thanks
Beta Was this translation helpful? Give feedback.
All reactions