-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Use view AttributeFilter #3390
Comments
I don't think we can just remove this. This is a feature described in the view specification. When working on this I found that we have incorrect logic of the async sum aggregator. The scenario I have is if you have an async counter and a filter you can have two Observers that should be summed. eg:
I would expect this would return a sum of 30 on collect. |
Can you open an issue to track this bug? |
Given the mentioned bug, and #3396 (comment)
We should probably look into how other SIGs are resolving this and if there is any specification on this behavior. |
Specification issue related to behavior question: open-telemetry/opentelemetry-specification#2905 |
Currently the
view.View
type provides anAttributeFilter
method and the relatedWithFilterAttributes
option.opentelemetry-go/sdk/metric/view/view.go
Lines 90 to 100 in ccbc38e
opentelemetry-go/sdk/metric/view/view.go
Lines 196 to 214 in ccbc38e
These are unused in the SDK.
The text was updated successfully, but these errors were encountered: