-
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
pmetrictest doesn't support ignore data point attribute values #27599
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Is the function just poorly named? If I'm not mistaken, metrics do not directly have attributes, so this function is actually operating data point attributes. |
Ah. It is. It also is surprising because it takes an attribute name and multiple metric names. Ideally I'd like both, but I can bear with it. I'll try it out and report back. Thank you for looking. |
We can certainly look at changing it. There's likely a more intuitive signature. |
Going to close for now ; this is not a serious issue and while the API could be a bit clearer, I'm not sure it warrants a breaking change. |
Component(s)
pkg/pdatatest
Is your feature request related to a problem? Please describe.
pmetrictest supports ignoring resource attribute values and metric attribute values, but does not support ignoring data point attribute values.
right now the workaround is to modify the data set with:
Describe the solution you'd like
I would like to have the exact same option as offered by
pmetrictest.IgnoreMetricAttributeValue
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: