Open StephanErb opened 1 year ago
@StephanErb thanks for opening this! This has been on my mind, but hadn't gotten around to opening the issue yet.
This is partially done. The main missing part your first point about the client libraries populating both tracestate
keys. I think it would also be useful to have OTel Sampler implementations that produce/handle both tracestate
keys.
Elastic APM Server should use the OpenTelemetry tracestate header to estimate the full throughput metrics if available.
FYI this was implemented in v8.8.0: https://github.com/elastic/apm-server/pull/10309. Seems to be missing from the release notes.
From the Elastic documentation:
This is by now outdated as OpenTelmetry has
tracestate
support, even though in a slightly different form than Elastic:Asks
tracestate
header. This will ensure consistent tracing if microservices with either Elastic or OpenTelemetry instrumentation are in the same call chain.tracestate
header to estimate the full throughput metrics if available.Context