lnflash / flash

fork of galoy bitcoin banking infrastructure
https://getflash.io
MIT License
4 stars 3 forks source link

Use DigitalOcean uptime monitoring for production deployment #72

Closed brh28 closed 3 months ago

brh28 commented 4 months ago

We want to monitor our production deployment for any application downtime. Purpose of this task is to use the DigitalOcean uptime monitoring tooling to do health checks on hosted infrastructure:

Read more here: https://www.digitalocean.com/products/uptime-monitoring

Updated to include following services:

brh28 commented 3 months ago

Graphql /healthz endpoint is behind Oathkeeper. This PR makes it publically accessible, so that DigitalOcean can make requests to it: https://github.com/lnflash/charts/pull/48

brh28 commented 3 months ago

Added Digital Ocean uptime monitoring for Graphql api and Ibex Webhook as well as uptime alerts to the emails bhindman@proton.me & github@bobodread.com.

https://cloud.digitalocean.com/monitors/uptime/checks/?i=d65ac8

islandbitcoin commented 3 months ago

DigitalOcean seems to provide an API to publicly display the uptime info:

curl -X GET -H "Content-Type: application/json" \
     -H "Authorization: Bearer your_api_token" \
     "https://api.digitalocean.com/v2/uptime_checks"