-
Notifications
You must be signed in to change notification settings - Fork 70
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
Metrics name, tags & help improvements #86
base: master
Are you sure you want to change the base?
Conversation
This is an anti-pattern, see https://www.robustperception.io/target-labels-not-metric-name-prefixes
This should be a target label as an exporter only handles one subscription, and also it's a secret so should not be exposed as that'd be a security vulnerability.
Can you explain more about what this is, and if this information is already available in the current metrics? |
thanks for the advises, prefix removed in favor of custom labels
let's assume
and pg & ms sql databases with
it's not explicitly marked which metric is for pg and which for ms sql, something like this will be more clear:
|
That sounds plausible, is this something that belongs on every single metric? It is technically a breaking change. I also see you added a |
haha seems we have the same requirements! i have 3 PR's that do the same thing! |
New metrics tags added:
Resource name added to Target, ResourceGroup, and ResourceTag. When set, value is used as metrics name prefix (helpful when many resources from different subscriptions are monitored by one Prometheus instance).