Describe your environment
OS: (e.g, Ubuntu)
Python version: (e.g., Python 3.10.0)
SDK version: (e.g., 1.25.0)
API version: (e.g., 1.25.0)
What happened?
The Metrics SDK spec says Implementations SHOULD support configuring an exclude-list of attribute keys. The exclude-list contains attribute keys that identify the attributes that MUST be excluded, all other attributes MUST be kept. (https://opentelemetry.io/docs/specs/otel/metrics/sdk/#instrument-selection-criteria)
In the current Python View API, the constructor exposes attribute_keys (allow-list style) but there is no corresponding exclude-list parameter.
Steps to Reproduce
Try to provide exclude attributes in View.
Expected Result
View Constructor should support exclude attributes parameter.
Actual Result
Support for exclude attributes is missing
Additional context
No response
Would you like to implement a fix?
Yes
Tip
React with π to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
Describe your environment
OS: (e.g, Ubuntu)
Python version: (e.g., Python 3.10.0)
SDK version: (e.g., 1.25.0)
API version: (e.g., 1.25.0)
What happened?
The Metrics SDK spec says Implementations SHOULD support configuring an exclude-list of attribute keys. The exclude-list contains attribute keys that identify the attributes that MUST be excluded, all other attributes MUST be kept. (https://opentelemetry.io/docs/specs/otel/metrics/sdk/#instrument-selection-criteria)
In the current Python View API, the constructor exposes attribute_keys (allow-list style) but there is no corresponding exclude-list parameter.
Steps to Reproduce
Try to provide exclude attributes in View.
Expected Result
View Constructor should support exclude attributes parameter.
Actual Result
Support for exclude attributes is missing
Additional context
No response
Would you like to implement a fix?
Yes
Tip
React with π to help prioritize this issue. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it. Learn more here.