mirror of
https://github.com/redis/go-redis.git
synced 2026-10-28 08:24:54 +08:00
docs(otel): fix NewClient call in README example (#4147)
This commit is contained in:
1 parent
04fc134839
commit
c422850371
1 file changed
+1
-1
@@ -16,7 +16,7 @@ import (
|
||||
"github.com/redis/go-redis/extra/redisotel/v9"
|
||||
)
|
||||
|
||||
rdb := rdb.NewClient(&rdb.Options{...})
|
||||
rdb := redis.NewClient(&redis.Options{...})
|
||||
|
||||
// Enable tracing instrumentation.
|
||||
if err := redisotel.InstrumentTracing(rdb); err != nil {
|
||||
|
||||
Reference in new issue
Block a user