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

Alert/node-crashed #8683

Merged
merged 7 commits into from
Apr 29, 2021
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ groups:
summary: "{{ $labels.testnet }} cluster nodes have crashed"
description: "{{ $value }} Cluster nodes have crashed on network {{ $labels.testnet }}."

- alert: MultipleNodeRestarted
expr: count by (testnet) (Coda_Runtime_process_uptime_ms_total ${rule_filter} < 600000) > 2
labels:
testnet: "{{ $labels.testnet }}"
severity: critical
annotations:
summary: "At least 3 nodes on {{ $lables.testnet }} restarted"
description: "{{ $value }} nodes on {{ $labels.testnet }} restarted"

- alert: HighDisconnectedBlocksPerHour
expr: max by (testnet) (increase(Coda_Rejected_blocks_no_common_ancestor ${rule_filter} [${alert_timeframe}])) > 3
labels:
Expand Down Expand Up @@ -344,6 +353,15 @@ groups:
description: "The rate of {{ $value }} new blocks observed by archive postgres instances is low on network {{ $labels.testnet }}."
runbook: "https://www.notion.so/minaprotocol/Archive-Node-Metrics-9edf9c51dd344f1fbf6722082a2e2465"

- alert: NodeRestarted
expr: count by (testnet) (Coda_Runtime_process_uptime_ms_total ${rule_filter} < 360000) > 0
labels:
testnet: "{{ $labels.testnet }}"
severity: warning
annotations:
summary: "At least one of the nodes on {{ $lables.testnet }} restarted"
description: "{{ $value }} nodes on {{ $labels.testnet }} restarted"
mrmr1993 marked this conversation as resolved.
Show resolved Hide resolved

- alert: UnparentedBlocksObserved
expr: max by (testnet) (Coda_Archive_unparented_blocks ${rule_filter}) > 1
for: ${alert_evaluation_duration}
Expand Down