Skip to content

Day over Day (DoD)

YAML type: dod | Category: Periodic

Compares the current day to the previous day by percentual change.

Description

DoD is the simplest period comparison -- yesterday vs today. It has no aggregate mode (daily only).

How it works

Day over Day (DoD) illustration

Day over Day compares today's value to yesterday's and computes the percentual change. If the absolute change reaches percentualChange and the direction matches mode (above, below, or both), it raises a DoD anomaly.

There is no weekly or monthly aggregation -- evaluation is strictly day-to-day, so expect more noise than WoW/MoM unless you also use special dates.

Setup

Set percentualChange and mode (above, below, or both).

Configure detectors on the data view Analysis tab or in YAML. Validate with Data Preview before enabling production schedules.

Settings

Parameter Default Description
percentualChange 50 Minimum absolute % change to flag
mode both Direction -- see Allowed values

Allowed values

mode

Value Meaning
above Flag increases / values above the comparison (or high side of a band)
below Flag decreases / values below the comparison (or low side of a band)
both Flag either direction

Shared series filters

Most detectors also accept optional series filters in params:

Parameter Purpose
maxGapAmount Skip series when gap amount is too high (null = no limit). Catalog create-default is often 5.
minValue Skip series whose average value is below this (null = no limit). Catalog create-default is often 1000.
maxValue Skip series whose average value is above this (optional; omit/null = no limit)
useSpecialDates When true, suppress anomalies that overlap special dates

When a filter skips a series, Data Preview shows the reason.

Configuration example

analysis:
  detectors:
    - type: dod
      params:
        percentualChange: 50.0
        mode: both

Using the detector

Expect more noise than weekly/monthly comparisons. Pair with special dates for weekends/holidays.

Use cases

  • High-frequency ops KPIs
  • Early warning before weekly aggregates close
  • Incident response during known launch days

Specifics

For seasonality-aware daily checks consider dopy or sr.