Skip to content

Commit

Permalink
chore: fixed some alerts (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
freak12techno authored May 15, 2024
1 parent a92cda0 commit 2cb8b8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ groups:
description: "No new events from WS node"

- alert: CosmosTransactionsBotNoNewEventsFromChain
expr: sum(rate(cosmos_transactions_bot_events_total[5m])) by (chain) == 0
expr: sum(rate(cosmos_transactions_bot_events_total[5m])) by (chain, host, job, instance) == 0
for: 60m
labels:
severity: critical
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ groups:
description: "No new events from WS node"

- alert: MissedBlocksCheckerNoNewEventsFromChain
expr: sum(rate(missed_blocks_checker_events_total[1m])) by (chain) == 0
expr: sum(rate(missed_blocks_checker_events_total[1m])) by (chain, job, host, instance) == 0
for: 5m
labels:
severity: critical
annotations:
summary: No new events from chain
description: "No new events from chain"
description: "No new events from chain {{ $labels.chain }}"

- alert: MissedBlocksCheckerTimeSinceLatestEvent
expr: time() - missed_blocks_checker_last_time > 600
Expand Down

0 comments on commit 2cb8b8f

Please sign in to comment.