-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prefix observatory metrics #1
Comments
Hey @fortytw2, thanks for reporting! The namespace 'observatory' gets passed to the prometheus.Desc which gets used when calling MustNewConstMetric. That should do already what you're asking for. I am able to query our prometheus server that way and see the observatory_ 'prefix'.. |
fantastic, @shartmnn - I was a bit confused in the readme, here https://github.com/Jimdo/observatory-exporter#exposed-metrics (haven't given it a spin yet, either :s) |
I updated the readme. The metrics names now include the namespace/prefix. 631d7ca Good catch! |
sweet! 😄 |
would be wonderful if the exported metrics were something like
observatory_*
per https://prometheus.io/docs/practices/naming/ - helps a lot when you have a large number of metricsThe text was updated successfully, but these errors were encountered: