Comments (1)
Hi @scana ๐
is there anything to consider client-performance-wise before setting this to 100%?
The impact on the performance of tracking more or less network requests is negligible and not noticeable in most cases, unless your app is sending billions of network requests per minute :)
However, the more things you track, the more data our SDK uploads to Datadog's backend, and this is the inherent tradeoff of observability. So we usually recommend to keep this in mind when instrumenting your application, and we don't have a "one size fits all" answer to provide I'm afraid.
We're working on our end on producing up-to-date benchmarks of the SDK footprint, but last time we computed some: uploads were around 73 KB and downloads were around 5 KB for an average 2:10 session with some browsing, taps, swipes, opening and closing views, the app sending some network requestsโฆ
are there any cost implications of tracking more requests?
Not on the RUM side, as the billing unit is the Session, regardless of whether a Session contains 1 View only, or whether it contains an insane volume of Views, Resources, Errors, Actions... However, if you use distributed tracing, the sampling decision taken client-side by the SDK will override the ones defined in your backend services monitored with APM, which can result in a surge of spans being ingested, and therefore a surge of costs.
We are working on some initiatives on this front to give you more control over client-side sampling decisions, but these are very complex projects and will take a few months if not a few quarters to be released.
does it make sense to track all of the requests?
In most cases, no, it doesn't. But we do see customers tracking all of them in some cases:
- the traffic their getting is too low to get a statistically significant volume of data if sampling
- the requests to a particular endpoint are critical (e.g. login or checkout) and shall all be tracked for alerting & troubleshooting
Hope this helps :)
Let me know if I answered your questions and I'll close the issue
from dd-sdk-android.
Related Issues (20)
- Memory Leak : AggregatingVitalMonitor listeners are never unregistered HOT 3
- Missing DataDog events caused by UnknownError HOT 9
- Cannot implementation com.datadoghq:dd-sdk-android-logs HOT 4
- ./gradlew uploadMappingRelease crashes trying to upload mapping.txt file after release build HOT 2
- How to group views as Service? HOT 1
- Fragment views stopped getting registered HOT 1
- Crash gets assigned to wrong view HOT 1
- Fatal Exception: java.lang.IllegalStateException Recording currently in progress - missing #endRecording() call? HOT 5
- ValueError: Invalid traceparent version HOT 2
- Repeated network error due to "browser-intake-datadoghq.com" HOT 7
- Allow us to call `setUserInfo` without completely wiping all previously set properties set by `addUserProperties` HOT 1
- Crash on DdRumContentProvider caused by java.lang.ClassNotFoundException HOT 1
- Is there any settings within Android device can stop datadog monitoring? HOT 2
- Troubleshooting link in README.md is broken HOT 1
- Mobile Session Replay support for Jetpack Compose HOT 1
- Hard casting to AdvancedNetworkRumMonitor causes crashes HOT 1
- TImber Tags are Ignored HOT 3
- ๐ โ ๏ธ Datadog sdk heavy battery consumption in background in Android HOT 2
- Crash insights point to dd-sdk-android-okhttp
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.