alloy
alloy copied to clipboard
[feature request] ability to filter/collect X slowest traces in tail sampling
Is your proposal related to a problem? we would like to be able to select only a subset (10) slowest/fastest transactions and save them into tempo
Describe the solution you'd like I would like to have topk/bottomk filter in tailsampling processors
Describe alternatives you've considered None, there's currently an ability to filter traces based on transaction time but the duration needs to be hardcoded and not relative to rest of the traces
Additional context none
Hey there Vitaly 👋 This sounds like a potentially interesting feature. The Agent embeds the OpenTelemetry Collector for handling traces, so ideally the feature would be implemented there first. WDYT about opening an issue upstream and see if it gains any traction?