add missing check for otel_exporter_otlp_endpoint in envoy trace config

This commit is contained in:
Joe Kralicky 2025-02-04 18:01:20 +00:00
parent dc9a6bdb81
commit 6d06fb27db
No known key found for this signature in database
GPG key ID: 75C4875F34A9FB79

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