-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the ability to drop all datapoints except a specific one. #33074
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
FYI I believe the metrics/logs/etc transform processors are being replaced with the OTTL-based "transform processor" Have you considered trying the filterprocessor with the context set to datapoint?
|
Pinging code owners for processor/filter: @TylerHelmuth @boostchicken. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
@strawgate is correct. Closing this since an answer has been provided. |
Thank you, I will try that. |
Component(s)
processor/metricstransform
Is your feature request related to a problem? Please describe.
I am trying to drop all datapoints except where destination_service_name == BlackHoleCluster
the label destination_service_name can have an infinite amount of values, I just need to only retain the datapoints where it equals BlackHoleCluster``
Describe the solution you'd like
from this example: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/metricstransformprocessor#delete-by-label-value
something like:
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: