Karyo
Documentation/ Extended user guide

Monitors

Karyo 2.1.1rendered at build time
On this page

Monitors watch your warehouse for seven kinds of trouble, such as stock close to its best-before date or orders that stopped moving. When a rule trips, Karyo raises an alert with a suggested fix. It can also send the alert by email or to Slack. Monitors never change stock or orders. A person reads the alert and acts.

Switch it on

A Company administrator who holds settings.manage switches Monitors on. Open Admin > Capabilities, turn on the Monitors row, press Review change, read the preview, and press Apply change. Nothing is reinstalled and no data moves.

Monitors needs nothing else to raise alerts inside Karyo. Every rule is already on for each Facility, so alerts appear as soon as a rule trips. Karyo checks the rules every 5 minutes by default. The installation sets that interval with karyo.monitors.interval (KARYO_MONITORS_INTERVAL).

To send alerts out, set a channel. Both settings are on Admin > System properties, in the group Alerts, and both are empty by default:

  • karyo.alerts.email.recipients - the email addresses, separated by commas. If it is empty, email delivery is refused.
  • karyo.alerts.slack.webhook-url - the Slack incoming-webhook address. The row carries an Ops-controlled label, because the server calls this address itself. The operator who runs the installation sets it.

Every rule starts with Email and Slack both off. You turn them on rule by rule.

What appears when it is on

  • Insights > Monitors in the sidebar, the command palette and the route /insights/monitors.
  • The Alerts group on Admin > System properties with the two settings above.
  • A Monitor alerts section on Overview > Exceptions, with a link to Monitors. It is the tenth section, after the nine checks Exceptions always runs.
  • Firing alerts in the Open exceptions total on Exceptions and in the Exceptions widget on Control, split by severity.
  • On Monitors: three counts (Active, Firing monitors, Muted), the Floor Assessment strip, the Exceptions card, the monitor list, the rule builder, the Alert feed and Recent deliveries.

Using it

The monitor list

Each row shows the rule name with what it checks, a status (Healthy, Firing or Muted), its scope, its severity, an Email and a Slack indicator, and an ON switch. The seven rules are fixed. You can change them. You cannot add or remove one. The Cross-dock expiry rule belongs to Cross-docking, so the list usually shows six rules while that capability is off (see below).

Rule What it checks Default
Expiry risk Lots whose best-before date is within the threshold number of days, or already past. One alert for each SKU. 7 days, High
Cross-dock expiry Matches flagged by the ALERT expiry action, still open beyond the threshold since their first missed deadline. One alert for each match, even after its deadline is extended. 0 hours, High
Stuck order Orders in a state before finished that have not changed for longer than the threshold. One alert for each order. 24 hours, High
Bin below reorder One alert when the count of pick bins below their reorder point is over the threshold. 0 bins, Medium
Cycle-count variance Count lines whose counted quantity differs from the planned quantity by more than the threshold. One alert for each SKU. 0 units, Medium
Shrinkage SKUs whose stock adjustments in the last 24 hours net to a loss over the threshold. One alert for each SKU. 0 units, High
Putaway backlog One alert when open putaway tasks are over the threshold. 15 tasks, Medium

Rules belong to the Facility you have selected. Each Facility has its own thresholds. While Cross-docking is off, no karyo.crossdock.* work switch is on and no matched or staged cross-dock order is open and the rule has no open alert, the Cross-dock expiry rule is not in the list, and Karyo does not check it. While a work switch is on or such an order is open, the cross-dock engine keeps running, so the rule stays in the list and keeps alerting. A rule with an open alert also stays in the list and is still checked, so the alert resolves when its condition clears. Then the rule is hidden. Its threshold, severity and notification settings stay as they were, and the rule returns with them when you switch Cross-docking on. The other six rules do not depend on a capability and behave the same whether Cross-docking is on or off.

The Cross-dock expiry condition clears when the goods ship, the match completes, is cancelled, or expires through AUTO_PUTAWAY. See Cross-docking for the expiry setting and reservation handling.

