vector
vector copied to clipboard
Enhanced sampling RFC
The current sampler
transform supports constant sampling by specifying rate
and allows for some limited "bucketing" by specifying a key_field
(where each discrete value for that field is a new abstract "bucket" for events).
In a new RFC, we should discuss ways of enhancing the sampler
transform to support:
- Bucketing based on arbitrarily complex criteria, with Remap expressions as the vehicle
- More robust key-based sampling by allowing for multiple keys
- Dynamic sampling for buckets, i.e. adjusting the sample rate in accordance with traffic patterns