Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Expose Hystrix metrics to Actuator /metrics (and /prometheus) #3004
I would like to expose Hystrix metrics to Prometheus. It seems to me that the most natural way with spring-boot 2.0 is to use spring-boot-starter-actuator, spring-cloud-starter-netflix-hystrix and micrometer-registry-prometheus.
However with spring-cloud Finchley.RC2 this does not work. Hystrix stream is exposed to /actuator/hystrix.stream, but metrics are not exposed to /actuator/metrics
In spring-boot 1.5 + spring-cloud Edgware.SR3 Hystrix metrics were exposed to Actuator /metrics endpoint like so:
This might have something to do with
Sorry, could you expand on that a little bit?
I see, so when I manually configure a micrometer binder, the metrics do show up in both /actuator/metrics and /actuator/prometheus.
Thank you for your help. I was not able to find this step in docs until I knew what exactly to look for.