Each rule reads as metric: threshold, for example "Days to best-before: 7d threshold". The detectors count against the threshold themselves, and the rule builder offers no control to change the operator. The Expiry risk rule alerts for every lot with 7 days or fewer left, including a lot already past its best-before date. Every other monitor alerts above its threshold.

Change a rule

  1. Open Insights > Monitors and select a row. The Rule builder shows it.
  2. Under WHEN, press + or - to change the threshold.
  3. Under SEVERITY, choose Low, Medium or High.
  4. Under NOTIFY, turn Email or Slack on or off for this rule.

Each change saves as you make it. Save monitor only confirms that. Delete explains that a built-in rule can be switched off but not removed.

To change a rule you need operations.supervise. Without it the builder is read-only and says so.

Read the Floor Assessment

The Floor Assessment strip names the flow stage under the most pressure: Putaway, Replenishment or Fulfillment. It lists the alerts that drive it. Dominance is that stage's share of the pressure across the flow, held between 50% and 95%. Pressure is the severity of each firing rule, weighted by how long it has been open. Stock-quality and accuracy alerts belong to no stage. When no stage is under pressure, the strip says so. Rules in code make the assessment. No model makes it, and it does not name a cause between stages.

Work the ranked exceptions

The Exceptions card lists every open alert, firing or acknowledged, in rank order:

  1. Higher severity first.
  2. At equal severity, alerts in the bottleneck stage first.
  3. Then the alert that has been open longest.

The card opens the top alert below the table. The URL names the open alert, for example /insights/monitors/42. On a phone the alert opens as a screen of its own. The record has three parts:

  • What fired: the reason, the scope, the flow stage and the times.
  • Suggested fix: the rule's fix, with Apply fix and Acknowledge (both need operations.execute) and Mute monitor (needs operations.supervise). Apply fix marks the alert resolved. It does not do the work.
  • On the floor: what Karyo's own records say behind the alert. For a stuck order this is its status, priority, idle time, whether a pick order is still open and whether a line is short. With orders.read it also shows the customer, the notes and the shipping hint; without it those are left out. A putaway backlog shows its task notes only with tasks.read. Links open the order, pick order, task, receipt, item, location or stock.

Work an alert

The Alert feed has three tabs: Firing alerts, Acknowledged alerts and Resolved alerts. Each alert shows its severity, rule, scope, the reason in words and when it first fired.

  1. Read the reason and check the floor.
  2. Press Ack to tell colleagues you have seen it. It moves to Acknowledged alerts.
  3. Do the work the suggested fix names.
  4. Press Resolve.

You need operations.execute for Ack and Resolve. An alert also resolves by itself when its condition clears at the next check. A condition that stays true does not alert again, but the open alert's reason is rewritten at each check, so the time or state it names stays current. If you resolve an alert by hand while its condition is still true, a new alert opens at the next check.

To read the page you need operations.view.

Switch a rule off

Turn off the ON switch, or press Mute monitor on an open alert. The rule stops being checked, its status reads Muted, and its open alerts move to Resolved alerts. If you switch it on again within 24 hours and the same SKU or order is still affected, the old alert reopens quietly, with no new message. After 24 hours it raises a new alert.

Check delivery

Recent deliveries lists each email or Slack message with its status (Pending, Delivered, Failed or Dead) and how many attempts were made. Filter by All, Failed or Dead. Failed messages are tried again. A Dead message is not, for example when no recipient or webhook address is set. Fix the setting, then press the redeliver button on the row. That needs operations.execute.

When you switch it off

  • The Monitors page, its sidebar entry and the Alerts settings disappear.
  • The Monitor alerts section leaves Exceptions. The Open exceptions total and the Control widget count only the nine built-in checks.
  • Karyo stops checking the rules. Alerts that are already open stay as they are: they are not resolved and not removed. Rules, thresholds and alert history stay too, and show again when you switch Monitors on.
  • The REST routes stay callable. Switching off does not stop messages already waiting in the delivery list.

Next