Skip to content

Commit

Permalink
Specify limiting and filtering interaction
Browse files Browse the repository at this point in the history
Resolve #3798
  • Loading branch information
MrAlias committed Jan 4, 2024
1 parent 0127b1f commit 9ffa45a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions specification/metrics/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ linkTitle: SDK
+ [Overflow attribute](#overflow-attribute)
+ [Synchronous instrument cardinality limits](#synchronous-instrument-cardinality-limits)
+ [Asynchronous instrument cardinality limits](#asynchronous-instrument-cardinality-limits)
+ [Interaction with filtering](#interaction-with-filtering)
- [Meter](#meter)
* [Duplicate instrument registration](#duplicate-instrument-registration)
+ [Name conflict](#name-conflict)
Expand Down Expand Up @@ -776,6 +777,13 @@ Aggregators of asynchronous instruments SHOULD prefer the first-observed
attributes in the callback when limiting cardinality, regardless of
temporality.

#### Interaction with filtering

It is left unspecified if attribute filtering from a user provided view needs
to be applied before or after applying the cardinality limit. While this can
lead to inconsistent telemetry across implementations, this will only happen in
an error scenario where a cardinality limit is used.

## Meter

Distinct meters MUST be treated as separate namespaces for the purposes of detecting
Expand Down

0 comments on commit 9ffa45a

Please sign in to comment.