exclude redis command args from span tags (#1496)
This commit is contained in:
committed by
Marcin Grzejszczak
parent
795bb007e5
commit
bc640791ab
@@ -92,6 +92,7 @@ class TraceLettuceClientResourcesBeanPostProcessor implements BeanPostProcessor
|
||||
"Lettuce ClientResources bean is auto-configured to enable tracing.");
|
||||
}
|
||||
BraveTracing lettuceTracing = BraveTracing.builder().tracing(this.tracing)
|
||||
.excludeCommandArgsFromSpanTags()
|
||||
.serviceName(traceRedisProperties.getRemoteServiceName()).build();
|
||||
return cr.mutate().tracing(lettuceTracing).build();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user