-
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
[processor/metricstransform] support value regex matching pattern when renaming label values #25913
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I believe this is a duplicate of #24366, but please let me know if I've misunderstood |
Component(s)
processor/metricstransform
Is your feature request related to a problem? Please describe.
Currently, the metricstranform processor support renaming label values such as the following:
However, there might be situations where we want to use a regex matching pattern instead of a strict one. For example, when dealing with http.status_code, the range goes from 1xx to 5xx so adding these values 1 by 1 is long and can be error-prone.
The goal is to reduce cardinality such as 200, 201, 202... to 2xx to reduce cardinality.
Describe the solution you'd like
Potentially add a
value_match_type
field under theoperations
field. But open to suggestion.Describe alternatives you've considered
We can leverage the transform processor such as:
Additional context
No response
The text was updated successfully, but these errors were encountered: