Skip to content

Commit

Permalink
Add support for filtering attribute keys for streams via an exclude list
Browse files Browse the repository at this point in the history
This change adds details around supporting the creation of a stream with
a set of excluded attribute keys. This is already done in the Go implementation
and the proposal in this PR is to address an issue in the configuration
working group: open-telemetry/opentelemetry-configuration#112

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
  • Loading branch information
codeboten committed Aug 19, 2024
1 parent 0b3328b commit 1a954d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ release.

### Metrics

- Add support for filtering attribute keys for streams via an exclude list.
([]())

### Logs

### Events
Expand Down
4 changes: 4 additions & 0 deletions specification/metrics/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,10 @@ The SDK MUST accept the following stream configuration parameters:
keys that identify the attributes that MUST be kept, and all other attributes
MUST be ignored.

Additionally, 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.

Implementations MAY accept additional attribute filtering functionality for
this parameter.

Expand Down

0 comments on commit 1a954d7

Please sign in to comment.