Skip to content

Commit 4de12ee

Browse files
committed
fmt fix
1 parent a95e2c2 commit 4de12ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

opentelemetry-sdk/src/metrics/periodic_reader.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,9 @@ impl PeriodicReaderInner {
344344
return Ok(());
345345
}
346346

347-
let metrics_count = rm.scope_metrics.iter().fold(0, | count, scope_metrics | count + scope_metrics.metrics.len());
347+
let metrics_count = rm.scope_metrics.iter().fold(0, |count, scope_metrics| {
348+
count + scope_metrics.metrics.len()
349+
});
348350
otel_debug!(name: "PeriodicReaderMetricsCollected", count = metrics_count);
349351

350352
// TODO: substract the time taken for collect from the timeout. collect

0 commit comments

Comments
 (0)