DataDog / dd-sdk-android

Datadog SDK for Android (Compatible with Kotlin and Java)
Apache License 2.0
141 stars 57 forks source link

RUM-4413 Add telemetry on SR resources track #2027

Closed xgouchet closed 2 months ago

xgouchet commented 2 months ago

What does this PR do?

In order to better read the performance of the Image Resource upload for Session Replay, we add the telemetry on batch deleted/closed/expired with a dedicated track name.

codecov-commenter commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.34%. Comparing base (ddf2286) to head (b5d0296).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #2027 +/- ## =========================================== + Coverage 83.17% 83.34% +0.18% =========================================== Files 486 486 Lines 17633 17670 +37 Branches 2680 2687 +7 =========================================== + Hits 14665 14727 +62 + Misses 2232 2201 -31 - Partials 736 742 +6 ``` | [Files](https://app.codecov.io/gh/DataDog/dd-sdk-android/pull/2027?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | Coverage Δ | | |---|---|---| | [.../kotlin/com/datadog/android/api/feature/Feature.kt](https://app.codecov.io/gh/DataDog/dd-sdk-android/pull/2027?src=pr&el=tree&filepath=dd-sdk-android-core%2Fsrc%2Fmain%2Fkotlin%2Fcom%2Fdatadog%2Fandroid%2Fapi%2Ffeature%2FFeature.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#diff-ZGQtc2RrLWFuZHJvaWQtY29yZS9zcmMvbWFpbi9rb3RsaW4vY29tL2RhdGFkb2cvYW5kcm9pZC9hcGkvZmVhdHVyZS9GZWF0dXJlLmt0) | `100.00% <ø> (ø)` | | | [...id/core/internal/metrics/BatchMetricsDispatcher.kt](https://app.codecov.io/gh/DataDog/dd-sdk-android/pull/2027?src=pr&el=tree&filepath=dd-sdk-android-core%2Fsrc%2Fmain%2Fkotlin%2Fcom%2Fdatadog%2Fandroid%2Fcore%2Finternal%2Fmetrics%2FBatchMetricsDispatcher.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#diff-ZGQtc2RrLWFuZHJvaWQtY29yZS9zcmMvbWFpbi9rb3RsaW4vY29tL2RhdGFkb2cvYW5kcm9pZC9jb3JlL2ludGVybmFsL21ldHJpY3MvQmF0Y2hNZXRyaWNzRGlzcGF0Y2hlci5rdA==) | `98.61% <100.00%> (+0.02%)` | :arrow_up: | ... and [27 files with indirect coverage changes](https://app.codecov.io/gh/DataDog/dd-sdk-android/pull/2027/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog)