-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Closed
Copy link
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)theme: observabilityAn issue related to observability and tracingAn issue related to observability and tracingtype: enhancementA general enhancementA general enhancement
Milestone
Description
Affects: 6.0.3
Problem Description
Ever since Spring Framework 6, the client.name
tag from http.client.requests
metrics are missing.
Steps to Reproduce
- Create a Spring Boot 3.0 application (which comes with Spring Framework 6)
- Add
spring-boot-starter-actuator
andspring-boot-starter-web
dependencies - Run a task that periodically send requests to external endpoint using
RestTemplate
- Visit
/actuator/metrics/http.client.requests
endpoint and observe that theclient.name
tag is missing
Sanity Check
- Create a Spring Boot 2.7.6 application (which comes with Spring Framework 5)
- Add
spring-boot-starter-actuator
andspring-boot-starter-web
dependencies - Run a task that periodically send requests to external endpoint using
RestTemplate
- Visit
/actuator/metrics/http.client.requests
endpoint and observe that theclient.name
tag is present
I've created a repository to help in reproducing the issue. Check out https://github.com/mchin7/actuator-missing-tag-demo
Sorry if this is issue is not a Spring Framework issue, any redirection to the correct project is highly appreciated!
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)theme: observabilityAn issue related to observability and tracingAn issue related to observability and tracingtype: enhancementA general enhancementA general enhancement