We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 12724d3 + f1a299c commit 3a684f0Copy full SHA for 3a684f0
reliability/single-fit/okhttp/src/test/kotlin/com/datadog/android/okhttp/HeadBasedSamplingTest.kt
@@ -470,7 +470,8 @@ class HeadBasedSamplingTest {
470
)
471
hasMostSignificant64BitsTraceId(mostSignificantTraceId)
472
hasSpanId(spanId.toLong().toHexString())
473
- hasParentId(localSpanId)
+ // OpenTelemetry Span IDs are always padded with 0
474
+ hasParentId(localSpanId.dropWhile { it == '0' })
475
hasVersion(stubSdkCore.getDatadogContext().version)
476
hasSource(stubSdkCore.getDatadogContext().source)
477
hasTracerVersion(stubSdkCore.getDatadogContext().sdkVersion)
0 commit comments