load

Reference for the `load` collector.

load · collector · run nanook doc load for the same content in your terminal.

System load averages.

Metrics

MetricKindUnitDescription
load.1mnumericload average over the last minute
load.5mnumericload average over the last 5 minutes
load.15mnumericload average over the last 15 minutes

Examples

Collect every 5s

[[collectors]]
name = "load"
interval = 5

Sustained 5-minute load above core count

# tune the threshold to match your CPU count
[[alerts]]
expr = "load.5m > 4"
count = 6
channel = "ops"

Sudden load spike

[[alerts]]
expr = "load.1m > 10"
count = 3
channel = "ops"
escalate = { after = 300, channel = "oncall" }