diff --git a/go.mod b/go.mod index 5025771..9fe99e3 100644 --- a/go.mod +++ b/go.mod @@ -6,6 +6,7 @@ require ( go.opentelemetry.io/otel v1.16.0 go.opentelemetry.io/otel/sdk v1.16.0 go.opentelemetry.io/otel/trace v1.16.0 + go.unistack.org/micro/v3 v3.10.23 go.unistack.org/micro/v4 v4.0.4 ) diff --git a/go.sum b/go.sum index 336d915..004d74b 100644 --- a/go.sum +++ b/go.sum @@ -15,6 +15,8 @@ go.opentelemetry.io/otel/sdk v1.16.0 h1:Z1Ok1YsijYL0CSJpHt4cS3wDDh7p572grzNrBMiM go.opentelemetry.io/otel/sdk v1.16.0/go.mod h1:tMsIuKXuuIWPBAOrH+eHtvhTL+SntFtXF9QD68aP6p4= go.opentelemetry.io/otel/trace v1.16.0 h1:8JRpaObFoW0pxuVPapkgH8UhHQj+bJW8jJsCZEu5MQs= go.opentelemetry.io/otel/trace v1.16.0/go.mod h1:Yt9vYq1SdNz3xdjZZK7wcXv1qv2pwLkqr2QVwea0ef0= +go.unistack.org/micro/v3 v3.10.23 h1:4BE7NwwyJbCWOfzjzztamBxJSgRHHW1uQtMGNDLHG3s= +go.unistack.org/micro/v3 v3.10.23/go.mod h1:XIArw29f0b3uvF4cq96X/nQt2f0J2OGnjh8J+DBbC0s= go.unistack.org/micro/v4 v4.0.1 h1:xo1IxbVfgh8i0eY0VeYa3cbb13u5n/Mxnp3FOgWD4Jo= go.unistack.org/micro/v4 v4.0.1/go.mod h1:p/J5UcSJjfHsWGT31uKoghQ5rUQZzQJBAFy+Z4+ZVMs= go.unistack.org/micro/v4 v4.0.4 h1:tbCpqXQTAqK57LeasRR1uSTnGC+xs7K57bxifKmhzUQ= diff --git a/options.go b/options.go index e6a9c2a..5e19195 100644 --- a/options.go +++ b/options.go @@ -3,7 +3,7 @@ package otel import ( tracesdk "go.opentelemetry.io/otel/sdk/trace" "go.opentelemetry.io/otel/trace" - "go.unistack.org/micro/v4/tracer" + "go.unistack.org/micro/v3/tracer" ) type providerKey struct{} diff --git a/otel.go b/otel.go index 3e2bdcb..7bd10e6 100644 --- a/otel.go +++ b/otel.go @@ -12,8 +12,8 @@ import ( "go.opentelemetry.io/otel/propagation" tracesdk "go.opentelemetry.io/otel/sdk/trace" "go.opentelemetry.io/otel/trace" - "go.unistack.org/micro/v4/metadata" - "go.unistack.org/micro/v4/tracer" + "go.unistack.org/micro/v3/metadata" + "go.unistack.org/micro/v3/tracer" ) var _ tracer.Tracer = (*otelTracer)(nil)