Expose trace as api dependency in okhttp module#3366
Merged
kikoveiga merged 2 commits intoApr 15, 2026
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3366 +/- ##
===========================================
+ Coverage 71.81% 71.83% +0.02%
===========================================
Files 948 948
Lines 34952 34952
Branches 5804 5804
===========================================
+ Hits 25100 25106 +6
+ Misses 8257 8248 -9
- Partials 1595 1598 +3 🚀 New features to boost your workflow:
|
Member
|
We have one more problem of that kind: it is declared here I'm wondering if we can move it to the @satween wdyt? |
Contributor
We discussed with @0xnm in person, and it's seems like the best solution for now is the following:
|
3e9c425 to
e9f1a7a
Compare
Contributor
Author
satween
approved these changes
Apr 15, 2026
0xnm
approved these changes
Apr 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Exposes
dd-sdk-android-traceas anapidependency ofdd-sdk-android-okhttp, fixing the following Kotlin compiler warning in consumer modules that don't independently depend ondd-sdk-android-trace(namelydd-sdk android-glideandsample/tv):The warning is triggered when calling
TracingInterceptor.BaseBuilder#setTraceSampler(Sampler<DatadogSpan>), sinceDatadogSpan(fromtrace-api) was only reachable transitively throughimplementation(dd-sdk-android-trace), which Gradle hides from consumers' compile classpath.Review checklist (to be filled by reviewers)