Skip to content

Conversation

yurishkuro
Copy link
Member

@yurishkuro yurishkuro commented Jun 27, 2025

Related to #1578

The feature (introduced in #6848) is marked stable and will fail on startup if user is still disabling it.

Signed-off-by: Yuri Shkuro <github@ysh.us>
@yurishkuro yurishkuro requested a review from a team as a code owner June 27, 2025 21:31
@yurishkuro yurishkuro added the changelog:breaking-change Change that is breaking public APIs or established behavior label Jun 27, 2025
@yurishkuro yurishkuro requested a review from jkowall June 27, 2025 21:31
Copy link

codecov bot commented Jun 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.19%. Comparing base (461923b) to head (1a325ea).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7267   +/-   ##
=======================================
  Coverage   96.18%   96.19%           
=======================================
  Files         369      369           
  Lines       22187    22187           
=======================================
+ Hits        21341    21342    +1     
  Misses        632      632           
+ Partials      214      213    -1     
Flag Coverage Δ
badger_v1 9.85% <100.00%> (ø)
badger_v2 1.89% <100.00%> (ø)
cassandra-4.x-v1-manual 14.81% <100.00%> (ø)
cassandra-4.x-v2-auto 1.88% <100.00%> (ø)
cassandra-4.x-v2-manual 1.88% <100.00%> (ø)
cassandra-5.x-v1-manual 14.81% <100.00%> (ø)
cassandra-5.x-v2-auto 1.88% <100.00%> (ø)
cassandra-5.x-v2-manual 1.88% <100.00%> (ø)
elasticsearch-6.x-v1 20.78% <100.00%> (ø)
elasticsearch-7.x-v1 20.83% <100.00%> (ø)
elasticsearch-8.x-v1 21.01% <100.00%> (ø)
elasticsearch-8.x-v2 1.89% <100.00%> (ø)
grpc_v1 11.39% <100.00%> (ø)
grpc_v2 1.89% <100.00%> (ø)
kafka-3.x-v1 10.21% <100.00%> (ø)
kafka-3.x-v2 1.89% <100.00%> (ø)
memory_v2 1.89% <100.00%> (ø)
opensearch-1.x-v1 20.88% <100.00%> (ø)
opensearch-2.x-v1 20.88% <100.00%> (ø)
opensearch-2.x-v2 1.89% <100.00%> (ø)
query 1.89% <100.00%> (ø)
tailsampling-processor 0.52% <100.00%> (ø)
unittests 95.04% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

yurishkuro and others added 2 commits June 28, 2025 13:33
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Signed-off-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: Yuri Shkuro <github@ysh.us>
@yurishkuro yurishkuro enabled auto-merge June 28, 2025 16:57
@yurishkuro yurishkuro disabled auto-merge June 28, 2025 17:51
@yurishkuro yurishkuro merged commit 236f106 into jaegertracing:main Jun 28, 2025
60 checks passed
@yurishkuro yurishkuro deleted the disable-legacy-ids-in-es branch June 28, 2025 18:34
@Stono
Copy link

Stono commented Aug 11, 2025

Hey @yurishkuro ; please could you help me with something? We recently bumped from 2.6.0 to 2.9.0 and since doing so have noticed all of our trace id's in elasticsearch are being padded with leading zeros.

The only thing we can see in the change logs related to leading zeros is this (we don't use this option btw).

I can't see any reason from this commit why it would affect the storage of spans too?

For context, we use a 16 digit traceid which is a direct correlation to the rayid we get from cloudflare. Padding it with zeros means we now get:

Screenshot 2025-08-11 at 16 34 38

So ideally it's a behaviour we'd like to disable.

@yurishkuro
Copy link
Member Author

@Stono this is because of the upgrade of ES storage to v2 API where OpenTelemetry data is passed through directly to storage. In v1 storage the data was passing through legacy Jaeger data model where TraceID type would return lower 64-bit only hex string if the upper 64-bits were all zeros. In the OTEL data model all 32bit of trace ID are always used.

✨ New Features in v2.8.0:

  • [v2] switch memory backend to storage api v2 implementation (@Manik2708 in #7157)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:breaking-change Change that is breaking public APIs or established behavior storage/elasticsearch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants