purescript / registry-dev

Development work related to the PureScript Registry
https://github.com/purescript/registry
95 stars 80 forks source link

Add healthchecks to server #648

Closed thomashoneyman closed 1 year ago

thomashoneyman commented 1 year ago

We don't have any server monitoring right now, so if the registry server goes down we have no idea. However, we can use healthchecks.io service to provide monitoring and alert the infrastructure team.

If we wanted to self-host on a server apart from the registry server:

Note: we should only do this once #641 has merged, as this will lead to conflicts in the Nix configuration.

f-f commented 1 year ago

I'd argue we should use their hosted version instead of self-hosting - one should not host monitoring facilities on the same resource that needs monitoring! If the whole thing (the same server, or DigitalOcean) goes down then we'll never know 🙂

healthchecks.io is reliable (I use it for my own personal things since many years) and free to use for quite a few checks

thomashoneyman commented 1 year ago

Ha, of course. I've been having the various servers used by PureScript infrastructure on my mind lately. I agree with you. We should set it up on the hosted version.