Back
I'd like to ship Micrometer's default actuator metrics (JVM memory and the like) to an AWS ElasticSearch instance and visualize the data in Kibana.
I think I'm setting it up correctly but I'm getting no data in Kibana.
Here's my configuration:
compile 'io.micrometer:micrometer-registry-elastic:latest.release' management.metrics.export.elastic.host=https://${url}.us-east-1.es.amazonaws.com
URL is hard-coded in the application, I just removed it here. The URL I'm using is from my AWS Dashboard for the ES domain, where it lists:
Endpoint: https://${url}.us-east-1.es.amazonaws.com
But using this configuration I haven't been able to get any data to show up in Kibana.
Other considerations: I know Micrometer has access to this data because I have a Prometheus endpoint set up where I can see the actuator info. It's just a question of how it's supposed to be sent to elastic.
Resources:
Updating Spring-boot to 2.0.1 version can resolve it.
Learn how we helped 50,000+ professionals like you !
31k questions
32.8k answers
501 comments
693 users