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

Exemplar OTel: Fix exemplar for otel to use traceId instead of spanId and sample only if trace is sampled #6197

Merged
merged 1 commit into from
Mar 9, 2023

Conversation

jianwu
Copy link
Contributor

@jianwu jianwu commented Mar 9, 2023

….

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

Fix the exemplar for otel to use correct traceId

Verification

We identified this bug when we enabled the exemplar in Grafana, the tracedId value is by mistake to assigned with spanId which causes broken link to jaeger trace ui. After the fix, we verified everything works fine.

Copy link
Member

@GiedriusS GiedriusS left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@GiedriusS GiedriusS merged commit 8ff2753 into thanos-io:main Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants