Skip to content

Document instrumentation for RestTemplate and/or WebClient #29904

Closed
@oppegard

Description

@oppegard

Affects: 6.0.x


The following callout was written in the Spring Sleuth documentation for HTTP clients:

You have to register RestTemplate as a bean so that the interceptors get injected. If you create a RestTemplate instance with a new keyword, the instrumentation does NOT work.

I can't figure out if the same guidance applies in 6.0.x for Micrometer Tracing at either:

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)theme: observabilityAn issue related to observability and tracingtype: documentationA documentation task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions