Skip to content

Commit b13d29d

Browse files
authored
Merge pull request #15716 from MinaProtocol/update-alerts-for-3.0.0
Update hardcoded genesis timestamp in alerts to 3.0.0 genesis timestamp
2 parents 2526b7e + 64879a5 commit b13d29d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

automation/terraform/modules/testnet-alerts/templates/testnet-alert-rules.yml.tpl

+8-8
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ groups:
193193
runbook: "https://www.notion.so/minaprotocol/LongFork-e65e5ad7437f4f4dbac201abbf9ace81"
194194

195195
- alert: OldBestTip
196-
expr: min by (testnet) ((time() - 1609459200) - Coda_Transition_frontier_best_tip_slot_time_sec ${rule_filter}) >= 15 * 180
196+
expr: min by (testnet) ((time() - 1717545600) - Coda_Transition_frontier_best_tip_slot_time_sec ${rule_filter}) >= 15 * 180
197197
labels:
198198
testnet: "{{ $labels.testnet }}"
199199
severity: critical
@@ -203,7 +203,7 @@ groups:
203203
runbook: "https://www.notion.so/minaprotocol/OldBestTip-8afa955101b642bd8356edfd0b03b640"
204204

205205
- alert: NoNewSnarks
206-
expr: min by (testnet) ((time() - 1609459200) - Coda_Snark_work_useful_snark_work_received_time_sec ${rule_filter}) >= 2 * 180 and max by (testnet) (Coda_Snark_work_pending_snark_work ${rule_filter}) != 0
206+
expr: min by (testnet) ((time() - 1717545600) - Coda_Snark_work_useful_snark_work_received_time_sec ${rule_filter}) >= 2 * 180 and max by (testnet) (Coda_Snark_work_pending_snark_work ${rule_filter}) != 0
207207
labels:
208208
testnet: "{{ $labels.testnet }}"
209209
severity: critical
@@ -213,7 +213,7 @@ groups:
213213
runbook: "https://www.notion.so/minaprotocol/NoNewSnarks-f86d27c81af54954b2fb61378bff9d4d"
214214

215215
- alert: NoNewTransactions
216-
expr: min by (testnet) ((time() - 1609459200) - Coda_Transaction_pool_useful_transactions_received_time_sec ${rule_filter}) >= 2 * 180
216+
expr: min by (testnet) ((time() - 1717545600) - Coda_Transaction_pool_useful_transactions_received_time_sec ${rule_filter}) >= 2 * 180
217217
labels:
218218
testnet: "{{ $labels.testnet }}"
219219
severity: warning
@@ -269,7 +269,7 @@ groups:
269269
runbook: "https://www.notion.so/minaprotocol/HighBlockGossipLatency-2096501c7cf34032b44e903ec1a4d79c"
270270

271271
- alert: SomewhatOldBestTip
272-
expr: count by (testnet) (((time() - 1609459200) - Coda_Transition_frontier_best_tip_slot_time_sec ${rule_filter}) >= 8 * 180) > 1
272+
expr: count by (testnet) (((time() - 1717545600) - Coda_Transition_frontier_best_tip_slot_time_sec ${rule_filter}) >= 8 * 180) > 1
273273
labels:
274274
testnet: "{{ $labels.testnet }}"
275275
severity: warning
@@ -580,7 +580,7 @@ groups:
580580
runbook: "https://www.notion.so/minaprotocol/LongFork-e65e5ad7437f4f4dbac201abbf9ace81"
581581

582582
- alert: OldBestTip
583-
expr: min by (testnet) ((time() - 1609459200) - Coda_Transition_frontier_best_tip_slot_time_sec {${berkeley_testnet},${synced_status_filter}} ) >= 15 * 180
583+
expr: min by (testnet) ((time() - 1717545600) - Coda_Transition_frontier_best_tip_slot_time_sec {${berkeley_testnet},${synced_status_filter}} ) >= 15 * 180
584584
labels:
585585
testnet: "{{ $labels.testnet }}"
586586
severity: critical
@@ -590,7 +590,7 @@ groups:
590590
runbook: "https://www.notion.so/minaprotocol/OldBestTip-8afa955101b642bd8356edfd0b03b640"
591591

592592
- alert: NoNewSnarks
593-
expr: min by (testnet) ((time() - 1609459200) - Coda_Snark_work_useful_snark_work_received_time_sec {${berkeley_testnet},${synced_status_filter}} ) >= 2 * 180 and max by (testnet) (Coda_Snark_work_pending_snark_work {${berkeley_testnet},${synced_status_filter}} ) != 0
593+
expr: min by (testnet) ((time() - 1717545600) - Coda_Snark_work_useful_snark_work_received_time_sec {${berkeley_testnet},${synced_status_filter}} ) >= 2 * 180 and max by (testnet) (Coda_Snark_work_pending_snark_work {${berkeley_testnet},${synced_status_filter}} ) != 0
594594
labels:
595595
testnet: "{{ $labels.testnet }}"
596596
severity: critical
@@ -600,7 +600,7 @@ groups:
600600
runbook: "https://www.notion.so/minaprotocol/NoNewSnarks-f86d27c81af54954b2fb61378bff9d4d"
601601

602602
- alert: NoNewTransactions
603-
expr: min by (testnet) ((time() - 1609459200) - Coda_Transaction_pool_useful_transactions_received_time_sec {${berkeley_testnet},${synced_status_filter}} ) >= 2 * 180
603+
expr: min by (testnet) ((time() - 1717545600) - Coda_Transaction_pool_useful_transactions_received_time_sec {${berkeley_testnet},${synced_status_filter}} ) >= 2 * 180
604604
labels:
605605
testnet: "{{ $labels.testnet }}"
606606
severity: warning
@@ -650,7 +650,7 @@ groups:
650650
runbook: "https://www.notion.so/minaprotocol/HighBlockGossipLatency-2096501c7cf34032b44e903ec1a4d79c"
651651

652652
- alert: SomewhatOldBestTip
653-
expr: count by (testnet) (((time() - 1609459200) - Coda_Transition_frontier_best_tip_slot_time_sec {${berkeley_testnet},${synced_status_filter}} ) >= 8 * 180) > 1
653+
expr: count by (testnet) (((time() - 1717545600) - Coda_Transition_frontier_best_tip_slot_time_sec {${berkeley_testnet},${synced_status_filter}} ) >= 8 * 180) > 1
654654
labels:
655655
testnet: "{{ $labels.testnet }}"
656656
severity: warning

0 commit comments

Comments
 (0)