Files
factorio-clusterio/plugins/statistics_exporter
Hornwitser d30e06b268 Set controller, host and ctl as optional peers
Configure the controller, host and ctl packages as optional peer
dependencies to prevent them being pulled in and installed by plugins in
environments that don't have them.  This means that a host only install
with a plugin that uses both host and controller will not cause the
controller package to be installed as well.
2026-09-12 16:19:03 +02:00
..
2026-09-11 22:43:57 +02:00
2026-09-11 22:43:57 +02:00
2026-09-11 22:43:57 +02:00
2023-02-22 15:30:51 +01:00

Clusterio Statistics Exporter Plugin

Plugin exporting item production, fluid production, kill count, entity build and pollution statistics to the Prometheus integration to Clusterio.

Installation

Run the following commands in the folder Clusterio is installed to:

npm install @clusterio/plugin-statistics_exporter
npx clusteriocontroller plugin add @clusterio/plugin-statistics_exporter

Substitute clusteriocontroller with clusteriohost or clusterioctl if this a dedicate host or ctl installation respectively.

Instance Configuration

statistics_exporter.command_timeout

Timeout in seconds to wait for the statitics gathering command to the Factorio server return the result. If the timeout is exceeded the previous collected results are returned instead. Normally the command returns immediatly with the data, but if the RCON interface is overloaded then the command may take too long to timely answer the metrics collection request.

Defaults to 1.