Skip to content

RestClient instrumentation unnecessarily calls stop on a closed observation #33346

@snicoll

Description

@snicoll

When RestClient instruments reading the response body, it will trigger stop on an exception, which is already handled by closing the ClientHttpResponse. This results on multiple calls to stop.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)theme: observabilityAn issue related to observability and tracingtype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions