README ¶ go-redis cluster instrumentation example Quickstart Install redisotel instrumentation: go get github.com/go-redis/redis/extra/redisotel/v8 Then add OpenTelemetry hook: rdb := redis.NewClient(&redis.Options{ Addr: "redis-server:6379", }) rdb.AddHook(redisotel.NewTracingHook()) Example To run this example you need a Redis cluster. You can start one with Docker: make up To run this example: UPTRACE_DSN="https://<token>@api.uptrace.dev/<project_id>" go run main.go Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.