Skip to content

make the traceID label name configurable - #3074

Merged
yvrhdn merged 8 commits into
mainfrom
zeitlinger/traceID-label-name
Nov 17, 2023
Merged

make the traceID label name configurable#3074
yvrhdn merged 8 commits into
mainfrom
zeitlinger/traceID-label-name

Conversation

@zeitlinger

@zeitlinger zeitlinger commented Oct 25, 2023

Copy link
Copy Markdown
Member

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

CLAassistant commented Oct 25, 2023

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@zeitlinger

Copy link
Copy Markdown
Member Author

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

@zeitlinger zeitlinger self-assigned this Oct 25, 2023

@joe-elliott joe-elliott left a comment

Copy link
Copy Markdown
Collaborator

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.

Comment thread CHANGELOG.md Outdated
Comment thread modules/generator/registry/histogram.go Outdated
Comment thread modules/generator/registry/histogram_test.go Outdated
Comment thread modules/generator/registry/counter.go Outdated
@zeitlinger

Copy link
Copy Markdown
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.

@knylander-grafana knylander-grafana left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Member Author

@knylander-grafana fixed build

@yvrhdn yvrhdn left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread modules/overrides/user_configurable_overrides.go Outdated
@zeitlinger

Copy link
Copy Markdown
Member Author

@kvrhdn can this be merged now?

@zeitlinger

Copy link
Copy Markdown
Member Author

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

addressed

@yvrhdn yvrhdn left a comment

Copy link
Copy Markdown
Contributor

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!

@yvrhdn
yvrhdn merged commit 85c021b into main Nov 17, 2023
@yvrhdn
yvrhdn deleted the zeitlinger/traceID-label-name branch November 17, 2023 17:04
mattdurham pushed a commit to mattdurham/tempo that referenced this pull request Jun 18, 2026
* make the traceID label name configurable, because otel specifies trace_id - see https://opentelemetry.io/docs/specs/otel/compatibility/prometheus_and_openmetrics/#exemplars

* make the traceID label name configurable, because otel specifies trace_id - see https://opentelemetry.io/docs/specs/otel/compatibility/prometheus_and_openmetrics/#exemplars

* make the traceID label name configurable, because otel specifies trace_id - see https://opentelemetry.io/docs/specs/otel/compatibility/prometheus_and_openmetrics/#exemplars

* make the traceID label name configurable, because otel specifies trace_id - see https://opentelemetry.io/docs/specs/otel/compatibility/prometheus_and_openmetrics/#exemplars

* make the traceID label name configurable, because otel specifies trace_id - see https://opentelemetry.io/docs/specs/otel/compatibility/prometheus_and_openmetrics/#exemplars

* make the traceID label name configurable, because otel specifies trace_id - see https://opentelemetry.io/docs/specs/otel/compatibility/prometheus_and_openmetrics/#exemplars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants