Closed
Description
Issue tracker is used for reporting bugs and discussing new features. Please use
stackoverflow for supporting issues.
Expected Behavior
Current Behavior
cd example/otel
go run main.go
# command-line-arguments
./main.go:27:14: cannot use redisotel.TracingHook{} (value of type redisotel.TracingHook) as type redis.Hook in argument to rdb.AddHook:
redisotel.TracingHook does not implement redis.Hook (AfterProcess method has pointer receiver)
Possible Solution
rdb.AddHook(redisotel.TracingHook{})
-->
rdb.AddHook(redisotel.NewTracingHook())
Steps to Reproduce
Context (Environment)
Detailed Description
Possible Implementation
Metadata
Metadata
Assignees
Labels
No labels