Skip to content

Commit

Permalink
keep mutex poisioning as otel_debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb committed Oct 28, 2024
1 parent 27558d9 commit ecbf50e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::trace::sampler::sample_based_on_probability;
use opentelemetry::trace::{
SamplingDecision, SamplingResult, TraceContextExt, TraceId, TraceState,
};
use opentelemetry::{otel_warn, Context};
use opentelemetry::{otel_debug, otel_warn, Context};
use std::collections::HashMap;
use std::fmt::{Debug, Formatter};
use std::sync::Mutex;
Expand Down Expand Up @@ -107,7 +107,7 @@ impl Inner {
}
})
.unwrap_or_else(|_err| {
otel_warn!(
otel_debug!(
name: "JaegerRemoteSampler.MutexPoisoned",
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.",
);
Expand Down

0 comments on commit ecbf50e

Please sign in to comment.