.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:
Max Inden
2020-07-17 09:43:57 +02:00
committed by GitHub
parent 6995e5e5e1
commit fe9c01fc68
2 changed files with 0 additions and 39 deletions
@@ -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
##############################################################################