DataDog / dd-sdk-android

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

RUM-3438 Add the OkHttp Otel extensions module #2073

Closed mariusc83 closed 1 month ago

mariusc83 commented 1 month ago

What does this PR do?

In this PR:

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

Review checklist (to be filled by reviewers)

codecov-commenter commented 1 month ago

Codecov Report

Attention: Patch coverage is 87.50000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 67.20%. Comparing base (ee23810) to head (eb5ffe8).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## feature/otel-support #2073 +/- ## ======================================================== - Coverage 67.39% 67.20% -0.19% ======================================================== Files 733 736 +3 Lines 27028 27046 +18 Branches 4574 4576 +2 ======================================================== - Hits 18213 18174 -39 - Misses 7587 7654 +67 + Partials 1228 1218 -10 ``` | [Files](https://app.codecov.io/gh/DataDog/dd-sdk-android/pull/2073?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/okhttp/TraceContext.kt](https://app.codecov.io/gh/DataDog/dd-sdk-android/pull/2073?src=pr&el=tree&filepath=integrations%2Fdd-sdk-android-okhttp%2Fsrc%2Fmain%2Fkotlin%2Fcom%2Fdatadog%2Fandroid%2Fokhttp%2FTraceContext.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#diff-aW50ZWdyYXRpb25zL2RkLXNkay1hbmRyb2lkLW9raHR0cC9zcmMvbWFpbi9rb3RsaW4vY29tL2RhdGFkb2cvYW5kcm9pZC9va2h0dHAvVHJhY2VDb250ZXh0Lmt0) | `100.00% <100.00%> (ø)` | | | [...datadog/android/okhttp/trace/TracingInterceptor.kt](https://app.codecov.io/gh/DataDog/dd-sdk-android/pull/2073?src=pr&el=tree&filepath=integrations%2Fdd-sdk-android-okhttp%2Fsrc%2Fmain%2Fkotlin%2Fcom%2Fdatadog%2Fandroid%2Fokhttp%2Ftrace%2FTracingInterceptor.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#diff-aW50ZWdyYXRpb25zL2RkLXNkay1hbmRyb2lkLW9raHR0cC9zcmMvbWFpbi9rb3RsaW4vY29tL2RhdGFkb2cvYW5kcm9pZC9va2h0dHAvdHJhY2UvVHJhY2luZ0ludGVyY2VwdG9yLmt0) | `81.92% <100.00%> (-0.32%)` | :arrow_down: | | [...otlin/com/datadog/android/okhttp/otel/OkHttpExt.kt](https://app.codecov.io/gh/DataDog/dd-sdk-android/pull/2073?src=pr&el=tree&filepath=integrations%2Fdd-sdk-android-okhttp-otel%2Fsrc%2Fmain%2Fkotlin%2Fcom%2Fdatadog%2Fandroid%2Fokhttp%2Fotel%2FOkHttpExt.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#diff-aW50ZWdyYXRpb25zL2RkLXNkay1hbmRyb2lkLW9raHR0cC1vdGVsL3NyYy9tYWluL2tvdGxpbi9jb20vZGF0YWRvZy9hbmRyb2lkL29raHR0cC9vdGVsL09rSHR0cEV4dC5rdA==) | `75.00% <75.00%> (ø)` | | | [...og/android/okhttp/internal/otel/TraceContextExt.kt](https://app.codecov.io/gh/DataDog/dd-sdk-android/pull/2073?src=pr&el=tree&filepath=integrations%2Fdd-sdk-android-okhttp%2Fsrc%2Fmain%2Fkotlin%2Fcom%2Fdatadog%2Fandroid%2Fokhttp%2Finternal%2Fotel%2FTraceContextExt.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#diff-aW50ZWdyYXRpb25zL2RkLXNkay1hbmRyb2lkLW9raHR0cC9zcmMvbWFpbi9rb3RsaW4vY29tL2RhdGFkb2cvYW5kcm9pZC9va2h0dHAvaW50ZXJuYWwvb3RlbC9UcmFjZUNvbnRleHRFeHQua3Q=) | `86.67% <86.67%> (ø)` | | ... and [35 files with indirect coverage changes](https://app.codecov.io/gh/DataDog/dd-sdk-android/pull/2073/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog)