list all metrics of default prom registry #964
Answered
by
Khushbukela
Khushbukela
asked this question in
Q&A
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Khushbukela
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.
-
metricFamilies, err := registry.Gather()
this will work if I have created a custom registry in Prometheus
if I use the default registry then how to use this function?
or how can I list all metrics of the default registry
Beta Was this translation helpful? Give feedback.
All reactions