Skip to content

infra: add watchdog for batcher - #1311

Merged
JuArce merged 3 commits into
stagingfrom
1310-infra-add-watchdog-for-batcher
Nov 4, 2024
Merged

infra: add watchdog for batcher#1311
JuArce merged 3 commits into
stagingfrom
1310-infra-add-watchdog-for-batcher

Conversation

@JuArce

@JuArceJuArce commented Oct 23, 2024

Copy link
Copy Markdown
Collaborator

Batcher Watchdog

Description

This PR adds a watchdog that restart the batcher if it gets stuck trying to send a transaction to ethereum

@JuArceJuArce self-assigned this Oct 23, 2024
Comment threadinfra/watchdog/batcher/README.md Outdated
@@ -0,0 +1,36 @@
# Batcher Watchdog

The Batcher Watchdog checks a prometheus metric and restart the batcher as needed

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit more detail would be appreciated. Which metric is checked? How often is it checked? What does "as needed" mean? I know the answers because we sit close to each other, but someone in the future will not know this.

Comment threadinfra/watchdog/batcher/README.md Outdated
Comment threadinfra/watchdog/batcher/batcher_watchdog.sh Outdated
@Oppen

Copy link
Copy Markdown
Contributor

Seems OK overall.

@JuArceJuArce linked an issue Oct 25, 2024 that may be closed by this pull request

@IAvecillaIAvecilla left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@JuArce
JuArce merged commit 9100ad0 into stagingNov 4, 2024
@JuArce
JuArce deleted the 1310-infra-add-watchdog-for-batcher branch November 4, 2024 13:58
PatStiles pushed a commit that referenced this pull request Nov 6, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

infra: add watchdog for Batcher

3 participants

@JuArce@Oppen@IAvecilla