Exports live Factorio game metrics to a Prometheus-compatible file so you can graph them in Grafana.
What it tracks
- Connected/total players, player deaths (by force/player)
- Area paved, per surface and tile type
- Pollution level, production, and consumption, per surface
- Evolution factor, per surface and by cause (spawner kills / pollution / time)
- Kills, per surface/force/entity
- Item and fluid production/consumption, per surface/force
- Rockets launched, researches finished, ticks played
How it works
Every second, the mod writes a factorio_*-prefixed Prometheus metrics file to
script-output/statfactory/game.prom in your Factorio application directory. The
GitHub repo includes a ready-to-run
docker-compose stack (Prometheus + Grafana) with a starter dashboard, and full
setup instructions.
Attribution
Based on graftorio2 (MIT / BSD-2).
See the repo's README for full attribution details.