mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-28 18:06:34 +02:00
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:
parent
efe3cef2e4
commit
81a52db749
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue