-
Notifications
You must be signed in to change notification settings - Fork 2.6k
.maintain/monitoring/alerting-rules: Adjust transaction queue size alert #6426
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,24 +73,33 @@ groups: | |
# Transaction queue | ||
############################################################################## | ||
|
||
- alert: TransactionQueueSize | ||
expr: 'polkadot_sub_txpool_validations_scheduled - | ||
polkadot_sub_txpool_validations_finished > 10' | ||
- alert: TransactionQueueSizeIncreasing | ||
expr: 'increase(polkadot_sub_txpool_validations_scheduled[5m]) - | ||
increase(polkadot_sub_txpool_validations_finished[5m]) > 0' | ||
for: 10m | ||
labels: | ||
severity: warning | ||
annotations: | ||
message: 'The node {{ $labels.instance }} has more than 10 transactions in | ||
the queue for more than 10 minutes' | ||
- alert: TransactionQueueSize | ||
expr: 'polkadot_sub_txpool_validations_scheduled - | ||
polkadot_sub_txpool_validations_finished > 10' | ||
message: 'The transaction pool size on node {{ $labels.instance }} has | ||
been monotonically increasing for the last 10 minutes.' | ||
- alert: TransactionQueueSizeIncreasing | ||
expr: 'increase(polkadot_sub_txpool_validations_scheduled[5m]) - | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above about |
||
increase(polkadot_sub_txpool_validations_finished[5m]) > 0' | ||
for: 30m | ||
labels: | ||
severity: critical | ||
annotations: | ||
message: 'The node {{ $labels.instance }} has more than 10 transactions in | ||
the queue for more than 30 minutes' | ||
message: 'The transaction pool size on node {{ $labels.instance }} has | ||
been monotonically increasing for the last 30 minutes.' | ||
- alert: TransactionQueueSizeHigh | ||
expr: 'polkadot_sub_txpool_validations_scheduled - | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above about |
||
polkadot_sub_txpool_validations_finished > 10000' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
for: 5m | ||
labels: | ||
severity: critical | ||
annotations: | ||
message: 'The transaction pool size on node {{ $labels.instance }} has | ||
been above 10_000 for the last 5 minutes.' | ||
|
||
############################################################################## | ||
# Networking | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should
polkadot_sub_txpool_validations_invalid
be taken into account too? Maybeincrease(polkadot_sub_txpool_validations_scheduled[5m]) - increase(polkadot_sub_txpool_validations_finished[5m]) - increase(polkadot_sub_txpool_validations_invalid[5m]) > 0
WDYT?