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
This commit is contained in:
Joe Kralicky 2025-02-04 13:29:06 -05:00 committed by GitHub
parent efe3cef2e4
commit 81a52db749
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}
}