Allow using total trace duration as a sample weight source #1164
Labels
status: oncall
Flagged for awareness from Honeycomb Telemetry Oncall
type: enhancement
New feature or request
Is your feature request related to a problem? Please describe.
Given a sampling strategy such as "sample 100% of 5xx errors but sample successful/2xx traces at 1/10", I probably am more interested in examples of the latter that took >60s than <10ms, but there is currently no way to express that in any of refinery's samplers.
Describe the solution you'd like
I would like to be able to use total trace duration in sampling rules. :)
Additional context
Discussion on honeycomb slack: https://honeycombpollinators.slack.com/archives/C01BZ3J7RMJ/p1716390012880539
The text was updated successfully, but these errors were encountered: