Skip to content

Commit ecbf50e

Browse files
committed
keep mutex poisioning as otel_debug
1 parent 27558d9 commit ecbf50e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opentelemetry-sdk/src/trace/sampler/jaeger_remote/sampling_strategy.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use crate::trace::sampler::sample_based_on_probability;
66
use opentelemetry::trace::{
77
SamplingDecision, SamplingResult, TraceContextExt, TraceId, TraceState,
88
};
9-
use opentelemetry::{otel_warn, Context};
9+
use opentelemetry::{otel_debug, otel_warn, Context};
1010
use std::collections::HashMap;
1111
use std::fmt::{Debug, Formatter};
1212
use std::sync::Mutex;
@@ -107,7 +107,7 @@ impl Inner {
107107
}
108108
})
109109
.unwrap_or_else(|_err| {
110-
otel_warn!(
110+
otel_debug!(
111111
name: "JaegerRemoteSampler.MutexPoisoned",
112112
message = "Failed to update Jaeger Remote sampling strategy. The sampler's internal mutex is poisoned, indicating a panic occurred in another thread holding the lock. Sampling decisions may be using stale configuration.",
113113
);

0 commit comments

Comments
 (0)