Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow multiple checks attached to a service #230
It would be useful if a service can have multiple checks associated with it. For example you might want a check for seeing if the service is alive and a check to make sure that the service is running the correct software version.
By allowing multiple checks its then possible to build generic checks for checking version while having a check specific to the service for checking if the service is running.
referenced this issue
Jun 29, 2014
From my point of view it's important to be able to register/deregister service health checks independent of the service itself. This allows to add health checks at a later time without re-regestring the service itself. Currently it's only possible to register the one service health check together with the service.
This is really a different issue, but if there will be changes to service registration I'd just like to note that it's important to be able to mutate a service definition without having to deregister then reregister it. Consider acquiring a lock and then needing to add a tag (e.g. "master") without losing the lock by first deregistering the service and its associated health checks.