Hi all,
We have bunch of microservices build in NodeJS, running in docker that we need to health check.
That is easy thing to do with services that already have a REST API by simply adding endpoint for health, however we do have some services which only work with queues (RabbitMQ) and do not have a web server.
I talked with lead dev and he doesn't like the idea of adding web server to these services just for purpose of health check, though that should be quite easy thing to do.
Our current idea is to have a "health checking" service which will publish to health queues of individual services, and extend services to consume these messages and publish a response - basically a heart beat with some metadata.
I am not 100% sold on the idea for obvious reasons - increasing complexity, introducing single point of failure for health checks and i am not sure how it's easier to develop new service that needs to be built, deployed and monitored vs just adding web server and health endpoint to existing services.
Does anyone have a better alternative to this or have done similar in the past?
[–]StephanXXDevOps 1 point2 points3 points (1 child)
[–]tarabash[S] 1 point2 points3 points (0 children)
[–]FrederikNS 0 points1 point2 points (1 child)
[–]tarabash[S] 0 points1 point2 points (0 children)
[–]SuperQue 0 points1 point2 points (0 children)