diff --git a/core/lib/protobuf_config/src/observability.rs b/core/lib/protobuf_config/src/observability.rs index dcf87771b587..ab6b66849fde 100644 --- a/core/lib/protobuf_config/src/observability.rs +++ b/core/lib/protobuf_config/src/observability.rs @@ -33,8 +33,8 @@ impl ProtoRepr for proto::Observability { opentelemetry: self .opentelemetry .as_ref() - .map(|cfg| cfg.read().context("opentelemetry")) - .transpose()?, + .map(|cfg| cfg.read().ok()) + .flatten(), log_directives: self.log_directives.clone(), }) }