Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support dynamic configuration of trace sampling rate #5466

Merged
merged 3 commits into from
Jun 27, 2023

Conversation

mcculls
Copy link
Contributor

@mcculls mcculls commented Jun 26, 2023

No description provided.

@pr-commenter
Copy link

pr-commenter bot commented Jun 26, 2023

Benchmarks

Parameters

Baseline Candidate
commit 1.17.0-SNAPSHOT~f3039a2fed 1.17.0-SNAPSHOT~823386dbec
config baseline candidate
See matching parameters
Baseline Candidate
module Agent Agent
parent None None

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 22 cases.

@mcculls mcculls force-pushed the mcculls/dynamic-sampling-rate branch 5 times, most recently from 1486083 to 3761f64 Compare June 27, 2023 09:47
@mcculls mcculls changed the title [WIP] dynamic trace sampling rate Support dynamic configuration of trace sampling rate Jun 27, 2023
@mcculls mcculls marked this pull request as ready for review June 27, 2023 10:11
@mcculls mcculls requested a review from a team as a code owner June 27, 2023 10:11
This meant reworking the check to decide when to override response tags;
we now base it on whether the original static config has been replaced.
Refactor priority sampling to inside PendingTrace
@mcculls mcculls force-pushed the mcculls/dynamic-sampling-rate branch from 3761f64 to 5b9a8bb Compare June 27, 2023 11:13
@mcculls mcculls enabled auto-merge (squash) June 27, 2023 12:19
@mcculls mcculls disabled auto-merge June 27, 2023 12:21
Copy link
Contributor

@PerfectSlayer PerfectSlayer left a comment

Choose a reason for hiding this comment

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

Hi Stuart! 👋
I got few questions for you

dd-trace-core/build.gradle Outdated Show resolved Hide resolved
@mcculls mcculls force-pushed the mcculls/dynamic-sampling-rate branch from 5b9a8bb to 30754de Compare June 27, 2023 13:57
…(less to test)

feels wrong to try to address the missing (unrelated) coverage in this PR, so temporarily excluding CoreTracer instead
@mcculls mcculls force-pushed the mcculls/dynamic-sampling-rate branch from 30754de to 823386d Compare June 27, 2023 14:10
@mcculls mcculls merged commit 6ebe844 into master Jun 27, 2023
@mcculls mcculls deleted the mcculls/dynamic-sampling-rate branch June 27, 2023 15:46
@github-actions github-actions bot added this to the 1.17.0 milestone Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants