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 9a25515 commit 3712a18Copy full SHA for 3712a18
opentelemetry-sdk/benches/metric.rs
@@ -109,10 +109,7 @@ impl MetricReader for SharedReader {
109
// time: [726.87 ns 736.52 ns 747.09 ns]
110
type ViewFn = Box<dyn Fn(&Instrument) -> Option<Stream> + Send + Sync + 'static>;
111
112
-fn bench_counter(
113
- view: Option<ViewFn>,
114
- temporality: &str,
115
-) -> (SharedReader, Counter<u64>) {
+fn bench_counter(view: Option<ViewFn>, temporality: &str) -> (SharedReader, Counter<u64>) {
116
let rdr = if temporality == "cumulative" {
117
SharedReader(Arc::new(ManualReader::builder().build()))
118
} else {
0 commit comments