Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
4 of 5 tasks
shekohex opened this issue Mar 27, 2023 · 3 comments · Fixed by #479
Closed
4 of 5 tasks

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

shekohex opened this issue Mar 27, 2023 · 3 comments · Fixed by #479
Assignees

Comments

@shekohex
Copy link
Collaborator

shekohex commented Mar 27, 2023

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

  • Create the Alert on grafana [See: https://grafana.com/docs/grafana/latest/alerting]
  • Configure a slack bot/channel to send these alerts
  • Send the updates on interval of 1 day.
  • Send an urgent alert if the account balance is lower than X native token.
  • Test the alerting system.
@shekohex shekohex converted this from a draft issue Mar 27, 2023
@Nutomic Nutomic moved this from Not Started 🕧 to Building 🏗️ in Webb Universe Apr 20, 2023
@Nutomic
Copy link
Contributor

Nutomic commented Apr 25, 2023

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
Copy link
Collaborator Author

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
Copy link
Contributor

Nutomic commented Apr 26, 2023

Yes I just opened the PR for that: #479

@dutterbutter dutterbutter moved this from Building 🏗️ to Completed ✅ in Webb Universe Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants