When the Gateway Dies, the Dashboard Keeps Smiling

A green tile on an operations dashboard proves one thing: the last value the historian accepted fell inside its band. It does not prove that the sensor is alive or that the edge gateway is still forwarding. It does not even prove that the timestamp on the value came from the field rather than from the server that received it. An engineer who signs off on availability figures in a review has to know which of those claims the telemetry carries, because a failover design only works if the data path admits when it has gone blind.

What a sample proves and what it only implies

Measured data is narrower than most screens make it look. A sample can carry the process value, a source timestamp if the device or PLC stamps it, and a quality code from the protocol layer, such as an OPC UA status code or a Sparkplug birth and death state. Everything else is inferred, and that includes freshness, the line a trend chart draws between two points, and the reading of "no alarm" as "no fault". Many ingress pipelines quietly replace a missing source timestamp with server receive time. When that happens, a backlog flushed after a reconnect shows up as a burst of live process activity, and nothing in the visual layer tells you it is history arriving late.

Staleness is a measurement too

Every tile that reports a value should also report how old that value is relative to its expected publishing interval, because a 1 s loop whose last sample is three intervals old is no longer giving you a reading but a memory, and the screen should render it as unknown rather than as a number.

The quiet failure: store-and-forward that runs out of room

The typical sequence goes like this. A gateway loses its uplink and starts buffering to local flash. The buffer is a ring, so once it fills the gateway overwrites the oldest samples without telling anyone upstream. Meanwhile the HMI or the cloud dashboard keeps holding the last-known value, so tiles stay green for the whole outage. When the link returns, the gateway flushes whatever survived, aggregations computed per receive window show a spike and then settle, and the overwritten interval simply never appears. KPIs such as availability or OEE are then averaged over the samples that exist, not the ones that should exist, so the outage makes the figure look better than the plant actually ran. As an estimate, buffer depth on common edge hardware covers hours at full tag rate rather than days, and the real number depends almost entirely on tag count and deadband settings, which are rarely written down next to the dashboard.

What keeps the system working, and what to ask for in review

Resilience starts with the control loop not depending on telemetry at all. Industrial automation security standards such as IEC 62443, with their zones and conduits, push you toward that split: the OT side keeps controlling when the IT side disappears, and data flows outward as a nonessential stream. On the telemetry path, put in redundant gateways with independent uplinks, but give each path its own identity so the historian can record which one delivered a sample. Use last-will or death certificates so that silence becomes an explicit event instead of an absence. The decision rule for a review is simple: no KPI is accepted without its coverage, meaning the fraction of expected samples that actually arrived with a source timestamp, and when coverage falls below the threshold agreed for that metric, the KPI is reported as indeterminate rather than as a number. The cost is political, not technical. An honest dashboard shows more grey, operators will push back on it, and someone has to decide whether the plant would rather look at uncomfortable uncertainty or comfortable fiction.

Should backfilled data from a reconnected gateway count toward availability KPIs?

It can, but only if each sample carries a source timestamp and the overwritten gap is recorded as missing rather than skipped, otherwise the backfill inflates coverage and hides exactly the window you needed to see.

Back to RealWorldOperations · Domains

← Back to RealWorldOperations
Engineering & Architecture Brief

When the Gateway Dies, the Dashboard Keeps Smiling

A green tile on an operations dashboard proves one thing: the last value the historian accepted fell inside its band. It does not prove that the sensor is alive or that the edge gateway is still forwarding. It does not even prove that the timestamp on the value came from the field rather than from the server that received it. An engineer who signs off on availability figures in a review has to know which of those claims the telemetry carries, because a failover design only works if the data path admits when it has gone blind.

What a sample proves and what it only implies

Measured data is narrower than most screens make it look. A sample can carry the process value, a source timestamp if the device or PLC stamps it, and a quality code from the protocol layer, such as an OPC UA status code or a Sparkplug birth and death state. Everything else is inferred, and that includes freshness, the line a trend chart draws between two points, and the reading of "no alarm" as "no fault". Many ingress pipelines quietly replace a missing source timestamp with server receive time. When that happens, a backlog flushed after a reconnect shows up as a burst of live process activity, and nothing in the visual layer tells you it is history arriving late.

Staleness is a measurement too

Every tile that reports a value should also report how old that value is relative to its expected publishing interval, because a 1 s loop whose last sample is three intervals old is no longer giving you a reading but a memory, and the screen should render it as unknown rather than as a number.

The quiet failure: store-and-forward that runs out of room

The typical sequence goes like this. A gateway loses its uplink and starts buffering to local flash. The buffer is a ring, so once it fills the gateway overwrites the oldest samples without telling anyone upstream. Meanwhile the HMI or the cloud dashboard keeps holding the last-known value, so tiles stay green for the whole outage. When the link returns, the gateway flushes whatever survived, aggregations computed per receive window show a spike and then settle, and the overwritten interval simply never appears. KPIs such as availability or OEE are then averaged over the samples that exist, not the ones that should exist, so the outage makes the figure look better than the plant actually ran. As an estimate, buffer depth on common edge hardware covers hours at full tag rate rather than days, and the real number depends almost entirely on tag count and deadband settings, which are rarely written down next to the dashboard.

What keeps the system working, and what to ask for in review

Resilience starts with the control loop not depending on telemetry at all. Industrial automation security standards such as IEC 62443, with their zones and conduits, push you toward that split: the OT side keeps controlling when the IT side disappears, and data flows outward as a nonessential stream. On the telemetry path, put in redundant gateways with independent uplinks, but give each path its own identity so the historian can record which one delivered a sample. Use last-will or death certificates so that silence becomes an explicit event instead of an absence. The decision rule for a review is simple: no KPI is accepted without its coverage, meaning the fraction of expected samples that actually arrived with a source timestamp, and when coverage falls below the threshold agreed for that metric, the KPI is reported as indeterminate rather than as a number. The cost is political, not technical. An honest dashboard shows more grey, operators will push back on it, and someone has to decide whether the plant would rather look at uncomfortable uncertainty or comfortable fiction.

Technical FAQ: Should backfilled data from a reconnected gateway count toward availability KPIs?

It can, but only if each sample carries a source timestamp and the overwritten gap is recorded as missing rather than skipped, otherwise the backfill inflates coverage and hides exactly the window you needed to see.

Related Architecture Specifications (ORCHESTRATION): realworldcontrol.com · farmorchestration.com · responseorchestration.com

More Technical Articles on realworldoperations.com

Throughput and Jitter Benchmarks of OPC UA Pub/Sub over TSN Networks →Edge Container Orchestration in Sub-Millisecond Industrial Environments →When the Edge Gateway Lies by Omission During a Field Bus Brownout →