From 9cd9efd218b401583011a0c235019f517949db0b Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Thu, 12 Aug 2021 14:30:05 +0300 Subject: [PATCH] More fixes for otel example --- example/otel/example-client.go | 2 +- example/otel/go.mod | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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