Factorio UPS Exporter — Prometheus metrics for your UPS profiling

Find multiplayer games.
Tools/scripts to run a dedicated server.
danbka33
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat Sep 03, 2016 7:56 pm
Contact:

Factorio UPS Exporter — Prometheus metrics for your UPS profiling

Post by danbka33 »

Hi everyone!

I’ve built a small tool that might be useful for anyone profiling megabases, optimizing UPS, or running large multiplayer servers.

Factorio UPS Exporter is a lightweight utility that parses the game’s factorio-current.log in real time and exports key UPS-related metrics to Prometheus, enabling visualization in Grafana or integration with any monitoring stack.

GitHub: https://github.com/danbka33/factorio-ups-exporter
What it exports
UPS (updates per second) — parsed directly from Factorio logs.
That’s it. No FPS, no tick-time breakdown, no simulation speed — just a clean, reliable UPS metric you can scrape and graph.
How it works
Factorio writes UPS information into factorio-current.log

The exporter tails the log and extracts only UPS values

A small HTTP server exposes the metric at:
http://localhost:8080/metrics

Works with local games, dedicated servers, Docker containers — anywhere you can access the log file.
Why it’s useful
Track UPS degradation over time
Compare performance before/after blueprint placements
Visualize UPS drops during megabase construction
Monitor long-running headless servers
Build Grafana dashboards based on historical UPS data
Feedback welcome!
If you try it out, feel free to share:
Feature requests
Ideas for expanding metrics
Issues parsing logs
Your UPS dashboards

Happy engineering, and may your UPS stay at 60!
Post Reply

Return to “Multiplayer / Dedicated Server”