mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-06 02:09:15 +02:00
add missing check for otel_exporter_otlp_endpoint in envoy trace config
This commit is contained in:
parent
dc9a6bdb81
commit
6d06fb27db
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ func isTracingEnabled(cfg *otelconfig.Config) bool {
|
||||||
case "none", "noop", "":
|
case "none", "noop", "":
|
||||||
return false
|
return false
|
||||||
default:
|
default:
|
||||||
return cfg.OtelExporterOtlpTracesEndpoint != nil
|
return cfg.OtelExporterOtlpTracesEndpoint != nil || cfg.OtelExporterOtlpEndpoint != nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue