Skip to content

Commit 2154a16

Browse files
authored
use otel_debug
1 parent 31b738b commit 2154a16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opentelemetry-sdk/src/metrics/pipeline.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use std::{
77

88
use opentelemetry::{
99
metrics::{MetricsError, Result},
10-
otel_warn, InstrumentationScope, KeyValue,
10+
otel_debug, InstrumentationScope, KeyValue,
1111
};
1212

1313
use crate::{
@@ -414,7 +414,7 @@ where
414414
}
415415
// If an existing instrument with the same name but different attributes is found,
416416
// log a warning with details about the conflicting metric stream definitions.
417-
otel_warn!(
417+
otel_debug!(
418418
name: "Instrument.DuplicateMetricStreamDefinitions",
419419
message = "duplicate metric stream definitions",
420420
reason = format!("names: ({} and {}), descriptions: ({} and {}), kinds: ({:?} and {:?}), units: ({:?} and {:?}), and numbers: ({} and {})",

0 commit comments

Comments
 (0)