My team and I are struggling to figure out a way to monitoring every instances of a dockerized service managed in a rancher.
Our goal
We would like to monitor every instance of our service in SBA in a readable manner (ex: having the container name as a service ID).
What we have
We are currently able to monitor every instance of a service. But those services are displayed with IP addresses.
http://10.42.41.109:8180/actuator/health
What we tried
We removed the prefer-ip
property played with the following to avoid having the container name as domain in the URL:
spring.boot.admin.client.instance.management-url
spring.boot.admin.client.instance.health-url
spring.boot.admin.client.instance.service-url
spring.boot.admin.client.instance.service-base-url
The last 2 did give us pretty URL, but we lost the ability to monitor each instance of a service (the last to register seems to be the one being monitored).
Sooo...
How can we retrieve health checks for each instance of a rancher managed service while keeping the monitoring human readable? Are we missing so magic option?
Thanks for the help :)