File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
integrations/dd-sdk-android-okhttp/src/main/kotlin/com/datadog/android/okhttp/trace Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -485,14 +485,16 @@ internal constructor(
485
485
val spanId = span.context().spanId.toString()
486
486
requestBuilder.addHeader(
487
487
W3C_TRACEPARENT_KEY ,
488
- @Suppress(" UnsafeThirdPartyFunctionCall" ) // Format string is static
488
+ // TODO RUM-11445 InvalidStringFormat false alarm
489
+ @Suppress(" UnsafeThirdPartyFunctionCall" , " InvalidStringFormat" ) // Format string is static
489
490
W3C_TRACEPARENT_DROP_SAMPLING_DECISION .format(
490
491
traceId.padStart(length = W3C_TRACE_ID_LENGTH , padChar = ' 0' ),
491
492
spanId.padStart(length = W3C_PARENT_ID_LENGTH , padChar = ' 0' )
492
493
)
493
494
)
494
495
// TODO RUM-2121 3rd party vendor information will be erased
495
- @Suppress(" UnsafeThirdPartyFunctionCall" ) // Format string is static
496
+ // TODO RUM-11445 InvalidStringFormat false alarm
497
+ @Suppress(" UnsafeThirdPartyFunctionCall" , " InvalidStringFormat" ) // Format string is static
496
498
var traceStateHeader = W3C_TRACESTATE_DROP_SAMPLING_DECISION
497
499
.format(spanId.padStart(length = W3C_PARENT_ID_LENGTH , padChar = ' 0' ))
498
500
if (traceOrigin != null ) {
You can’t perform that action at this time.
0 commit comments