Join the waitlist

Docs · Concepts

Anomaly detection

How PingDing learns what normal looks like for each check, and the four rules that flag runs that don't fit.

A job that ran isn't always a job that worked. Once a check has enough history, PingDing compares each run with the check's own normal and flags the ones that don't fit.

Learning

A check is learning until 30 runs have completed (success or fail). It sends no anomaly alerts until then. The dashboard shows how far along it is, such as learning · 12/30.

The baseline is the check's last 30 to 50 finished runs: the median duration and the band from p5 to p95. Each run is judged against the runs before it, and anomalous runs stay in the baseline, so a lasting change is learned after a few alerts.

The rules

Rule Fires when
Slow run A successful run takes longer than p95 plus the tolerance.
Fast success A successful run finishes quicker than p5 minus the tolerance. Catches jobs that "succeed" because they had nothing to do.
Failure spike Failures among the last 10 runs are well above the check's usual failure rate.
Missed runs Several deadlines in a row pass with no ping at all (3 by default, 2 to 10).

Duration rules need runs timed with /start.

Tolerance and sensitivity

The tolerance is a multiple of the band's width (with a floor of 10 % of the median, and at least one second). Each check has a sensitivity:

Sensitivity Tolerance Failure spike
Off no anomaly rules –
Low 3 × band 5 of the last 10 failed, at 4 × the usual rate
Normal (default) 1.5 × band 3 of the last 10, at 3 ×
High 0.75 × band 2 of the last 10, at 2 ×

You can also set a custom tolerance per check, from 0.25 to 10 in steps of 0.25.

Where anomalies show

  • In the check's duration chart (violet marks) and run history.
  • In the heartbeat bars on the checks list.
  • As anomaly alerts, on channels that have them on.
$ waiting for first ping

Be first to know when we launch.

One email at launch, and nothing else unless you ask for it.