mento-protocol / governance-watchdog

A system that monitors Mento Governance events on-chain and sends notifications about them to Discord and Telegram
0 stars 0 forks source link

feat: add monitoring terraform module #9

Closed nvtaveras closed 1 month ago

nvtaveras commented 1 month ago

This adds a monitoring module that sets up the monitoring for the watchdog function within GCP. It includes:

The only "manual" part is the creation of the webhook url which is a one time thing done in victorops and has to be configured as a variable in terraform.

I tested this by temporarily setting the aggregation time of the metric to 5 minutes and disabling the quicknode notification. The alert was correctly sent to victorops and it auto resolved after re-enabling the quicknode notifications.