Comparing v0.2.1...v0.2.2 · DataDog/dd-trace-cpp
Commits on Jun 20, 2024
-
fix: regression in sampling delegation handling (#133)
This fixes a regression introduced by Sampling Delegation (#59). When the sampling delegation header is present during the trace context extraction, the sampling priority is discarded even if the feature is disabled. This change of behaviour can potentially result in an increase of ingested spans. Additionally, the tracer should behave as before the introduction of this feature when it is not enabled. Changes: - Sampling priority is not longer discard when`x-datadog-delegate-trace-sampling` is present. - Update sampling delegation tests.