-
Notifications
You must be signed in to change notification settings - Fork 769
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into api-iopentelemetrybuilder
- Loading branch information
Showing
46 changed files
with
1,063 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# OpenTelemetry .NET Diagnostic: OTEL1003 | ||
|
||
## Overview | ||
|
||
This is an Experimental API diagnostic covering the following API: | ||
|
||
* `MetricStreamConfiguration.CardinalityLimit.get` | ||
* `MetricStreamConfiguration.CardinalityLimit.set` | ||
|
||
Experimental APIs may be changed or removed in the future. | ||
|
||
## Details | ||
|
||
The OpenTelemetry Specification defines the | ||
[cardinality limit](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#cardinality-limits) | ||
of a metric can be set by the matching view. | ||
|
||
From the specification: | ||
|
||
> The cardinality limit for an aggregation is defined in one of three ways: | ||
> A view with criteria matching the instrument an aggregation is created for has | ||
> an aggregation_cardinality_limit value defined for the stream, that value | ||
> SHOULD be used. If there is no matching view, but the MetricReader defines a | ||
> default cardinality limit value based on the instrument an aggregation is | ||
> created for, that value SHOULD be used. If none of the previous values are | ||
> defined, the default value of 2000 SHOULD be used. | ||
We are exposing these APIs experimentally until the specification declares them | ||
stable. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.