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"