From 81a52db74940f488ed99664d210312c3787c1f32 Mon Sep 17 00:00:00 2001 From: Joe Kralicky Date: Tue, 4 Feb 2025 13:29:06 -0500 Subject: [PATCH] tracing: add missing check for otel_exporter_otlp_endpoint in envoy trace config (#5472) add missing check for otel_exporter_otlp_endpoint in envoy trace config --- config/envoyconfig/tracing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/envoyconfig/tracing.go b/config/envoyconfig/tracing.go index 2284ced78..042108d93 100644 --- a/config/envoyconfig/tracing.go +++ b/config/envoyconfig/tracing.go @@ -33,7 +33,7 @@ func isTracingEnabled(cfg *otelconfig.Config) bool { case "none", "noop", "": return false default: - return cfg.OtelExporterOtlpTracesEndpoint != nil + return cfg.OtelExporterOtlpTracesEndpoint != nil || cfg.OtelExporterOtlpEndpoint != nil } }