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

Move ExtractTraceID from util to util/tracing #2988

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

yvrhdn
Copy link
Member

@yvrhdn yvrhdn commented Oct 5, 2023

What this PR does:

Small refactor in preparation for a bigger change to our tracing SDK setup.

Changes:

  • move ExtractTraceID to its own package, from pkg/util to pkg/util/tracing
  • in some places we were calling dskit/tracing.ExtractTraceID directly instead of our helper, for consistency all calls will now go through our own ExtractTraceID (which calls dskit's version)

Which issue(s) this PR fixes:
Fixes #

Checklist

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

@yvrhdn yvrhdn merged commit 7b4afc4 into grafana:main Oct 6, 2023
13 checks passed
@yvrhdn yvrhdn deleted the kvrhdn/util-tracing branch October 6, 2023 14:31
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.

2 participants