Skip to content

Commit

Permalink
Clarify that ExemplarFilter should be configred on MeterProvider.
Browse files Browse the repository at this point in the history
Partially fixes: open-telemetry#2421
  • Loading branch information
jsuereth committed Nov 10, 2023
1 parent c8c1baf commit 431a7e3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions specification/metrics/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,12 @@ Using this ExemplarFilter is as good as disabling Exemplar feature.
An ExemplarFilter which makes those measurements eligible for being an
Exemplar, which are recorded in the context of a sampled parent span.

#### Configuration

The ExemplarFilter SHOULD be a configuration parameter of a `MeterProvider` for
an SDK. The default value for the filter SHOULD follow the
[environment variable specification](../configuration/sdk-environment-variables.md#exemplar).

### ExemplarReservoir

The `ExemplarReservoir` interface MUST provide a method to offer measurements
Expand Down

0 comments on commit 431a7e3

Please sign in to comment.