We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5f17b4 commit 7bd92adCopy full SHA for 7bd92ad
opentelemetry-sdk/src/metrics/internal/aggregate.rs
@@ -16,7 +16,7 @@ pub(crate) const STREAM_CARDINALITY_LIMIT: usize = 2000;
16
17
/// Checks whether aggregator has hit cardinality limit for metric streams
18
pub(crate) fn is_under_cardinality_limit(size: usize) -> bool {
19
- size < STREAM_CARDINALITY_LIMIT as usize
+ size < STREAM_CARDINALITY_LIMIT
20
}
21
22
/// Receives measurements to be aggregated.
0 commit comments