Skip to content

Commit

Permalink
Code review.
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeBlanch committed Feb 8, 2024
1 parent 73df3ec commit 695eb66
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/metrics/customizing-the-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,12 +369,13 @@ AnotherFruitCounter.Add(1, new("name", "apple"), new("color", "red"));

### Changing the cardinality limit for a Metric

A Metric contains many Metric points which are the number of unique combinations
of key/values recorded by an instrument. To protect the SDK from unbounded
memory usage, there is a default limit of 2000 metric points per metric which
will be maintained by the SDK. Once the limit is hit, any new key/value
combination for a metric will be ignored. The SDK chooses the key/value
combinations in the order in which they are emitted.
A Metric contains many Metric points which are the storage buckets for
aggregation of measurements for the unique combinations of key/values recorded
by an instrument. To protect the SDK from unbounded memory usage, there is a
default limit of 2000 metric points per metric which will be maintained by the
SDK. Once the limit is hit, any new key/value combination for a metric will be
ignored. The SDK chooses the key/value combinations in the order in which they
are emitted.

To set the [cardinality limit](../README.md#cardinality-limits) for an
individual metric, use `MetricStreamConfiguration.CardinalityLimit` setting on
Expand Down

0 comments on commit 695eb66

Please sign in to comment.