I read the Sleuth docs, but i didn't find informations about change default parameter name "traceId" or "spanId". Is it possible without adding extra fields?
@Override
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws IOException, ServletException {
Span currentSpan = this.tracer.currentSpan();
if (currentSpan == null) {
chain.doFilter(request, response);
return;
}
currentSpan.customizer().tag("correlationId", currentSpan.context().spanIdString());
chain.doFilter(request, response);
}