Comparison
Where to host InfluxDB and Grafana with an edge controller
Short answer
Host InfluxDB and Grafana on a separate PC and keep only acquisition on the edge controller. Neither package documents the controller's custom Linux distribution as a platform, and a firmware update or reset removes software you installed on it, so local hosting risks losing both the stack and its history. On a PC, both run on supported distributions and controller maintenance leaves the history intact.

On this page
- Can you install InfluxDB and Grafana directly on the edge controller?
- Do controller firmware updates and resets delete what you installed?
- Where should InfluxDB and Grafana run instead?
- How do you get controller data into the database on the PC?
- How much PC do you need for the database and dashboards?
- What do you verify before the plant relies on it?
- When is a database on the controller still the right call?
- Questions asked
Keep acquisition on the edge controller and host InfluxDB and Grafana on a separate PC. Neither package documents the controller's custom Linux distribution as a supported platform, and a firmware update or factory reset on this class of controller removes software you installed yourself, so a locally hosted historian is one update away from reinstallation and can take its history with it. On a separate PC, both packages run on distributions they officially support, the write path survives controller maintenance, and the storage the stack needs is modest. The sections below compare the hosting options, work the storage arithmetic, and list the checks to pass before the plant relies on the data.
Can you install InfluxDB and Grafana directly on the edge controller? #
No: Grafana documents Debian and Ubuntu, RHEL and Fedora, SUSE and openSUSE, macOS and Windows as its supported platforms, and a controller's custom Linux image appears on none of those lists, so a local install is unsupported by construction.
Grafana's installation documentation names those systems, and that is the documented list. Your controller runs none of them: it carries a vendor-built Linux image with its own package set, library versions and service manager, so instructions written for a Debian-family system have no reason to work unchanged, and the reported experience with this controller family is exactly that they do not.
The CPU architecture is not what blocks you. Grafana publishes ARM64 builds, and community reports show InfluxDB running on ARM single-board computers, which proves only that the hardware can carry both packages. What no release note documents is the dependency set, the service startup and the database persistence of your controller's image, and those are exactly the things a historian needs to be boring and predictable.
Decision: do not place InfluxDB or Grafana on the controller as the plant's only copy of process history.
Do controller firmware updates and resets delete what you installed? #
Plan on it: this class of controller is updated by re-imaging its firmware, and packages you installed on top are reported not to survive, so a locally hosted database and its dashboards vanish at the next update or reset.
The update replaces the system image wholesale; it is not a package-level upgrade, so a database, a dashboard server or a custom service layered on top is reported gone when it finishes, and a factory reset does the same by design. Users report this behavior for the controller family rather than a document promising it, which is the wrong direction to argue from: plan as if the wipe is guaranteed.
The cost compounds because both packages release often. Hosting them locally means every controller firmware update triggers a full re-select, re-install, re-configure and re-verify of the stack, plus a history restore from backup. Miss one cycle and recording stops silently.
Local storage has a softer version of the same exposure even without an update: a power loss or reboot can leave the database empty or unmounted while the controller otherwise runs fine, which is a distinct failure mode covered in why InfluxDB data looks erased after a controller reboot.
Decision: treat controller storage as scratch space, never as the history of record.
Where should InfluxDB and Grafana run instead? #
Host InfluxDB and Grafana on a separate PC and leave only data acquisition on the controller: writes keep flowing through controller updates, dashboards stay available, and both packages run on distributions they officially support.
| Option | Controller runs | Separate host runs | Survives a controller update or reset | Platforms documented | Take it when |
|---|---|---|---|---|---|
| InfluxDB and Grafana on the controller | Acquisition, database, dashboards | Nothing | No — the install and its local data are gone | No — the custom image is on neither package's list | Never as the only copy of history |
| Vendor-documented database on the controller | Acquisition plus the database the vendor's note names | Grafana elsewhere, or none | History survives only as backups taken off the controller | Yes, for the firmware version the note names | The note matches your firmware and rework after updates is acceptable |
| InfluxDB and Grafana on a separate PC | Acquisition only | Database, dashboards, broker if used | Yes | Yes — mainstream Linux distributions and Windows | Default choice for plant historian duty |
| Managed cloud time-series plus Grafana Cloud | Acquisition only | Nothing on site | Yes | Vendor-managed | Policy allows the data to leave the plant and connectivity is dependable |
The separate-PC row is the decision for most plants: the controller keeps the one job it is built for, deterministic acquisition, and the history sits where maintenance cannot touch it. The cloud row is the same architecture with the disk moved off site; whether the data may leave the plant is a policy question, not an engineering one, so treat policy approval as the entry condition. Pairing client library, database and dashboards is its own exercise: choosing pymodbus, InfluxDB and Grafana for SCADA-style logging walks through that selection for Modbus-sourced data.
Decision: host on a separate PC unless policy blocks the second machine; revisit only with a documented exception.
How do you get controller data into the database on the PC? #
Run Node-RED on the controller to collect and scale the values, and write from it to InfluxDB or to a SQL database on the PC over the network; an MQTT broker on the PC carries the same data if you prefer publish-subscribe.
Three paths cover nearly every installation:
- Direct write. Node-RED polls and scales the values and writes them straight to InfluxDB's HTTP interface on the PC. Fewest moving parts, and the reported working pattern within this controller family.
- Broker in between. The controller publishes to an MQTT broker on the PC and a subscriber such as Telegraf feeds the database. This decouples the writer from database restarts, but the controller only keeps publishing through a PC outage if you enable persistent buffering, so confirm that before counting on it. Keep the data topic strictly separate from anything that can write back to the controller, as laid out in keeping the Node-RED publish path separate from control, and carry the values into dashboards as described in routing MQTT sensor data into Grafana on an edge PC.
- SQL instead. Node-RED writes the same values into Microsoft SQL Server on the PC and Grafana queries it as a data source; plant users report this path working end to end. When panels come up empty, why a Grafana MSSQL dashboard shows no data from Node-RED sorts out the causes in order.
One safety note belongs here: keep the historian path read-only toward the machine. A data-collection link that can also write to the controller puts the dashboard one misconfiguration away from the process.
Decision: pick one write path, pin its versions, and keep acquisition logic on the controller so PC maintenance never interrupts recording.
How much PC do you need for the database and dashboards? #
Less than you expect: 120 tags at one sample per second produce about 3.7 GB of history over a 90-day retention at an assumed 4 bytes per compressed point, so a small fanless box carries the whole stack with room to grow.
Worked example — 120 tags, one sample per second, 90-day retention:
- Points per day: 120 tags × 86,400 s per day = 10,368,000 points per day.
- Points within retention: 10,368,000 × 90 days = 933,120,000 points.
- Storage at the assumed 4 bytes per compressed point: 933,120,000 × 4 B = 3,732,480,000 B, about 3.7 GB.
The byte-per-point figure is an illustrative assumption, not a datasheet value: compressed size depends on tag count, cardinality and repetition, so measure it on a week of your own data before buying disk. Grafana stores dashboards and metadata, typically megabytes, while your history lives in the database, and at 1 Hz tagging that history fits in single-digit gigabytes. When you pick the host, a fanless industrial mini PC built for continuous duty is the machine class that fits, because the stack is undemanding at these rates.
What moves the number is raw high-rate capture: eight vibration channels at 1 kHz over the same window, at the same assumed size per point, work out to 8 × 1,000 × 86,400 × 90 × 4 B, about 248.8 GB. That belongs behind a downsampling policy — raw data for hours, decimated averages for the retention window — not behind a bigger disk by default. CPU and memory sizing of the host is its own exercise, covered in sizing one PC for InfluxDB, Telegraf, Grafana and Node-RED.
Decision: a small fanless host with an ordinary SSD covers the example workload with years of headroom; size for high-rate raw capture only if you actually intend to keep it.
What do you verify before the plant relies on it? #
Verify a confirmed write, not a connection: a known tag, a value you chose and its timestamp must come back through the Grafana panel query, because a successful login and a provisioned database prove nothing about the history itself.
Work the checks in order and record each result:
- Separate login from write. A successful database login and a provisioned bucket or schema are prerequisites, not evidence; the evidence is a row you can read back.
- Write a value you chose. Force one test tag with a value and a timestamp you picked, then read it back through the Grafana panel query, not through the database's own shell, which can hide a wrong query or a wrong time range.
- Check the trigger and the buffering. Confirm whether the flow writes on change or on interval, what happens while the PC is unreachable, and which retention policy applies. The row count reflects all three, so a short row count can be a policy answer rather than a fault.
- Run the maintenance test. Perform the controller's firmware update or reset procedure on a bench unit or in a planned window, then confirm that the history on the PC and the dashboards are untouched. Passing this once is what makes the architecture trustworthy.
- Investigate gaps in order. If panels show missing time afterwards, troubleshooting missing data in a Node-RED InfluxDB Grafana stack lists the causes to eliminate before anyone re-installs anything.
Decision: sign off only after the update test passes with history intact on the PC.
When is a database on the controller still the right call? #
Only with the vendor's own documentation behind it: where the controller maker publishes an installation note for a specific database and firmware version, that documented path is the one local option worth taking, and only with a tested off-board backup.
The exception has a real shape. At least one edge controller vendor publishes an installation note that puts MariaDB, a lightweight relational database server, on its processor for a stated firmware version. If your volumes are small and local history is a requirement, that note, not a generic InfluxDB tutorial, is the path: follow the documented package and configuration exactly, keep Grafana off the controller, and schedule a backup that copies the database off the board on a cadence you prove by restoring it.
Re-read the note at every firmware update, because a procedure documented for one firmware version is not automatically valid for the next, and the update is precisely what removes your install. Controller and edge-host images are maintained through their own management channel, separate from the applications layered on them — why an edge host's image updates need their own management path covers that separation — and it is the same separation that makes the PC architecture work.
Decision: run a database on the controller only when a vendor document names your firmware version and a tested restore succeeds; in every other case the separate PC wins.
Questions asked
Will InfluxDB and Grafana run on the controller's ARM processor?
The processor is not the blocker: Grafana publishes ARM64 builds, and community reports show InfluxDB running on ARM single-board computers. What fails is the platform. The controller's custom Linux image is on neither package's documented platform list, so dependencies, service startup and database persistence are unverified there. Treat ARM compatibility as necessary, never as support.
What happens to my history if I host InfluxDB on the controller anyway?
Assume it is on borrowed time. A firmware update or factory reset removes the software, and with it the database files unless you copied them off the controller first. If you must run locally, schedule backups to a separate machine and prove the restore by loading a backup copy and reading back a known tag, value and timestamp through Grafana.
Can Grafana read the data from SQL Server instead of InfluxDB?
Yes. Grafana connects to Microsoft SQL Server as a data source and queries it with ordinary SQL, so Node-RED on the controller can write into MSSQL on the PC and panels read from there, a pattern plant users report working. Verify it the same way: one known tag, value and timestamp returned by the panel query before you trust it.
What happens to the record while the write path or the PC is down?
Expect a gap, not silence. Values that arrive while the database is unreachable are lost unless your flow buffers them, so the row count will show the outage as missing time. For short interruptions, a message broker or store-and-forward buffer between the controller and the database narrows the gap; confirm your trigger, buffering and retention settings before promising complete history.


