mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 21:57:55 +00:00
.maintain/monitoring/alerting-rules: Remove HighCPUUsage alert (#6648)
The `HighCPUUsage` alert is based on the `cpu_usage_percentage` metric. Instead of exposing the overall CPU usage in percent, the metric exposes the per core usage summed over all cores. This commit removes the alert for two reasons: 1. Substrate itself does not expose the core count and thus one can not alert based on the `cpu_usage_percentage` metric. 2. Alerting based on CPU usage is generic and not specific to Substrate or Blockchains. Thus any CPU usage alert suffice.
This commit is contained in:
@@ -2,19 +2,6 @@ groups:
|
||||
- name: polkadot.rules
|
||||
rules:
|
||||
|
||||
##############################################################################
|
||||
# Resource usage
|
||||
##############################################################################
|
||||
|
||||
- alert: HighCPUUsage
|
||||
expr: polkadot_cpu_usage_percentage >= 100
|
||||
for: 5m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
message: 'The node {{ $labels.instance }} has a CPU usage higher than 100%
|
||||
for more than 5 minutes'
|
||||
|
||||
##############################################################################
|
||||
# Block production
|
||||
##############################################################################
|
||||
|
||||
Reference in New Issue
Block a user