diff --git a/telemetryutils/config.go b/telemetryutils/config.go index bf617ab..5c1d1f2 100644 --- a/telemetryutils/config.go +++ b/telemetryutils/config.go @@ -28,7 +28,7 @@ var ( ) type Config struct { - FileConfig FileConfig `json:"file" pflag:",Configuration for exporting telemetry traces to a file"` + FileConfig FileConfig `json:"file" pflag:",Configuration for exporting telemetry traces to a file"` JaegerConfig JaegerConfig `json:"jaeger" pflag:",Configuration for exporting telemetry traces to a jaeger"` } diff --git a/telemetryutils/factory.go b/telemetryutils/factory.go index 1fc731f..a6ba0cc 100644 --- a/telemetryutils/factory.go +++ b/telemetryutils/factory.go @@ -5,12 +5,12 @@ import ( "github.com/flyteorg/flytestdlib/version" - "go.opentelemetry.io/otel/exporters/stdout/stdouttrace" "go.opentelemetry.io/otel/exporters/jaeger" + "go.opentelemetry.io/otel/exporters/stdout/stdouttrace" "go.opentelemetry.io/otel/sdk/resource" "go.opentelemetry.io/otel/sdk/trace" - rawtrace "go.opentelemetry.io/otel/trace" semconv "go.opentelemetry.io/otel/semconv/v1.12.0" + rawtrace "go.opentelemetry.io/otel/trace" ) const (