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

make the traceID label name configurable #3074

Merged
merged 8 commits into from Nov 17, 2023
Merged

Conversation

zeitlinger
Copy link
Member

@zeitlinger zeitlinger commented Oct 25, 2023

What this PR does: make the traceID label name configurable, especially to make it possible to be otel compliant: https://opentelemetry.io/docs/specs/otel/compatibility/prometheus_and_openmetrics/#exemplars

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@CLAassistant
Copy link

CLAassistant commented Oct 25, 2023

CLA assistant check
All committers have signed the CLA.

@zeitlinger
Copy link
Member Author

should I add a new config to legacy config - or adjust this test?

@zeitlinger zeitlinger self-assigned this Oct 25, 2023
Copy link
Member

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This generally looks good to me! What is the goal here? Do we need this to be per tenant?

I'm not going to approve b/c I'd like @kvrhdn to take a look regarding how this interacts with overrides/user configurable overrides.

CHANGELOG.md Outdated Show resolved Hide resolved
modules/generator/registry/histogram.go Outdated Show resolved Hide resolved
@zeitlinger
Copy link
Member Author

What is the goal here? Do we need this to be per tenant?

I think ultimately we want to migrate everyone over, so I see this as a feature flag.

Copy link
Contributor

@knylander-grafana knylander-grafana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for adding documentation. The update looks good.

@zeitlinger
Copy link
Member Author

@knylander-grafana fixed build

Copy link
Member

@kvrhdn kvrhdn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, no comments besides that we don't need to do anything for user-configurable overrides.

modules/overrides/user_configurable_overrides.go Outdated Show resolved Hide resolved
@zeitlinger
Copy link
Member Author

@kvrhdn can this be merged now?

@zeitlinger
Copy link
Member Author

Looks good to me, no comments besides that we don't need to do anything for user-configurable overrides.

addressed

Copy link
Member

@kvrhdn kvrhdn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, this looks good to me. Thanks!

@kvrhdn kvrhdn merged commit 85c021b into main Nov 17, 2023
16 checks passed
@kvrhdn kvrhdn deleted the zeitlinger/traceID-label-name branch November 17, 2023 17:04
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.

None yet

5 participants