spring boot 3.3.2 missing servo metrics with jmx_prometheus_javaagent
huntkalio opened this issue · 4 comments
I use spring-cloud-netflix for eureka server,and use jmx_prometheus_javaagent to get metric from JMX。
A):spring boot 2.7.18 + netflix-eureka-server-3.1.7
B):spring boot 3.3.2 + netflix-eureka-server-4.1.3
In A I can get many metric like: com_netflix_servo_localRegistrySize_value (from eurekaserver servo);but in B there is nothing 。How can I get servo metrics after I upgrade spring boot version?
I've closed the issue on the Boot side. If it happens to be a Spring Boot bug, I'm happy to re-open it again.
and I found in B there in no MBean like com.netflix.servo
I found spring-cloud-netflix 3.x use eureka 2.x which replace servo with spectator.Then I change to use spectator-reg-micrometer with micrometer-registry-prometheus in eurekaserver.Is it okay to do this?
These seems to refer to internal changes in https://github.com/Netflix projects and not something that Spring Cloud Netflix has reconfigured. Please inquire in that org about it.