diff --git a/example/otel/example-client.go b/example/otel/example-client.go index bd21772..546d6c8 100644 --- a/example/otel/example-client.go +++ b/example/otel/example-client.go @@ -6,8 +6,8 @@ import ( "sync" "time" + "github.com/go-redis/redis/extra/redisotel/v8" "github.com/go-redis/redis/v8" - "github.com/go-redis/redis/v8/extra/redisotel" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/exporters/stdout/stdouttrace" sdktrace "go.opentelemetry.io/otel/sdk/trace" diff --git a/example/otel/go.mod b/example/otel/go.mod index 3b907a2..f964667 100644 --- a/example/otel/go.mod +++ b/example/otel/go.mod @@ -3,8 +3,8 @@ module github.com/go-redis/redis/example/otel go 1.14 require ( + github.com/go-redis/redis/extra/redisotel/v8 v8.10.0 github.com/go-redis/redis/v8 v8.11.2 - github.com/go-redis/redis/v8/extra/redisotel v0.0.0-00010101000000-000000000000 go.opentelemetry.io/otel v1.0.0-RC2 go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.0.0-RC2 go.opentelemetry.io/otel/sdk v1.0.0-RC2 @@ -13,4 +13,4 @@ require ( replace github.com/go-redis/redis/v8 => ../../ -replace github.com/go-redis/redis/v8/extra/redisotel => ../../extra/redisotel +replace github.com/go-redis/redis/extra/redisotel/v8 => ../../extra/redisotel