Docs
Sign in

Early Warnings

Early warnings lists the findings of the Granger scheduler: pairs of metrics where one looks like it moves ahead of the other, so you can react sooner.

Screenshot to add: The Early warnings tab with the status picker, the Refresh button, a table of warnings, and the collapsed Manual Granger F-test panel.

A Granger test is a standard statistical check. It asks whether past values of one series help predict another. A significant result means "this metric tends to lead that one". It still does not prove cause. This page is a tab of KPI Causality.

Other tabs send you here when they are empty, because running a refresh here is what fills them with data.

The toolbar

The line on the left reads like "12 active warnings — Granger scheduler findings".

ControlWhat it does
Warning statusShow Active (the default), Dismissed or All
RefreshRe-scan for new warnings. The button reads Refreshing… while it works

After a refresh, a message reports how many warnings were emitted, how many entities were scanned, and how many were skipped as duplicates.

The warnings table

ColumnWhat it shows
SeverityHigh, Medium or Low, from the corrected p-value. See below
Co-moving pairThe two metrics, joined by a dash
min pThe smallest corrected p-value, to four decimals
RegimeThe regime badge, if any
DetectedWhen the warning was found
ActionsA Dismiss button, or a dismissed pill if it is already dismissed

The table shows 25 rows per page and loads up to 100 warnings.

How severity is set

Corrected min pSeverity
Under 0.01High
Under 0.05Medium
0.05 or moreLow

A warning with no p-value has no severity and shows —. The page does not guess one.

Open a warning

Click a row to open its panel. Click the row again to close it.

FieldMeaning
SeverityAs above
Cause and EffectThe two metrics
Lag typeHow long the delay is. See Lag Taxonomy
min p (corrected)The corrected p-value
Significant lagsThe lags that passed the test, shown as tags
RegimeThe regime badge
StatusActive or dismissed
Dismissed atWhen it was dismissed

The panel footer has the Dismiss button.

  1. Find new warnings

    Click Refresh. Wait for the confirmation message.

  2. Review them

    Sort through the table and click rows that look important, such as High severity.

  3. Dismiss the ones you do not need

    Click Dismiss. The warning moves out of Active. Switch the status picker to Dismissed or All to see it again.

If the table is empty, the page says "No early warnings in this filter", and offers Run refresh. If a request fails you see "Refresh failed." or "Dismiss failed.".

Manual Granger F-test

Below the table is a collapsed panel called Manual Granger F-test, with the hint "ad-hoc analysis when the scheduler is stale". Click it to open a small form.

FieldWhat to enter
x (cause)A list of numbers for the possible cause. Use commas, spaces or semicolons
y (effect)A list of numbers for the possible effect
max_lagThe longest lag to test, from 1 to 10. The default is 3

Both lists must be the same length. They also need at least 17 observations, otherwise the page shows "Need ≥ 17 observations". If a value is not a number it says "invalid number in series".

Click Run F-test. The result shows Causal or Not causal, the lag type, the p-value and the significant lags. Nothing is saved from a manual test.