epok

Metrics & Infrastructure

Metric Anomaly

Updated Jul 28, 2026 · 1d ago

Spikes and dips in any numeric metric — CPU, memory, queue depth, request rate — against that metric's own seasonal baseline.

Example alert

api-server cpu_usage 96% vs baseline 41% (robust score 7.8)

Exact wording varies — the detector generates titles from the anomaly it finds. This is representative of what an alert looks like when it fires.

How it works

Reads your metric series directly (no logs needed) and scores each point with a robust z-score (median + MAD, resistant to outliers) against a per-metric, per-time-of-week baseline. Counter-shaped series are rate-converted first so a monotonic counter doesn't read as a runaway spike.

Availability

Runs on these tiers:

TrialTeamGrowthCustom

Want to see this detector firing in the live demo?

Open alerts in the sandbox →

Related detectors

  • Resource Saturation

    A resource pinned near its limit — CPU, memory, disk, connection pool — long enough to matter, not a momentary touch.

  • Slow Drift

    The boiling-frog leak: a metric trending steadily the wrong way over hours, too gradual for any spike alarm to catch.

  • Metric Reporting Gap

    A metric series that simply stopped arriving — a dead exporter, a broken scrape, a crashed agent — where the absence is the alert.

  • Infrastructure Metric Rules

    Named-metric guardrails: pods stuck Pending, consumer-group lag, replication lag, restart storms — metrics with a known-bad level.

  • Host Liveness

    Flags a host or node that has stopped reporting, so a silent box surfaces as a warning rather than as missing data.

← All detectors