Skip to content
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

[metrics] Allow setting ExemplarFilter via View API #4014

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions specification/metrics/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,13 @@ The SDK MUST accept the following stream configuration parameters:
user does not provide an `aggregation` value, the `MeterProvider` MUST apply
a [default aggregation](#default-aggregation) configurable on the basis of
instrument type according to the [MetricReader](#metricreader) instance.
* **Status**: [Experimental](../document-status.md) - `exemplar_filter`: The
`exemplar_filter` configuration allows users to select between one of the
built-in [ExemplarFilters](#exemplarfilter). The list of acceptable values for
`exemplar_filter` MUST match those available to be set on the `MeterProvider`
for the SDK. Users MUST NOT be required to specify `exemplar_filter` but if
specified it MUST override the `MeterProvider` value (if set) or the default
SDK behavior if not explicitly set for the `MeterProvider`.
* `exemplar_reservoir`: A
functional type that generates an exemplar reservoir a `MeterProvider` will
use when storing exemplars. This functional type needs to be a factory or
Expand Down
Loading