Skip to content

Commit 7e48cbf

Browse files
lalitbutpilla
andauthored
Update opentelemetry-sdk/src/metrics/internal/mod.rs
Co-authored-by: Utkarsh Umesan Pillai <[email protected]>
1 parent 56682a4 commit 7e48cbf

File tree

1 file changed

+1
-1
lines changed
  • opentelemetry-sdk/src/metrics/internal

1 file changed

+1
-1
lines changed

opentelemetry-sdk/src/metrics/internal/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ impl<AU: AtomicallyUpdate<T>, T: Number, O: Operation> ValueMap<AU, T, O> {
148148
trackers.insert(STREAM_OVERFLOW_ATTRIBUTES.clone(), Arc::new(new_tracker));
149149
//TODO - include name of meter, instrument
150150
otel_warn!( name: "MetricCardinalityLimitReached",
151-
error = format!("{}", MetricsError::Other("Maximum data points for metric stream exceeded. Entry added to overflow. Subsequent overflows to same metric until next collect will not be logged.".into())),
151+
message = format!("{}", MetricsError::Other("Maximum data points for metric stream exceeded. Entry added to overflow. Subsequent overflows to same metric until next collect will not be logged.".into())),
152152
cardinality_limit = cardinality_limit() as u64,
153153
);
154154
}

0 commit comments

Comments
 (0)