docs(otel): fix NewClient call in README example (#4147)

This commit is contained in:
ump45nose authored and GitHub committed 2026-10-19 14:06:03 +03:00
1 parent 04fc134839
commit c422850371
1 file changed
+1 -1
+1 -1
View File
@@ -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 {