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
## Which problem is this PR solving?
- closes#274
## Short description of the changes
- move sample rate logic that was in `traces` to `common`, including test cases
- add `sampleRate` to log events
- make `sampleRate` key name case-insensitive
- fall back to default rate of 1 when given negative values
- round and coerce floats into ints
---------
Co-authored-by: Kent Quirk <[email protected]>
Is your feature request related to a problem? Please describe.
A husky event is an object that contains both Attributes and Sample Rate (and Timestamp but that's irrelevant here).
Traces add
SampleRate
but logs do not.Describe the solution you'd like
Set SampleRate for logs like we do for traces.
The text was updated successfully, but these errors were encountered: