I want to add Redis tracing into Lettuce which only supports Brave from what I can tell.
So I want to get this code
@Bean(destroyMethod = "shutdown")
fun lettuceClientResources(): ClientResources {
return DefaultClientResources.builder()
.tracing(BraveTracing.create(**NOT SURE WHAT TO DO HERE**))
.build()
}
I tried
Tracing.current()
- Injecting a
brave.Tracing
doesn't exist
Just searched around the source code and found another class that does what I needed