http_server_requests_seconds_count
使用 spring 执行器公开的 Spring Boot 应用程序中的 2.0.8 版本的指标包含 URI :
“未知”。
Spring Boot 应用程序cxf-spring-boot-starter-jaxrs
用于公开其余端点。我micrometer-registry-prometheus
在我的项目中添加了依赖项。
http_server_requests_seconds_count{exception="None",method="POST",status="200",uri="UNKNOWN",} 2.0
我尝试在我的项目中添加 micrometer-jersey2 依赖项。
实际的
http_server_requests_seconds_count{exception="None",method="POST",status="200",uri="UNKNOWN",} 2.0
预期的:
http_server_requests_seconds_count{exception="None",method="GET",status="200",uri="/sayHello",} 2.0