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.
1 parent 2e31eee commit dcfdeabCopy full SHA for dcfdeab
internal/tracer/client.go
@@ -62,8 +62,8 @@ func init() {
62
}
63
64
// Set the OpenTelemetry traces' endpoint only if specified.
65
- if os.Getenv("OTEL_TRACES_ENDPOINT") != "" {
66
- opts = append(opts, otlptracegrpc.WithEndpoint(os.Getenv("OTEL_TRACES_ENDPOINT")))
+ if os.Getenv("OTEL_EXPORTER_OTLP_TRACES_ENDPOINT") != "" {
+ opts = append(opts, otlptracegrpc.WithEndpoint(os.Getenv("OTEL_EXPORTER_OTLP_TRACES_ENDPOINT")))
67
68
69
// Create the trace exporter.
0 commit comments