DEV Community

Not ilya mozerov
Not ilya mozerov

Posted on

Still running, or last ended? A silence needs both answers

A quiet monitor can answer two different questions with one timestamp:

  • When did we last see a sample?
  • Has the silence ended, or is it still happening?

Those questions sound close until a dashboard turns a start time into an end time. “Last ended at 14:20” describes a closed run. “Still running since 14:20” describes an open one. If the newest observation is missing, neither should be guessed from the other.

We recently made that distinction explicit in a device history line: consecutive failed samples form a run only while the gaps between samples stay within the measurement window. A gap larger than fifteen minutes means the missing interval was not observed, so it ends the measured run. When the latest sample is still part of that run, the line gives its start and says it is still running. Once a later sample answers again, the run can be described as ended.

This sentence does not change the device verdict. A device may answer now and still have a recent silent run in its history. The history is context beside the current verdict, not a second verdict disguised as one.

That separation matters in practice. If a reader sees “last ended,” they may stop looking for recovery. If the silence is ongoing, the useful next action is different: check the latest observation, then look for the path that should have reported recovery. A truthful monitor should expose that difference without turning absence of evidence into an alarm or reassurance.

This complements our earlier piece on measuring an open silence against completed gaps. A baseline can tell you whether an ongoing gap is unusual; the run label tells you whether it is open. One describes comparison, the other state. Keeping both questions visible makes the dashboard easier to act on.

The general rule is small: report the newest observation, say whether the measured episode is open or closed, and do not infer an end when no recovery was observed.

Sources: the device history description and the earlier explanation of ongoing silence.

Top comments (0)