We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7bd7285 + de41f3f commit c521afdCopy full SHA for c521afd
util/tracing/detect/otlp.go
@@ -16,7 +16,7 @@ func init() {
16
}
17
18
func otlpExporter() (sdktrace.SpanExporter, error) {
19
- set := os.Getenv("OTEL_TRACES_EXPORTER") == "otpl" || os.Getenv("OTEL_EXPORTER_OTLP_ENDPOINT") != "" || os.Getenv("OTEL_EXPORTER_OTLP_TRACES_ENDPOINT") != ""
+ set := os.Getenv("OTEL_TRACES_EXPORTER") == "otlp" || os.Getenv("OTEL_EXPORTER_OTLP_ENDPOINT") != "" || os.Getenv("OTEL_EXPORTER_OTLP_TRACES_ENDPOINT") != ""
20
if !set {
21
return nil, nil
22
0 commit comments