Skip to content

Support per-tenant left-padding of trace IDs - #6489

Merged
mapno merged 3 commits into
grafana:mainfrom
mapno:left-pad-trace-ids
Feb 18, 2026
Merged

Support per-tenant left-padding of trace IDs#6489
mapno merged 3 commits into
grafana:mainfrom
mapno:left-pad-trace-ids

Conversation

@mapno

@mapno mapno commented Feb 17, 2026

Copy link
Copy Markdown
Contributor

What this PR does:

Adds support for left-padding trace IDs with zeros up-to 32 hex characters in search responses to comply with OTel and W3C trace context specifications. This functionality is configured per-tenant by the config param read.left_pad_trace_ids.

tenant-1:
    read:
      left_pad_trace_ids: true

Which issue(s) this PR fixes:
Fixes #5395 and #4723

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
@mapno
mapno merged commit 720fea2 into grafana:main Feb 18, 2026
24 checks passed
@mapno
mapno deleted the left-pad-trace-ids branch February 18, 2026 07:05
mattdurham pushed a commit to mattdurham/tempo that referenced this pull request Jun 18, 2026
* Support per-tenant left-padding of trace IDs

* Update docs

* chlog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants