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

Feat/empty blocks #89

Merged
merged 6 commits into from
Dec 6, 2024
Merged

Conversation

quertc
Copy link

@quertc quertc commented Dec 6, 2024

Updated tenderduty with new metrics for empty CL blocks and corresponding notifications in discord/telegram/pagerduty.

New prometheus stats:

  • tenderduty_empty_proposed_blocks - count of empty blocks proposed (blocks with zero transactions) since tenderduty was started
  • tenderduty_consecutive_empty_blocks - the current count of consecutively proposed empty blocks

Alerts configuration (located in example-config.yml):

# Empty blocks notification configuration
consecutive_empty_enabled: yes
# How many consecutive empty blocks should trigger a notification?
consecutive_empty: 3
# Consecutive Empty alert Pagerduty Severity
consecutive_empty_priority: critical

# For some Cosmos EVM chains, empty consensus blocks may decrease execution uptime
# since they aren't included in EVM state. Should an alert be sent if empty blocks are detected?
empty_percentage_enabled: yes
# What percentage should trigger the alert
empty_percentage: 2
# Percentage Empty alert Pagerduty Severity
empty_percentage_priority: warning

@dylanschultzie
Copy link
Collaborator

Thanks! I'm going to pull and test this later today.

@dylanschultzie dylanschultzie merged commit 5524674 into blockpane:develop Dec 6, 2024
3 of 4 checks passed
Sign up for free to 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.

2 participants