docker-registry icon indicating copy to clipboard operation
docker-registry copied to clipboard

Define health-check endpoints for pingdom / monitoring

Open dmp42 opened this issue 11 years ago • 3 comments

The idea is: expose an (multiple?) endpoint(s) that does health checks (on the backend / system / whatever / to be defined) so we can hook pingdom or another system into that.

Need to explore pingdom possibilities first (authentication, custom headers, body processing).

Then need to decide what we want.

cc @discordianfish

dmp42 avatar Jul 30 '14 13:07 dmp42

Would this be a backwards-incompatible change and we'd need to update our storage drivers?

bacongobbler avatar Jul 30 '14 20:07 bacongobbler

@bacongobbler not likely I would like it to be transparent - the default interface would additionally provide a new method that could be overridden (but not necessarily).

Now, this one is more generally about the registry side of things.

About what could be done on driver land, this one is related: #482

dmp42 avatar Jul 31 '14 08:07 dmp42

@dmp42 Not sure if dedicated health checks are the best way, but I guess you can say best. My first approach would be to monitor the same things people actually hit like pulling/pushing things etc.

discordianfish avatar Jul 31 '14 15:07 discordianfish