We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33ec88e commit ecbf658Copy full SHA for ecbf658
1 file changed
http_proxy.go
@@ -82,10 +82,10 @@ const (
82
)
83
84
// getTelemetryEndpoint returns the OTEL endpoint to use for telemetry.
85
-// It checks the OTEL_EXPORTER_OTLP_ENDPOINT environment variable first,
+// It checks the CUSTOM_OTLP_ENDPOINT environment variable first,
86
// falling back to the default if not set.
87
func getTelemetryEndpoint() string {
88
- if endpoint := os.Getenv("OTEL_EXPORTER_OTLP_ENDPOINT"); endpoint != "" {
+ if endpoint := os.Getenv("CUSTOM_OTLP_ENDPOINT"); endpoint != "" {
89
return endpoint
90
}
91
return defaultTeleportHost
0 commit comments