diff --git a/internal/tracing/tracing.go b/internal/tracing/tracing.go index ee25e43c7..ec23294ca 100644 --- a/internal/tracing/tracing.go +++ b/internal/tracing/tracing.go @@ -60,7 +60,7 @@ func Initialize() error { case "grpc": opts := []otlptracegrpc.Option{ otlptracegrpc.WithEndpoint(config.GetTracingEndpoint()), - otlptracegrpc.WithHeaders(config.NewState().GetTracingHeaders()), + otlptracegrpc.WithHeaders(config.GetTracingHeaders()), } if insecure { opts = append(opts, otlptracegrpc.WithInsecure())