RestTemplate Calls inside another RestTemplate's ClientHttpRequestInterceptor is not seen in as a span

You don't need the agent as a dependency, just the public API dependency. The agent will pickup the annotation regardless of how it is added/started.

Alternatively you can use the trace_methods config option if you don't want to perform any code changes.

1 Like