We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f323783 commit a151d58Copy full SHA for a151d58
opentelemetry-sdk/src/metrics/internal/mod.rs
@@ -75,6 +75,8 @@ where
75
trackers: RwLock::new(HashMap::with_capacity(
76
1 + STREAM_CARDINALITY_LIMIT as usize,
77
)),
78
+ // TODO: For cumulative, this is not required, so avoid this
79
+ // pre-allocation.
80
trackers_for_collect: RwLock::new(HashMap::with_capacity(
81
82
0 commit comments