Skip to main content

Monitoring

Monitoring answers: are the fixes you shipped holding? It shows the problems being watched after their fix, your nightly tests, and every release with its effect on your documents.

Everyone can read this page. Administrators can also click Check now.

How a fix is proven​

When a member or admin clicks Mark deployed on a fix (see Problems), its problem moves to Being watched. From then on, Zyonix checks every new document for that problem.

  • If the problem does not return for enough documents and enough days (by default 200 documents and 7 days), the problem becomes Fixed.
  • If it returns, the problem is reopened and shown as Came back, and Zyonix collects the new evidence.

Zyonix runs this check by itself every minute. Nobody needs to act while a fix is being watched.

The numbers at the top​

NumberShows
Fixes being watchedHow many problems are being watched right now: shipped, waiting to be proven
Nightly testsThe state of your nightly test run, and when it last ran (see below)

Nightly tests​

Your developers can run the full set of saved test cases every night from your CI, with zyonix test (see the CLI). The test cases are documents Zyonix saved from past problems, so a fix that breaks an earlier fix is caught.

StateMeans
PassingThe last nightly run passed
FailingThe last nightly run failed: something that was fixed may be broken again
Out of dateNo nightly run reported for more than 36 hours
Not set upNo nightly run has ever reported. No nightly run recorded

Fixes being watched​

A problem counts as fixed after enough documents and days without it. The list holds the problems being watched and those already proven fixed.

ColumnShows
ProblemProblem #N. Click to open it.
StateBeing watched or Fixed
DocumentsDocuments checked since the release without the problem, out of the number needed, for example 140 of 200
DaysDays since the release, out of the number needed, for example 5 of 7
Came backHow many times the problem returned, for example 0 times

Check now (admins) runs the check immediately instead of waiting for the next minute. The message says how many problems became fixed and how many came back, for example Done: 1 fixed, 0 came back.

Releases​

The last 30 releases, newest first. A release is recorded in one of these ways:

  • someone clicks Mark deployed on a fix, or your release process runs zyonix deploy;
  • your application starts sending documents with a new release name (set in the SDK);
  • your application starts sending documents with a changed prompt or configuration.

A release moves an approved fix to Being watched only when it shows that fix is live: it names the fix, the release name changed, or the prompt (or configuration) changed for a prompt (or configuration) fix.

ColumnShows
ReleaseThe release name or git commit given when it was recorded
EffectNo change, Got worse, Improved, or Waiting until there are enough documents to compare
Documents comparedN before · N after, or Not compared yet
WhenWhen the release was recorded

Zyonix compares how often each check failed on the documents before and after the release. It waits until there are enough documents on both sides (by default 50 each). Got worse means a check now fails clearly more often than before (at least 5 percentage points, and not by chance).

Common tasks​

See whether last week's fix worked

  1. Open Monitoring.
  2. Find its problem under Fixes being watched and read Documents, Days and Came back.
  3. Click Problem #N for the full story, including Is the fix holding?.

Check right after a release

  1. Make sure the release was recorded (Mark deployed on the fix, or your release process).
  2. Under Releases, wait for Effect to change from Waiting.
  3. If it says Got worse, open Problems to see which problems grew, and look for a group titled Failures started after a recent change.

A fixed problem came back

Its state shows Came back on Problems and on Home. Open the problem, read the new evidence, and propose a new fix. An administrator can also reopen a problem by hand.