openownership / register

A demonstration transnational register of beneficial ownership data from the UK, Denmark, Slovakia and Armenia
https://register.openownership.org
GNU Affero General Public License v3.0
18 stars 3 forks source link

PSC-STM-B5: Monitoring of PSC Transformer #253

Open tiredpixel opened 6 months ago

tiredpixel commented 6 months ago

Since it should be running continuously, it is important to get notifications of when it has crashed.

It ought to be recovering if it is a brief crash, since the stream pointer is stored so it can resume from where it was. However, frequent crashes could show something need fixing, and a long outage could lead to the stream data no longer being available (a sign we will need to ingest the bulk S3 data to get any missing data).

Add monitoring so that some notification is sent for whenever it goes down and uptime status.

Estimate: 1 hour

tiredpixel commented 3 months ago

Noting here that I'm going with the conclusions of https://github.com/openownership/register/issues/247 . That means using Airbrake, at present, but with the flexibility to change quite easily if the need arises (e.g. it becomes too expensive).