-
Notifications
You must be signed in to change notification settings - Fork 377
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
api: allow tracing sampleRate smaller than 1% #5096
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5096 +/- ##
==========================================
+ Coverage 66.77% 66.84% +0.06%
==========================================
Files 210 210
Lines 32957 32957
==========================================
+ Hits 22006 22029 +23
+ Misses 9613 9597 -16
+ Partials 1338 1331 -7 ☔ View full report in Codecov by Sentry. |
Signed-off-by: zirain <[email protected]>
Signed-off-by: zirain <[email protected]>
Signed-off-by: zirain <[email protected]>
e0d2140
to
cef658c
Compare
type ProxyTracing struct { | ||
// SamplingRate controls the rate at which traffic will be | ||
// selected for tracing if no prior sampling decision has been made. | ||
// Defaults to 100, valid values [0-100]. 100 indicates 100% sampling. | ||
// | ||
// Only one of SamplingRate or SamplingFraction may be specified. | ||
// If neither field is specified, 1% of requests will be sampled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this default 1% sampling already happening today ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks !
* api: allow tracing sampleRate smaller than 1% Signed-off-by: zirain <[email protected]> Signed-off-by: EshaanAgg <[email protected]>
xref: #5089