You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SampleRate calculated during stress relief should be recorded in the decision cache. This will keep the sample rate consistent between each spans that belongs to the same trace.
The text was updated successfully, but these errors were encountered:
<!--
Thank you for contributing to the project! 💜
Please make sure to:
- Chat with us first if this is a big change
- Open a new issue (or comment on an existing one)
- We want to make sure you don't spend time implementing something we
might have to say No to
- Add unit tests
- Mention any relevant issues in the PR description (e.g. "Fixes#123")
Please see our [OSS process
document](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md#)
to get an idea of how we operate.
-->
## Which problem is this PR solving?
Sample rate is not recorded in trace decision cache during stress
relief. This could cause weird sample rate data for spans arrived after
refinery has exited stress relief mode
fix: #1271
## Short description of the changes
- record sample rate in decision cache
- add tests
- make sure collector uses clockwork.Clock in all places
SampleRate calculated during stress relief should be recorded in the decision cache. This will keep the sample rate consistent between each spans that belongs to the same trace.
The text was updated successfully, but these errors were encountered: