[processor/filter] Add ability to filter out data points #16387
Labels
enhancement
New feature or request
needs triage
New item requiring triage
processor/filter
Filter processor
Component(s)
processor/filter
Is your feature request related to a problem? Please describe.
I would like to be able to drop specific datapoints from a metric.
To be more specifix, i would like to be able to only keep datapoints emitted from spanmetrics processor that has a
span.kind: "SPAN_KIND_SERVER"
attribute on the datapoints.My current config:
Example metrics:
Currently if at least 1 datapoint matches my expression, then the whole metric is kept, with all datapoints.
Describe the solution you'd like
Add an option to filter out individual datapoints with expr filter, instead of whole metrics.
Describe alternatives you've considered
see: #16388
Additional context
No response
The text was updated successfully, but these errors were encountered: