Skip to content

[RUM-9899]: TracingInterceptor migration #2708

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 188 commits into
base: feature/v3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
188 commits
Select commit Hold shift + click to select a range
8966175
RUM-9899: replacing Tracer with CoreTracer
satween May 18, 2025
584bd4b
RUM-9899: replacing GlobalTracer with lambda
satween May 18, 2025
6644ca7
RUM-9899: adding typealiases
satween May 19, 2025
e7616c8
RUM-9899: migrating Tags
satween May 19, 2025
3a1cb88
RUM-9899: removing opentracing from sampling decision
satween May 19, 2025
91a10c5
RUM-9899: replacing Span with AgentSpan
satween May 19, 2025
53a2b71
RUM-9899: small refactor to get rid of IDE notices
satween May 19, 2025
d4fed89
RUM-9899: correct? way to set sampling priority. At
satween May 19, 2025
82e3546
RUM-9899: removing duplicating code introduced by incorrect conflicts…
satween May 19, 2025
94a71a6
RUM-9899: this changes should be correct according to opentracing's e…
satween May 19, 2025
5ad62a5
RUM-9899: applying imports
satween May 19, 2025
5eef88d
RUM-9899: adjusting `sample` extension method
satween May 19, 2025
451381e
RUM-9899: According to RFC specification there is no will to open Cor…
satween May 19, 2025
6b0bc97
RUM-9899: Removing tracer object dependency from sample decision meth…
satween May 19, 2025
56ecc7b
RUM-9899: Adjusting DatadogInterceptor
satween May 19, 2025
bb6f968
RUM-9899: Removing GlobalTracer import
satween May 19, 2025
39e3b8c
RUM-9899: Supporting origin
satween May 19, 2025
ee2dede
RUM-9899: Fix migration issues
satween May 23, 2025
de98d6e
RUM-9899: Getting rid from TraceContext.kt
satween May 23, 2025
846376e
RUM-9899: Refactor extract method
satween May 23, 2025
12abba1
RUM-9899: refactor inject
satween May 23, 2025
6b4d78b
RUM-9899: refactor TraceContext.kt
satween May 23, 2025
653f34c
RUM-9899: fix test compilation
satween May 23, 2025
1800914
RUM-9899: fix test compilation
satween May 26, 2025
6f13dfc
RUM-9899: fix test compilation
satween May 26, 2025
ea41866
RUM-9899: fix test compilation
satween May 26, 2025
2b41413
RUM-9899: fix test compilation(270 fallen)
satween May 26, 2025
dc1c1aa
RUM-9899: fix test compilation(241 fallen)
satween May 26, 2025
d475a7c
RUM-9899: fix test compilation(241 fallen)
satween May 26, 2025
08dad9c
RUM-9899: fix test compilation(223 fallen)
satween May 27, 2025
a42d77e
RUM-9899: fix test compilation(212 fallen)
satween May 27, 2025
1e5dff3
RUM-9899: fix test compilation(199 fallen)
satween May 27, 2025
6a74a0d
RUM-9899: fix test compilation(188 fallen)
satween May 27, 2025
ba9b2d3
RUM-9899: fix test compilation(187 fallen)
satween May 27, 2025
2f08a99
RUM-9899: fix test compilation(183 fallen)
satween May 27, 2025
05850c4
RUM-9899: fix test compilation(182 fallen)
satween May 27, 2025
65494c0
RUM-9899: fix test compilation(180 fallen)
satween May 27, 2025
a4de136
RUM-9899: fix test compilation(180 fallen)
satween May 28, 2025
02d3373
RUM-9899: fix test compilation(121 fallen)
satween May 28, 2025
2b571a4
RUM-9899: fix test compilation(112 fallen)
satween May 28, 2025
19f1fb6
RUM-9899: fix test compilation(100 fallen)
satween May 28, 2025
2696201
RUM-9899: fix test compilation(96 fallen)
satween May 28, 2025
d68343c
RUM-9899: fix test compilation(80 fallen)
satween May 29, 2025
f80f77a
RUM-9899: fix test compilation(48 fallen)
satween May 29, 2025
04616e6
RUM-9899: fix test compilation(30 fallen): removing drop methods
satween May 30, 2025
f449f12
RUM-9899: fix test compilation(27 fallen)
satween May 30, 2025
cab850a
RUM-9899: fix test compilation(25 fallen)
satween May 30, 2025
63f3da4
RUM-9899: fix test compilation(24 fallen)
satween May 30, 2025
d200cf6
RUM-9899: fix test compilation(23 fallen)
satween May 30, 2025
2218ea7
RUM-9899: fix test compilation(20 fallen)
satween May 30, 2025
72cd156
RUM-9899: fix test compilation(12 fallen)
satween May 30, 2025
b53b729
RUM-9899: fix test compilation(10 fallen)
satween May 30, 2025
4a083ed
RUM-9899: fix test compilation(9 fallen)
satween May 30, 2025
b390ae4
RUM-9899: fix test compilation(1 fallen)
satween May 30, 2025
96a96e8
RUM-9899: fix test compilation - avoiding legacy code usage checks fo…
satween Jun 3, 2025
1c25e63
Revert "RUM-9899: fix test compilation(30 fallen): removing drop meth…
satween Jun 4, 2025
14f0a36
RUM-9899: fix test compilation reverting and fixing TODOs
satween Jun 5, 2025
8ade42c
RUM-9899: fix detekt
satween Jun 5, 2025
37c5474
RUM-9899: fix configuration
satween Jun 5, 2025
c01a33f
RUM-9899: fix configuration
satween Jun 6, 2025
843cab9
RUM-9899: fix api surface
satween Jun 6, 2025
8706d47
RUM-9899: PR comments
satween Jun 6, 2025
4e19a4b
RUM-9899: Removing seeds
satween Jun 6, 2025
dfb2090
RUM-9899: fixing detekt
satween Jun 6, 2025
a946332
RUM-9899: fix tag extractor + tracer interceptor
satween Jun 16, 2025
7000ca1
RUM-9899: fix otel provider
satween Jun 16, 2025
bed5b6d
RUM-9899: fix sampling rate logic
satween Jun 17, 2025
56b6ce3
RUM-9899: fix wrong resource names
satween Jun 20, 2025
5d68d40
RUM-9899: Getting rid from migration abstractions
satween Jun 23, 2025
fa85d08
RUM-9899: fix merging issues
satween Jun 23, 2025
298cb6a
RUM-9899: adding missing tests for new methods
satween Jun 23, 2025
6e91cd8
RUM-9899: migrating new test to new api
satween Jun 23, 2025
40edb7a
RUM-9899: getting rid from deprecated & unused code
satween Jun 23, 2025
ea47b26
RUM-9899: getting rid from deprecated & unused code (PropagationStyle)
satween Jun 23, 2025
0a4da3e
RUM-9899: getting rid from deprecated & unused code (Config)
satween Jun 23, 2025
eb49ce0
RUM-9899: getting rid from deprecated & unused code (Tracer.java)
satween Jun 23, 2025
cba02e5
RUM-9899: getting rid from deprecated & unused code (ScopeState & Sco…
satween Jun 23, 2025
90edcf0
RUM-99899 - merge develop
satween Jul 1, 2025
f321a27
RUM-9902: adding trace-api module
satween Jun 23, 2025
746da19
RUM-9902: decoupling internal from traces
satween Jun 23, 2025
58c49de
RUM-9902: decoupling internal from traces
satween Jun 24, 2025
938b955
RUM-9902: decoupling internal from traces (200 tests fallen)
satween Jun 25, 2025
21b7725
RUM-9902: decoupling internal from traces (103 tests fallen)
satween Jun 25, 2025
9f51ce6
RUM-9902: decoupling internal from traces (31 tests fallen)
satween Jun 25, 2025
0dc0e50
RUM-9902: decoupling internal from traces (24 tests fallen)
satween Jun 25, 2025
c52be2e
RUM-9902: decoupling internal from traces (10 tests fallen)
satween Jun 25, 2025
c871e3c
RUM-9902: decoupling internal from traces (3 tests fallen)
satween Jun 25, 2025
7784279
RUM-9902: decoupling internal from traces (0 tests fallen)
satween Jun 25, 2025
cf17a7e
RUM-9902: decoupling internal from traces (broken integration tests)
satween Jun 25, 2025
e6ffb7e
RUM-9902: decoupling internal from traces
satween Jun 26, 2025
3c17fcd
RUM-9902: decoupling internal from traces
satween Jun 27, 2025
7a19401
RUM-9902: decoupling internal from traces
satween Jun 27, 2025
f868faf
RUM-9902: decoupling internal from traces - removing opentracing depe…
satween Jun 27, 2025
cc1bb6f
RUM-9902: decoupling internal from traces - NoOp support for tracer
satween Jun 27, 2025
e4bd878
RUM-9902: decoupling internal from traces - Fix tests
satween Jun 27, 2025
fae98f1
RUM-9902: decoupling internal from traces - Initialization in wear
satween Jun 28, 2025
38004ca
RUM-9902: decoupling internal from traces - fix logs. fail by warn an…
satween Jun 29, 2025
d9cc377
RUM-9902: decoupling internal from traces - getting rid from Adroid t…
satween Jun 29, 2025
21bf74d
RUM-9902: decoupling internal from traces - reverting OtelTracerBuild…
satween Jun 30, 2025
a469f18
RUM-9902: decoupling internal from traces - revert deprecation suppre…
satween Jun 30, 2025
5442e67
RUM-9902: decoupling internal from traces - revert deprecation suppre…
satween Jun 30, 2025
167958b
RUM-9902: decoupling internal from traces - fix tests
satween Jun 30, 2025
0a0008d
RUM-9902: decoupling internal from traces - fix tests
satween Jun 30, 2025
4989958
RUM-9902: decoupling internal from traces - fix tests
satween Jun 30, 2025
6c7f4c0
RUM-9902: decoupling internal from traces - fix detekt
satween Jul 1, 2025
7a34fcf
RUM-9902: pre-review fixes - removing dependency to -trace-internal lib
satween Jul 1, 2025
8932e2e
RUM-9902: pre-review fixes - reducing changes amount
satween Jul 1, 2025
dbf3c1b
RUM-9902: pre-review fixes - reducing changes amount
satween Jul 1, 2025
1d3a5c1
RUM-9902: pre-review fixes - reducing changes amount
satween Jul 1, 2025
d817bd9
RUM-9902: pre-review fixes - reducing changes amount
satween Jul 1, 2025
924200c
RUM-9902: pre-review fixes - reducing changes amount
satween Jul 1, 2025
ced295d
RUM-9902 - merge develop
satween Jul 1, 2025
175b6c3
RUM-9902 - merge develop
satween Jul 1, 2025
f292998
RUM-9902 - fix transitiveDependencies
satween Jul 2, 2025
a01a47e
RUM-9902 - support volatile
satween Jul 2, 2025
53773ab
RUM-9902 - fix tests
satween Jul 4, 2025
c46534b
RUM-9902 - fix tests
satween Jul 4, 2025
4cfff41
RUM-9902 - fix tests, getting rid from TraceContext
satween Jul 4, 2025
866ae6a
RUM-9902 - fix tests, getting rid from TraceContext
satween Jul 6, 2025
bead63f
RUM-9902 - getting rid from tracer context
satween Jul 6, 2025
754c31e
RUM-9902 - getting rid from properties in OtelTracerProviderBuilder
satween Jul 6, 2025
2ce06de
RUM-9902 - changing values in tests: DATADOG_SAMPLING_PRIORITY_HEADE…
satween Jul 6, 2025
8e2fd03
RUM-9902 - changing values in tests: changing order of event written…
satween Jul 6, 2025
37d682b
RUM-9902 - moving tests from OtelTracerBuilderProviderTest into Datad…
satween Jul 6, 2025
8cfdb29
Apply suggestions from code review
satween Jul 6, 2025
7843884
RUM-9902 - pos-review fixes: adding more details for module description
satween Jul 6, 2025
49c0e78
Merge remote-tracking branch 'origin/tvaleev/feature/RUM-9902-removin…
satween Jul 6, 2025
aef58c8
RUM-9902 - pos-review fixes: removing unnecessary packages
satween Jul 6, 2025
b73f98d
RUM-9902 - pos-review fixes
satween Jul 6, 2025
3d92013
RUM-10719 - removing opentracing from dd-sdk-android-trace-internal m…
satween Jul 6, 2025
44152f6
RUM-10719 - removing opentracing from dd-sdk-android-trace module
satween Jul 6, 2025
61b6801
RUM-10719 - removing opentracing from dd-sdk-android-rum module
satween Jul 6, 2025
d826a59
RUM-10719 - removing opentracing from dd-sdk-android-reliability-sing…
satween Jul 6, 2025
b590f43
RUM-10719 - removing opentracing from instrumented-integration module
satween Jul 7, 2025
b42ddba
RUM-10719 - fix tests
satween Jul 7, 2025
f636cec
RUM-10719 - fix static analysis
satween Jul 7, 2025
c82c895
RUM-10719 - restoring removed test
satween Jul 7, 2025
90161a5
RUM-10719 - restoring removed test
satween Jul 7, 2025
b0d1c4d
RUM-10719 - fix ktlint
satween Jul 7, 2025
ae60e76
RUM-10719 - fix detekt
satween Jul 7, 2025
dfa46e4
RUM-10719 - getting rid from legacy package
satween Jul 7, 2025
42b9acb
RUM-10719 - fix test
satween Jul 7, 2025
d1bcea1
RUM-10719 - fix test
satween Jul 7, 2025
bc3d3ae
RUM-10719 - rolling back StubFeatureScope to avoid OOMs
satween Jul 8, 2025
3ac2619
Merge pull request #2783 from DataDog/tvaleev/feature/RUM-10719-remov…
satween Jul 8, 2025
b64e90b
RUM-9902 - simplifying api, getting rid from wrapper classes
satween Jul 9, 2025
b13b486
RUM-9902 - simplifying api
satween Jul 9, 2025
291687f
RUM-9902 - simplifying api
satween Jul 9, 2025
bee3881
RUM-9902: post review fixes
satween Jul 9, 2025
b9a4339
RUM-9902: post review fixes
satween Jul 11, 2025
5a1a295
RUM-9902: post review fixes
satween Jul 11, 2025
5a0abc0
RUM-9902: post review fixes
satween Jul 14, 2025
9169ab2
RUM-9903 - upgrading opentelemtry version, removing separate benchmar…
satween Jul 10, 2025
0861b23
Merge pull request #2786 from DataDog/tvaleev/feature/RUM-9903
satween Jul 14, 2025
c9961a4
RUM-9902: post review fixes
satween Jul 14, 2025
a90662e
Revert "RUM-9902 - fix tests, getting rid from TraceContext"
satween Jul 16, 2025
ae3f76a
RUM-9902 - post review fixes
satween Jul 16, 2025
cb5cf60
RUM-9902 - post review fixes
satween Jul 16, 2025
a9df8cb
Apply suggestions from code review
satween Jul 16, 2025
eef6d56
Apply suggestions from code review
satween Jul 16, 2025
f124439
RUM-9902 - post review fixes
satween Jul 16, 2025
248e303
RUM-9902 - post review fixes
satween Jul 16, 2025
a14a9e5
RUM-9902 - post review fixes
satween Jul 16, 2025
e1aea6b
Merge remote-tracking branch 'origin/tvaleev/feature/RUM-9902-removin…
satween Jul 16, 2025
9d33675
Update integrations/dd-sdk-android-okhttp/src/main/kotlin/com/datadog…
satween Jul 16, 2025
f1b155a
RUM-9902 - post review fixes
satween Jul 16, 2025
63cd7a6
Merge remote-tracking branch 'origin/tvaleev/feature/RUM-9902-removin…
satween Jul 16, 2025
d475363
RUM-9902 - post review fixes
satween Jul 18, 2025
99a684b
Merge pull request #2773 from DataDog/tvaleev/feature/RUM-9902-removi…
satween Jul 18, 2025
8df9c50
Merge branch 'feature/v3' into tvaleev/feature/RUM-9899_2
satween Jul 22, 2025
86fdc4f
RUM-9899: temporary disabling test
satween Jul 22, 2025
cf06c5d
RUM-9899: removing opentracing detekt rules
satween Jul 23, 2025
e60b523
Merge develop
satween Jul 23, 2025
d3b7887
Merge remote-tracking branch 'origin/feature/v3' into tvaleev/feature…
satween Jul 28, 2025
a281887
RUM-9899: Merge v3
satween Jul 28, 2025
f4aa2d4
RUM-9899: Merge v3
satween Jul 28, 2025
c083fdf
RUM-9899: Fix remaining issues
satween Jul 28, 2025
c77b62b
Merge remote-tracking branch 'origin/feature/v3' into tvaleev/feature…
satween Jul 29, 2025
cf83a82
RUM-9899: Fix remaining issues
satween Jul 29, 2025
1d75dcf
RUM-9899: Fix sample app tracing configuration
satween Aug 5, 2025
98c606c
RUM-9899: Adding special button to for sending manual span
satween Aug 5, 2025
ab0e5af
RUM-9899: Ignore sample priority in metrics in case if not set
satween Aug 1, 2025
6d8d5b6
RUM-9899: Condition for partial flush now same as in AndroidTracer
satween Aug 1, 2025
b39beea
RUM-9899: Making Sampler backward compatible with AndroidTracer
satween Aug 1, 2025
d6bebdd
RUM-9899: Reverting tracing and logging schema - moving device and os…
satween Aug 5, 2025
3a1eb9a
RUM-9899: Fix flaky tests
satween Aug 7, 2025
c32340a
RUM-9899: Fix root span removal
satween Aug 8, 2025
d05eaa2
RUM-9899: fix apiSurface
satween Aug 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 17 additions & 0 deletions ci/pipelines/default-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,23 @@ publish:release-internal:
- dd-sdk-android-internal/verification-metadata.xml

# region Publish features/*
publish:release-trace-api:
tags: [ "arch:amd64" ]
only:
- tags
- develop
image: $CI_IMAGE_DOCKER
stage: publish
timeout: 30m
script:
- !reference [.snippets, set-publishing-credentials]
- ./gradlew :features:dd-sdk-android-trace-api:publishToSonatype closeSonatypeStagingRepository --stacktrace --no-daemon
artifacts:
when: on_success
expire_in: 7 days
paths:
- features/dd-sdk-android-trace-api/verification-metadata.xml


publish:release-trace-internal:
tags: [ "arch:amd64" ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ internal class DatadogContextProvider(
private val coreFeature: CoreFeature,
private val featureContextProvider: FeatureContextProvider
) : ContextProvider {
@Suppress("LongMethod")
override fun getContext(withFeatureContexts: Set<String>): DatadogContext {
// IMPORTANT All properties should be immutable and be frozen at the state
// of the context construction moment
Expand Down Expand Up @@ -57,12 +58,13 @@ internal class DatadogContextProvider(
architecture = architecture,
numberOfDisplays = numberOfDisplays,
localeInfo = with(coreFeature.androidInfoProvider) {
LocaleInfo(
locales = locales,
currentLocale = currentLocale,
timeZone = timeZone
)
})
LocaleInfo(
locales = locales,
currentLocale = currentLocale,
timeZone = timeZone
)
}
)
},
userInfo = coreFeature.userInfoProvider.getUserInfo(),
accountInfo = coreFeature.accountInfoProvider.getAccountInfo(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ internal class NoOpContextProvider : ContextProvider {
architecture = "",
numberOfDisplays = null,
localeInfo = LocaleInfo(
locales = emptyList(),
currentLocale = "",
timeZone = ""
)
locales = emptyList(),
currentLocale = "",
timeZone = ""
)
),
userInfo = UserInfo(null, null, null, null, emptyMap()),
accountInfo = null,
Expand Down
44 changes: 12 additions & 32 deletions detekt_custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,6 @@ datadog:
- "okhttp3.Request.Builder.url(kotlin.String):java.lang.NullPointerException,java.lang.IllegalArgumentException"
- "okhttp3.Request.Builder.post(okhttp3.RequestBody):java.lang.NullPointerException,java.lang.IllegalArgumentException"
- "okhttp3.Request.Builder.method(kotlin.String, okhttp3.RequestBody?):java.lang.NullPointerException,java.lang.IllegalArgumentException"
- "okhttp3.Request.Builder.tag(java.lang.Class, io.opentracing.Span?):java.lang.NullPointerException"
- "okhttp3.Request.Builder.tag(java.lang.Class, com.datadog.android.okhttp.TraceContext?):java.lang.ClassCastException"
- "okhttp3.Request.Builder.url(kotlin.String):java.lang.NullPointerException,java.lang.IllegalArgumentException"
- "okhttp3.Interceptor.Chain.proceed(okhttp3.Request):java.io.IOException"
Expand All @@ -339,9 +338,6 @@ datadog:
- "org.json.JSONArray.get(kotlin.Int):org.json.JSONException"
- "org.json.JSONObject.get(kotlin.String):org.json.JSONException"
# endregion
# region OpenTracing
- "io.opentracing.Scope.close():java.io.IOException"
# endregion
# region Gson
- "com.google.gson.JsonParser.parseString(kotlin.String?):com.google.gson.JsonParseException"
# endregion
Expand Down Expand Up @@ -759,8 +755,11 @@ datadog:
- "java.util.concurrent.atomic.AtomicLong.constructor(kotlin.Long)"
- "java.util.concurrent.atomic.AtomicLong.get()"
- "java.util.concurrent.atomic.AtomicLong.set(kotlin.Long)"
- "java.util.concurrent.atomic.AtomicReference.compareAndSet(com.datadog.trace.core.CoreTracer?, com.datadog.trace.core.CoreTracer?)"
- "java.util.concurrent.atomic.AtomicReference.compareAndSet(com.datadog.android.api.SdkCore?, com.datadog.android.api.SdkCore?)"
- "java.util.concurrent.atomic.AtomicReference.compareAndSet(io.opentracing.Tracer?, io.opentracing.Tracer?)"
- "java.util.concurrent.atomic.AtomicReference.compareAndSet(com.datadog.trace.bootstrap.instrumentation.api.AgentTracer.TracerAPI?, com.datadog.trace.bootstrap.instrumentation.api.AgentTracer.TracerAPI?)"
- "java.util.concurrent.atomic.AtomicReference.compareAndSet(com.datadog.android.trace.api.tracer.DatadogTracer?, com.datadog.android.trace.api.tracer.DatadogTracer?)"
- "java.util.concurrent.atomic.AtomicReference.compareAndSet(UNKNOWN, UNKNOWN)"
- "java.util.concurrent.atomic.AtomicReference.constructor()"
- "java.util.concurrent.atomic.AtomicReference.constructor(android.app.Application.ActivityLifecycleCallbacks?)"
- "java.util.concurrent.atomic.AtomicReference.constructor(com.datadog.android.api.SdkCore?)"
Expand All @@ -773,9 +772,12 @@ datadog:
- "java.util.concurrent.atomic.AtomicReference.set(com.datadog.android.api.SdkCore?)"
- "java.util.concurrent.atomic.AtomicReference.set(com.datadog.android.api.feature.FeatureEventReceiver?)"
- "java.util.concurrent.atomic.AtomicReference.set(com.datadog.android.rum.internal.domain.RumContext?)"
- "java.util.concurrent.atomic.AtomicReference.set(io.opentracing.Tracer?)"
- "java.util.concurrent.atomic.AtomicReference.set(com.datadog.android.trace.api.tracer.DatadogTracer?)"
- "java.util.concurrent.atomic.AtomicReference.set(com.datadog.trace.bootstrap.instrumentation.api.AgentTracer.TracerAPI?)"
- "java.util.concurrent.atomic.AtomicReference.set(com.datadog.trace.core.CoreTracer?)"
- "java.util.concurrent.atomic.AtomicReference.set(kotlin.Nothing?)"
- "java.util.concurrent.atomic.AtomicReference.set(kotlin.String?)"
- "java.util.concurrent.atomic.AtomicReference.set(UNKNOWN)"
- "java.util.concurrent.locks.ReadWriteLock.readLock()"
- "java.util.concurrent.locks.ReadWriteLock.writeLock()"
- "java.util.concurrent.locks.ReentrantReadWriteLock.constructor()"
Expand Down Expand Up @@ -853,6 +855,7 @@ datadog:
- "java.util.Locale.getDefault()"
- "java.util.Locale.toLanguageTag()"
- "java.util.Properties.constructor()"
- "java.util.Properties.contains(kotlin.Any?)"
- "java.util.Properties.setProperty(kotlin.String?, kotlin.String?)"
- "java.util.TimeZone.getDefault()"
- "java.util.UUID.constructor(kotlin.Long, kotlin.Long)"
Expand Down Expand Up @@ -996,6 +999,7 @@ datadog:
- "kotlin.collections.Map.forEach(kotlin.Function1)"
- "kotlin.collections.Map.forEach(kotlin.Function1)" # one of our usage is with <*, *> which doesn't get captured
- "kotlin.collections.Map.get(kotlin.String)"
- "kotlin.collections.Map.get(kotlin.String?)"
- "kotlin.collections.Map.isEmpty()"
- "kotlin.collections.Map.isNotEmpty()"
- "kotlin.collections.Map.isNullOrEmpty()"
Expand Down Expand Up @@ -1086,6 +1090,7 @@ datadog:
- "kotlin.collections.MutableMap.isEmpty()"
- "kotlin.collections.MutableMap.isNotEmpty()"
- "kotlin.collections.MutableMap.iterator()"
- "kotlin.collections.MutableMap.orEmpty()"
- "kotlin.collections.MutableMap.map(kotlin.Function1)"
- "kotlin.collections.MutableMap.mapValues(kotlin.Function1)"
- "kotlin.collections.MutableMap.put(kotlin.Any?, kotlin.Any?)"
Expand Down Expand Up @@ -1365,7 +1370,6 @@ datadog:
# region Kotlin Coroutines
- "kotlinx.coroutines.CoroutineScope.async(kotlin.coroutines.CoroutineContext, kotlinx.coroutines.CoroutineStart, kotlin.coroutines.SuspendFunction1)"
- "kotlinx.coroutines.CoroutineScope.launch(kotlin.coroutines.CoroutineContext, kotlinx.coroutines.CoroutineStart, kotlin.coroutines.SuspendFunction1)"
- "kotlinx.coroutines.CoroutineScope.withinCoroutineSpan(kotlin.String, io.opentracing.Span?, kotlin.coroutines.CoroutineContext, kotlin.coroutines.SuspendFunction1)"
- "kotlinx.coroutines.flow.FlowCollector.emit(kotlin.Any?)"
- "kotlinx.coroutines.flow.FlowCollector(kotlin.coroutines.SuspendFunction1)"
- "kotlinx.coroutines.flow.flow(kotlin.coroutines.SuspendFunction1)"
Expand Down Expand Up @@ -1420,7 +1424,6 @@ datadog:
- "okhttp3.Request.Builder.addHeader(kotlin.String, kotlin.String)"
- "okhttp3.Request.Builder.header(kotlin.String, kotlin.String)"
- "okhttp3.Request.Builder.removeHeader(kotlin.String)"
- "okhttp3.Request.Builder.tag(java.lang.Class, io.opentracing.Span?)"
- "okhttp3.Request.body()"
- "okhttp3.Request.header(kotlin.String)"
- "okhttp3.Request.headers()"
Expand All @@ -1443,36 +1446,13 @@ datadog:
- "org.json.JSONObject.keys()"
- "org.json.JSONObject.toJsonObject()"
# endregion
# region OpenTracing
- "io.opentracing.Span.context()"
- "io.opentracing.Span.finish()"
- "io.opentracing.Span.log(kotlin.collections.MutableMap?)"
- "io.opentracing.Span.setError(kotlin.Throwable)"
- "io.opentracing.Span.setTag(kotlin.String?, kotlin.Number?)"
- "io.opentracing.Span.setTag(kotlin.String?, kotlin.String?)"
- "io.opentracing.Span.setTag(io.opentracing.tag.Tag?, com.datadog.android.internal.concurrent.CompletableFuture?)"
- "io.opentracing.Span.setTag(io.opentracing.tag.Tag?, kotlin.String?)"
- "io.opentracing.SpanContext.toSpanId()"
- "io.opentracing.SpanContext.toTraceId()"
- "io.opentracing.Tracer.SpanBuilder.asChildOf(io.opentracing.Span?)"
- "io.opentracing.Tracer.SpanBuilder.asChildOf(io.opentracing.SpanContext?)"
- "io.opentracing.Tracer.SpanBuilder.start()"
- "io.opentracing.Tracer.activateSpan(io.opentracing.Span?)"
- "io.opentracing.Tracer.activeSpan()"
- "io.opentracing.Tracer.buildSpan(kotlin.String?)"
- "io.opentracing.Tracer.extract(io.opentracing.propagation.Format?, io.opentracing.propagation.TextMapExtract?)"
- "io.opentracing.Tracer.inject(io.opentracing.SpanContext?, io.opentracing.propagation.Format?, io.opentracing.propagation.TextMapInject?)"
- "io.opentracing.propagation.TextMapExtractAdapter.constructor(kotlin.collections.MutableMap?)"
- "io.opentracing.propagation.TextMapInject(kotlin.Function2)"
- "io.opentracing.util.GlobalTracer.get()"
- "io.opentracing.util.GlobalTracer.isRegistered()"
# endregion
# region Opentelemetry
- "io.opentelemetry.api.trace.Span.getInvalid()"
- "io.opentelemetry.api.trace.TracerBuilder.build()"
- "io.opentelemetry.api.trace.SpanBuilder.setAttribute(kotlin.String?, kotlin.String?)"
- "io.opentelemetry.api.trace.TracerBuilder.setInstrumentationVersion(kotlin.String?)"
- "io.opentelemetry.api.trace.TracerProvider.noop()"
- "io.opentelemetry.context.propagation.ContextPropagators.noop()"
- "io.opentelemetry.context.Context.get(io.opentelemetry.context.ContextKey?)"
- "io.opentelemetry.context.Context.makeCurrent()"
- "io.opentelemetry.context.Context.root()"
Expand Down
20 changes: 16 additions & 4 deletions features/dd-sdk-android-logs/api/apiSurface
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ data class com.datadog.android.log.LogsConfiguration
fun setEventMapper(com.datadog.android.event.EventMapper<com.datadog.android.log.model.LogEvent>): Builder
fun build(): LogsConfiguration
data class com.datadog.android.log.model.LogEvent
constructor(Device, Os, Status, kotlin.String, kotlin.String, kotlin.String, Logger, Usr? = null, Account? = null, Network? = null, Error? = null, kotlin.String? = null, kotlin.String, kotlin.collections.MutableMap<kotlin.String, kotlin.Any?> = mutableMapOf())
constructor(LogEventDevice, Os, Status, kotlin.String, kotlin.String, kotlin.String, Logger, Dd, Usr? = null, Account? = null, Network? = null, Error? = null, kotlin.String? = null, kotlin.String, kotlin.collections.MutableMap<kotlin.String, kotlin.Any?> = mutableMapOf())
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): LogEvent
fun fromJsonObject(com.google.gson.JsonObject): LogEvent
data class Device
data class LogEventDevice
constructor(Type? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.collections.List<kotlin.String>? = null, kotlin.String? = null, kotlin.Number? = null, kotlin.Boolean? = null, kotlin.Number? = null)
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Device
fun fromJsonObject(com.google.gson.JsonObject): Device
fun fromJson(kotlin.String): LogEventDevice
fun fromJsonObject(com.google.gson.JsonObject): LogEventDevice
data class Os
constructor(kotlin.String, kotlin.String, kotlin.String? = null, kotlin.String)
fun toJson(): com.google.gson.JsonElement
Expand All @@ -58,6 +58,12 @@ data class com.datadog.android.log.model.LogEvent
companion object
fun fromJson(kotlin.String): Logger
fun fromJsonObject(com.google.gson.JsonObject): Logger
data class Dd
constructor(DdDevice)
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Dd
fun fromJsonObject(com.google.gson.JsonObject): Dd
data class Usr
constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.collections.MutableMap<kotlin.String, kotlin.Any?> = mutableMapOf())
fun toJson(): com.google.gson.JsonElement
Expand All @@ -82,6 +88,12 @@ data class com.datadog.android.log.model.LogEvent
companion object
fun fromJson(kotlin.String): Error
fun fromJsonObject(com.google.gson.JsonObject): Error
data class DdDevice
constructor(kotlin.String)
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): DdDevice
fun fromJsonObject(com.google.gson.JsonObject): DdDevice
data class Client
constructor(SimCarrier? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String)
fun toJson(): com.google.gson.JsonElement
Expand Down
Loading
Loading