We have recently started using Consul for service registry.
we use grpc health check to to say if service registered is healthy or not. Now we want to monitor uptime of our services in some way so that we will be able to say eg. service was up for 23 hours out of 24 hours.
Does consul exports some kinds of metrics using which I can create some dashboard in grafana which will show uptime of service.(We are not running on container platform)
Any help regarding how to measure service uptime registered in consul is appreciated
I have read this. This document has details about consul cluster monitoring and its health.
It nowhere talks about health of services registered to it.
I realize this is an old thread but this does seem like a worthwhile feature in Consul. It’s probably easier to track downtime rather than uptime and do the math. I don’t see any feature requests or proposals for this in Consul though.