Skip to content

Update RestTemplate metrics auto-configuration to the new Observation instrumentation #32484

@bclozel

Description

@bclozel

Since spring-projects/spring-framework#28341, Spring Framework now instruments directly RestTemplate, removing the need for a custom request interceptor (with well known limitations).

With this issue, we should update the auto-configuration to only rely on the new ObservationRegistry and configure the instrumentation available on RestTemplate. We need to provide a smooth upgrade experience: deprecate the tags providers and adapt them to the new infrastructure until it's completely removed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions