More fixes for otel example

This commit is contained in:
Vladimir Mihailenco 2021-08-12 14:30:05 +03:00
parent 084dcdea94
commit 9cd9efd218
2 changed files with 3 additions and 3 deletions

View File

@ -6,8 +6,8 @@ import (
"sync" "sync"
"time" "time"
"github.com/go-redis/redis/extra/redisotel/v8"
"github.com/go-redis/redis/v8" "github.com/go-redis/redis/v8"
"github.com/go-redis/redis/v8/extra/redisotel"
"go.opentelemetry.io/otel" "go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/exporters/stdout/stdouttrace" "go.opentelemetry.io/otel/exporters/stdout/stdouttrace"
sdktrace "go.opentelemetry.io/otel/sdk/trace" sdktrace "go.opentelemetry.io/otel/sdk/trace"

View File

@ -3,8 +3,8 @@ module github.com/go-redis/redis/example/otel
go 1.14 go 1.14
require ( 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 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 v1.0.0-RC2
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.0.0-RC2 go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.0.0-RC2
go.opentelemetry.io/otel/sdk 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 => ../../
replace github.com/go-redis/redis/v8/extra/redisotel => ../../extra/redisotel replace github.com/go-redis/redis/extra/redisotel/v8 => ../../extra/redisotel