File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
integrations/dd-sdk-android-okhttp/src/main/kotlin/com/datadog/android/okhttp/trace Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -753,6 +753,7 @@ datadog:
753
753
- " java.util.concurrent.atomic.AtomicReference.compareAndSet(com.datadog.android.api.SdkCore?, com.datadog.android.api.SdkCore?)"
754
754
- " java.util.concurrent.atomic.AtomicReference.compareAndSet(com.datadog.trace.bootstrap.instrumentation.api.AgentTracer.TracerAPI?, com.datadog.trace.bootstrap.instrumentation.api.AgentTracer.TracerAPI?)"
755
755
- " java.util.concurrent.atomic.AtomicReference.compareAndSet(io.opentracing.Tracer?, io.opentracing.Tracer?)"
756
+ - " java.util.concurrent.atomic.AtomicReference.compareAndSet(UNKNOWN, UNKNOWN)"
756
757
- " java.util.concurrent.atomic.AtomicReference.constructor()"
757
758
- " java.util.concurrent.atomic.AtomicReference.constructor(android.app.Application.ActivityLifecycleCallbacks?)"
758
759
- " java.util.concurrent.atomic.AtomicReference.constructor(com.datadog.android.api.SdkCore?)"
@@ -770,6 +771,7 @@ datadog:
770
771
- " java.util.concurrent.atomic.AtomicReference.set(io.opentracing.Tracer?)"
771
772
- " java.util.concurrent.atomic.AtomicReference.set(kotlin.Nothing?)"
772
773
- " java.util.concurrent.atomic.AtomicReference.set(kotlin.String?)"
774
+ - " java.util.concurrent.atomic.AtomicReference.set(UNKNOWN)"
773
775
- " java.util.concurrent.locks.ReadWriteLock.readLock()"
774
776
- " java.util.concurrent.locks.ReadWriteLock.writeLock()"
775
777
- " java.util.concurrent.locks.ReentrantReadWriteLock.constructor()"
Original file line number Diff line number Diff line change @@ -467,14 +467,14 @@ internal constructor(
467
467
val spanId = span.context().spanId.toString()
468
468
requestBuilder.addHeader(
469
469
W3C_TRACEPARENT_KEY ,
470
- @Suppress(" UnsafeThirdPartyFunctionCall" ) // Format string is static
470
+ @Suppress(" UnsafeThirdPartyFunctionCall" , " InvalidStringFormat " ) // Format string is static
471
471
W3C_TRACEPARENT_DROP_SAMPLING_DECISION .format(
472
472
traceId.padStart(length = W3C_TRACE_ID_LENGTH , padChar = ' 0' ),
473
473
spanId.padStart(length = W3C_PARENT_ID_LENGTH , padChar = ' 0' )
474
474
)
475
475
)
476
476
// TODO RUM-2121 3rd party vendor information will be erased
477
- @Suppress(" UnsafeThirdPartyFunctionCall" ) // Format string is static
477
+ @Suppress(" UnsafeThirdPartyFunctionCall" , " InvalidStringFormat " ) // Format string is static
478
478
var traceStateHeader = W3C_TRACESTATE_DROP_SAMPLING_DECISION
479
479
.format(spanId.padStart(length = W3C_PARENT_ID_LENGTH , padChar = ' 0' ))
480
480
if (traceOrigin != null ) {
You can’t perform that action at this time.
0 commit comments