tangle-network / relayer

🕸️ The Webb Relayer Network
https://webb-tools.github.io/relayer/
Apache License 2.0
22 stars 13 forks source link

[TASK] Make use of metrics to create alerts for the relayer #389

Closed shekohex closed 1 year ago

shekohex commented 1 year ago

Overview

After creating the Grafana dashboard and utilizing the relayer metrics for monitoring in #388, we should also make use of this by creating an alert system that would notify us (using some sort of push notifications) with the following fields:

  1. Relayer's account balance (for each configured network)
  2. Total gas fee spent (across every configured network / Bridge)
  3. Total Fees earned (for each configured VAnchor)

Task Checklist

Nutomic commented 1 year ago

To give an update for this, it seems pretty much impossible to create daily alerts in Grafana. Its not mentioned in docs at all, the only reference I could find is this old thread and the suggested solution isnt working in current Grafana versions. So I think for daily updates its better to view the dashboard.

shekohex commented 1 year ago

Fair. So the other points we can do this right? like the Send an urgent alert if the account balance is lower than X native token.

Nutomic commented 1 year ago

Yes I just opened the PR for that: https://github.com/webb-tools/relayer/pull/479