opentelemetry-cpp icon indicating copy to clipboard operation
opentelemetry-cpp copied to clipboard

Support for "random trace id" flag in trace context

Open kalyanaj opened this issue 2 years ago • 5 comments

Is your feature request related to a problem? The issue filed in https://github.com/open-telemetry/opentelemetry-specification/issues/3411 covers the problem/context.

Describe the solution you'd like As discussed in https://github.com/open-telemetry/opentelemetry-specification/issues/3411, the concrete changes here that are relevant for OTel SDKs are:

  • if the trace id is randomly generated, set the random flag
  • propagate the random flag if a traceparent is received

Describe alternatives you've considered N/A

Additional context https://www.w3.org/TR/trace-context-2/ has the full spec. This spec is currently in candidate recommendation status.

CC: @lalitb

kalyanaj avatar Aug 30 '23 20:08 kalyanaj

Thanks for the heads up.

On hold for now, waiting for the spec and proto to be updated:

  • https://github.com/open-telemetry/opentelemetry-specification/issues/3411
  • https://github.com/open-telemetry/opentelemetry-proto/pull/503

marcalff avatar Aug 31 '23 12:08 marcalff

This issue was marked as stale due to lack of activity.

github-actions[bot] avatar Nov 06 '23 01:11 github-actions[bot]

This issue was marked as stale due to lack of activity.

github-actions[bot] avatar Mar 15 '24 02:03 github-actions[bot]