Comments (3)
Hi @lwasyl and thanks for this question.
This is not a bug, but mostly a side effect of using the com.datadoghq:dd-sdk-android-okhttp
dependency, which provides OkHttp integration for both RUM and Trace features.
The DdRumContentProvider
is mostly a no-op provider that simply measures the timestamp and reason for the. process startup. It's then used by RUM features, but you can safely remove it from your build if you need to.
from dd-sdk-android.
Thank you, it wasn't clear to me that okhttp
is a common artifact that bundles integration related to okhttp for all features 👍
In that case I might suggest to expose the RUM dependency as api
in the okhttp
, since right now removing the attribute is tricky as IDE doesn't see RUM classes. However I see that RUM classes are part of public API of e.g. DatadogInterceptor
so exposing them would make sense overall.
Would you consider separating artifacts for okhttp-tracing and okhttp-rum integrations separately? TracingInterceptor
doesn't seem to depend on RUM by itself
from dd-sdk-android.
In that case I might suggest to expose the RUM dependency as api in the okhttp, since right now removing the attribute is tricky as IDE doesn't see RUM classes. However I see that RUM classes are part of public API of e.g. DatadogInterceptor so exposing them would make sense overall.
That's a good point, I'll add it to our backlog indeed
Would you consider separating artifacts for okhttp-tracing and okhttp-rum integrations separately? TracingInterceptor doesn't seem to depend on RUM by itself
That's another solution, which goes in a direction that we think is too verbose, especially since the RumInterceptor relis on the TracingInterceptor, so those two are kinda coupled.
from dd-sdk-android.
Related Issues (20)
- manually instrumented traces are missing RUM details HOT 8
- Logs Not Uploading On PAX L1400 HOT 3
- PerformanceMetricsState$Companion.getHolderForHierarchy crash HOT 9
- Events are not send to data dog HOT 6
- Allow overriding per-request sampling decision when tracing OkHttp requests HOT 2
- RumViewScope creates memory leaks HOT 11
- Datadog SDK is logging very high application start time in some RUM traces HOT 4
- Support for Kotlin Multiplatform and Ktor HOT 5
- Random crashes using session replay HOT 6
- Support for .NET Android / .NET MAUI apps HOT 1
- UploadWorker Canceled HOT 8
- RUM Resources `RumResourceMethod` enum is missing HTTP request method names HOT 3
- Inconsistencies with Error Tracking vs Firebase Crashlytics HOT 4
- Network requests tracking for 3rd parties HOT 1
- User property from future set on View Loads HOT 8
- NavigationViewTrackingEffect only logs to RUM, but doesn't let us in some way also log the navigation events as normal logs HOT 5
- TextView's compound drawables rendered smaller when enabling SessionReplay HOT 3
- IllegalArgumentException when removing OnFrameMetricsAvailableListener HOT 4
- Tracer and OkHttp: what happen when apply sampler for both of them? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dd-sdk-android.