Skip to content

Eureka server micrometer metrics for registered services #3685

@taasjord

Description

@taasjord

Enhancement

Metrics on Eureka server, both /actuator/metrics and eg. /actuator/prometheus provide only generic jvm and http server metrics. I would like to see metrics of the services registered with Eureka as well, something similar to what is displayed on the Eureka server status page that comes with eureka-server. This would be very useful to include in common dashboards like Grafana to see over time, add alerts for down services etc.

For example gauges like this (for Prometheus):

eureka_server_instances{application="my-app", instanceId="host1:my-app:9180", status="DOWN"}

Other interesting metrics could be Renews (last min) and status of replicas.

I'm thinking of writing something like this myself for our Eureka server, but if there is some existing implementation somewhere I'd like to know - or get some input whether others would find this useful enough to add to spring-cloud-netflix-eureka-server.

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions