Skip to content

RUM-9021 use session consistent trace sampling#2544

Merged
xgouchet merged 1 commit into
feature/v3from
xgouchet/RUM-9021/consistent_trace_sampling
Mar 18, 2025
Merged

RUM-9021 use session consistent trace sampling#2544
xgouchet merged 1 commit into
feature/v3from
xgouchet/RUM-9021/consistent_trace_sampling

Conversation

@xgouchet

Copy link
Copy Markdown
Contributor

What does this PR do?

Ensure consistent trace sampling for all traces in a given session

@xgouchet
xgouchet requested review from a team as code owners March 13, 2025 17:01
0xnm
0xnm previously approved these changes Mar 14, 2025
constructor(Float)
constructor(Double)
fun okhttp3.Request.Builder.parentSpan(io.opentracing.Span): okhttp3.Request.Builder
object com.datadog.android.okhttp.trace.SpanSamplingIdProvider

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file probably needs to be updated, because SpanSamplingIdProvider is internal, so it shouldn't be here

jonathanmos
jonathanmos previously approved these changes Mar 17, 2025
@xgouchet
xgouchet dismissed stale reviews from jonathanmos and 0xnm via 9ad9971 March 17, 2025 09:15
@xgouchet
xgouchet force-pushed the xgouchet/RUM-9021/consistent_trace_sampling branch from 13a0a3e to 9ad9971 Compare March 17, 2025 09:15
@xgouchet
xgouchet requested a review from 0xnm March 17, 2025 09:30
@codecov-commenter

codecov-commenter commented Mar 17, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.

Project coverage is 70.02%. Comparing base (f2b505a) to head (9ad9971).
Report is 2 commits behind head on feature/v3.

Files with missing lines Patch % Lines
...id/okhttp/internal/utils/SpanSamplingIdProvider.kt 66.67% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@              Coverage Diff               @@
##           feature/v3    #2544      +/-   ##
==============================================
- Coverage       70.10%   70.02%   -0.08%     
==============================================
  Files             797      798       +1     
  Lines           30027    30033       +6     
  Branches         5027     5030       +3     
==============================================
- Hits            21049    21028      -21     
- Misses           7590     7607      +17     
- Partials         1388     1398      +10     
Files with missing lines Coverage Δ
...og/android/okhttp/internal/utils/SpanContextExt.kt 0.00% <ø> (ø)
.../android/okhttp/trace/DeterministicTraceSampler.kt 80.00% <100.00%> (+20.00%) ⬆️
...id/okhttp/internal/utils/SpanSamplingIdProvider.kt 66.67% <66.67%> (ø)

... and 28 files with indirect coverage changes

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@xgouchet
xgouchet requested a review from jonathanmos March 17, 2025 13:17
@xgouchet
xgouchet merged commit acf1587 into feature/v3 Mar 18, 2025
@xgouchet
xgouchet deleted the xgouchet/RUM-9021/consistent_trace_sampling branch March 18, 2025 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants