Details
Description
Since 4.0.0 (combined with spring boot 3.x), actuator prometheus - http_server_request - stats are not good anymore, they are missing the correct uri tag that is now always UNKNOWN.
In 3.6.2 (combined with spring boot 2.7.x) this was working perfectly.
Here attached a pet project to reproduce the issue.
Run :
curl -s http://127.0.0.1:8080/services/sayHello/world curl -s http://127.0.0.1:8080/services/notFound Hello world, Welcome to CXF RS Spring Boot World!!! curl -s http://127.0.0.1:8080/actuator/prometheus | grep requests_seconds_count cxf_server_requests_seconds_count{exception="None",method="GET",operation="sayHello",outcome="SUCCESS",status="200",uri="/services/sayHello/ {a} ",} 1.0 http_server_requests_seconds_count {error="none",exception="none",method="GET",outcome="SUCCESS",status="200",uri="UNKNOWN",} 1.0 http_server_requests_seconds_count {error="none",excetpion="none",method="GET",outcome="CLIENT_ERROR",status="404",uri="NOT_FOUND",} 1.0
So cxf_server_requests are good but not http_server_requests
Worth to notice there was a fix working a while ago : https://github.com/apache/cxf/commit/cab4513374a14fd3549bd0cf86ef9b4996637546
Attachments
Attachments
Issue Links
- links to