mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 15:04:52 +09:00
The role of a slave as a host for Factorio servers is not well reflected in its name and has caused confusion among users. Rename slave to host to better reflect its role as a host of Factorio servers.
25 lines
982 B
Markdown
25 lines
982 B
Markdown
# 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`.
|