Update dependencies

This commit is contained in:
2023-10-21 21:49:51 -07:00
parent cf33a99566
commit 7420ad12f4
3 changed files with 26 additions and 29 deletions

View File

@@ -38,7 +38,7 @@ func InitTracer(ctx context.Context, cfg *TracerConfig) error {
var err error
var exporter otelsdktrace.SpanExporter
if otlp := os.Getenv("OTEL_EXPORTER_OTLP_ENDPOINT"); len(otlp) > 0 {
if otlpEndPoint := os.Getenv("OTEL_EXPORTER_OTLP_ENDPOINT"); len(otlpEndPoint) > 0 {
exporter, err = newOLTPExporter(ctx)
}