-
Notifications
You must be signed in to change notification settings - Fork 11
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
fix: trace sampling rules order #125
Conversation
Reset trace sampling rules legacy order.
BenchmarksBenchmark execution time: 2024-05-28 09:18:43 Comparing candidate commit cb02455 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 1 metrics, 0 unstable metrics. |
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
return Error{Error::TRACE_SAMPLING_RULES_INVALID_JSON, | ||
"Missing \"sample_rate\" field"}; |
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.
qq for this and other new error handling: Is a default value set somewhere? Or will parsing now fail when it didn't before?
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.
Parsing will fail, those fields are mandatory.
Co-authored-by: pablomartinezbernardo <134320516+pablomartinezbernardo@users.noreply.github.com>
Description
Reset trace sampling rules legacy order.