From 182cd2ca2e47331b5101cd20861ab20091df9a8f Mon Sep 17 00:00:00 2001 From: Lalit Date: Sun, 27 Oct 2024 21:57:09 -0700 Subject: [PATCH] Fix --- opentelemetry-sdk/src/trace/sampler/jaeger_remote/sampler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opentelemetry-sdk/src/trace/sampler/jaeger_remote/sampler.rs b/opentelemetry-sdk/src/trace/sampler/jaeger_remote/sampler.rs index c034a28d11..686add82a7 100644 --- a/opentelemetry-sdk/src/trace/sampler/jaeger_remote/sampler.rs +++ b/opentelemetry-sdk/src/trace/sampler/jaeger_remote/sampler.rs @@ -204,7 +204,7 @@ impl JaegerRemoteSampler { match Self::request_new_strategy(&client, endpoint.clone()).await { Ok(remote_strategy_resp) => strategy.update(remote_strategy_resp), Err(err_msg) => { - otel_error!( + otel_warn!( name: "JaegerRemoteSampler.UpdateStrategy.RequestFailed", message = "Failed to fetch the new sampling strategy from remote endpoint. This may cause the sampler to use stale configuration until the next successful update.", reason = format!("{}", err_msg),