-
Notifications
You must be signed in to change notification settings - Fork 17
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
stream: update stream configuration to include/exclude #118
stream: update stream configuration to include/exclude #118
Conversation
This follows open-telemetry/opentelemetry-specification#4188 to add support to exclude attribute keys from stream configuration. Signed-off-by: Alex Boten <[email protected]>
Will mark ready for review once the spec change is merged |
spec has merged, this is now ready for review |
Signed-off-by: Alex Boten <[email protected]>
Signed-off-by: Alex Boten <[email protected]>
examples/kitchen-sink.yaml
Outdated
@@ -262,6 +262,7 @@ meter_provider: | |||
included: | |||
- key1 | |||
- key2 | |||
# Configure resource attributes to be excluded, in this example attribute service.attr1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Configure resource attributes to be excluded, in this example attribute service.attr1. | |
# Configure resource attributes to be excluded, in this example attribute key3. |
This brings up a good point. It seems like this needs to be either a list to include, OR a list to exclude, but not both?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it? I would expect this to be similar to how resource attributes can be included or excluded. The example in the kitchen sink shows an include of service.*
and an exclude of service.attr1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how SDKs would handle the presence of both include and exclude lists. I know java (and probably go) can handle.
This follows open-telemetry/opentelemetry-specification#4188 to add support to exclude attribute keys from stream configuration.
Fixes #112