[WIP]Metrics to influx/Grafana

by Sovigod

Export metrics from your factorio game in influx format. Watch in Grafana.

Tweaks
2 years ago
1.0 - 1.1
75
Owner:
Sovigod
Source:
https://github.com/Sovigod/influx_metrics
Homepage:
N/A
License:
MIT
Created:
4 years ago
Latest Version:
0.1.1 (2 years ago)
Factorio version:
1.0 - 1.1
Downloaded by:
75 users

Export metrics from your factorio game in influx format. Watch in Grafana.

This can be used for factorio running on a server. It will always export it to {factorio-path}/script-output/zzzmetrics.stat
If directory script-output not exist - you need to create it.

For parsing metrics you can use telegraf. Just add to /etc/telegraf.conf something like this:

[[inputs.file]]
  files = ["/path/to/factorio/script-output/zzzmetrics.stat"]
  data_format = "influx"