Files
factorio-clusterio/plugins/statistics_exporter
Hornwitser bfe119eaa3 Flatten lib namespace
Move all functions and classes currently available through lib/name and
libName to be under a single flat namespace in lib.  This make
reorganising the lib namespace much simpler as the location of symbols
can move without breaking the consumers of lib.

The multi-entrypoint design was already problematic for the web plugin
system which couldn't effectively use it due to how webpack's shared
module system is awkward to set up with multiple entrypoints per package.
2023-07-28 16:03:29 +02:00
..
2021-05-15 23:22:37 +02:00
2023-07-28 16:03:29 +02:00
2023-07-28 16:03:29 +02:00
2023-07-27 00:35:26 +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.