Not sure if this is possible, and I could not figure out if the feature exists, but is it possible to add additional labels to prometheus metrics from within jenkins?
Example:
jenkins.executor.online metric has a label that has the name of the build. Could we add additional labels to this metric? Seems like it's possible since the label can define the build name. Additional info like this can help create leaderboards in prometheus/grafana such as most running builds, most github repos checked out, etc.
I've also tried using opentelemetry collector processors such as metricstransform and attributes with upsert actions, but nothing seems to work.
What feature do you want to see added?
Not sure if this is possible, and I could not figure out if the feature exists, but is it possible to add additional labels to prometheus metrics from within jenkins?
Example:
jenkins.executor.online
metric has a label that has the name of the build. Could we add additional labels to this metric? Seems like it's possible since the label can define the build name. Additional info like this can help create leaderboards in prometheus/grafana such as most running builds, most github repos checked out, etc.I've also tried using opentelemetry collector processors such as
metricstransform
andattributes
with upsert actions, but nothing seems to work.Upstream changes
No response
Are you interested in contributing this feature?
No response