Skip to content
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

Enable optional trust domain label for all metrics #5673

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

graceajibade
Copy link

@graceajibade graceajibade commented Nov 28, 2024

This PR is based on this comment and the desire for a different tag name than service which is what go-metrics would use as a label if ServiceName and EnableServiceLabel were used.

The trust_domain label was used to separate it from the trust_domain_id label that is already added for some metrics.

Since this label is enabled for all metrics, the best place to add it looks to be in each of the metric function in metric.go.

Fixes #5652

@graceajibade graceajibade marked this pull request as draft November 28, 2024 10:47
@graceajibade graceajibade marked this pull request as ready for review November 29, 2024 09:52
@graceajibade graceajibade force-pushed the gracepatch branch 2 times, most recently from 7d27be8 to 0ce122b Compare November 29, 2024 14:15
pkg/common/telemetry/metrics.go Outdated Show resolved Hide resolved
pkg/common/telemetry/metrics.go Outdated Show resolved Hide resolved
@c4rlo
Copy link
Contributor

c4rlo commented Dec 18, 2024

Just mentioning here that this addresses issue #5652.

@MarcosDY
Copy link
Collaborator

MarcosDY commented Jan 2, 2025

@graceajibade can you resolve DCO?
thanks!

@graceajibade graceajibade force-pushed the gracepatch branch 5 times, most recently from ff8700f to be630c0 Compare January 3, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable optional trust domain label for all metrics
3 participants