Hello fellow factorio players, modders and developers,
I've been looking to make my little private cooperative factorio server output metrics in opentelemetry or prometheus format. I've come across several plugins which do work mostly, but have some shortcomings (missing entities in output) or solve this inefficiently (rcon, uploading lua) or disable achievements.
So, instead of writing/using mods to generate output, it would really love to see a native implementation which either opens a port on localhost (or unix socket even) or writes to a stats file every X time.
A native implementation probably also would have the advantage that it'd always knows all how to present all possible entities, fluids and stuff instead of having a mod that only knows the entities that it had been accounted for, right?
One suggested format is the Prometheus text-based (file) format documented at https://prometheus.io/docs/instrumentin ... sed-format
It's line based and pretty simple to produce.
Example line taken from the non-native implementation from https://mods.factorio.com/mod/graftorio2-geo:
factorio_entity_build_count_input{force="player",name="iron-chest",surface="nauvis"} 84
I only know little about the "metrics" file formats commonly in use, but I've taken the recommendation from my day job to prefer "counters" over "rates", because it's a) simpler and b) you can calculate the latter from the former.
Right now I've settled with graftorio2-geo which seems to forget some of its metrics after while, writes the output to a file and voids achievements.
Is this something we can get in away that doesn't take away achievements? My friends and me are planning to make a Space Age run together and it'd sure be fun to watch the spikes of power loss and restoration as well as encounters with enemy in plots. :3
Thank you very much!
OpenTelemetry or Prometheus output
Post your ideas and suggestions how to improve the game.
Moderator: ickputzdirwech
Return to “Ideas and Suggestions”
Jump to
- General
- ↳ Releases
- ↳ News
- ↳ General discussion
- ↳ Multiplayer
- ↳ Find Servers / Tools / Guides
- ↳ Show your Creations
- ↳ Videos
- ↳ Combinator Creations
- ↳ Mechanical Throughput Magic (circuit-free)
- ↳ Railway Setups
- ↳ Energy Production
- ↳ Medium/Big/Gigantic Sized Structures
- ↳ Fan Art
- ↳ Gameplay Help
- ↳ Spread the Word
- ↳ Off topic
- ↳ This Forum
- ↳ Celebration Party
- Support
- ↳ Gameplay Help
- ↳ Discover Factorio Wiki
- ↳ Discover Others Creations
- ↳ Discover Mods
- ↳ Discover Tools Around Factorio
- ↳ Technical Help
- ↳ Bug Reports
- ↳ Resolved for the next release
- ↳ Assigned
- ↳ Not a bug
- ↳ Pending
- ↳ 1 / 0 magic
- ↳ Duplicates
- ↳ Minor issues
- ↳ Desyncs with mods
- ↳ Won't fix.
- ↳ Resolved Problems and Bugs
- Factorio Direction
- ↳ Ideas and Suggestions
- ↳ Outdated/Not implemented
- ↳ Frequently Suggested / Link Collections
- ↳ Implemented Suggestions
- ↳ Development Proposals
- ↳ Balancing
- Contributions
- ↳ Mods
- ↳ Download mods
- ↳ Mod portal Discussion
- ↳ Mods
- ↳ Mod Packs / Libs / Special Interest
- ↳ 5dim's mod
- ↳ Angels Mods
- ↳ Atomic Power
- ↳ Bob's mods
- ↳ DyWorld
- ↳ F.A.R.L
- ↳ Fentus Challenge & Tool Mods
- ↳ Logistic Train Network
- ↳ MoMods
- ↳ Reika's Mods
- ↳ Resource Spawner Overhaul
- ↳ Yuoki Industries
- ↳ PyMods
- ↳ Questions, reviews and ratings
- ↳ Modding Discussions
- ↳ Modding discussion
- ↳ Modding help
- ↳ Ideas and Requests For Mods
- ↳ Modding interface requests
- ↳ Implemented mod requests
- ↳ Already exists
- ↳ Won't implement
- ↳ Documentation Improvement Requests
- ↳ Resolved Requests
- ↳ Development tools
- ↳ Tools
- ↳ Mod and installation managers
- ↳ Cheatsheets / Calculators / Viewers
- ↳ Development tools
- ↳ Special interest mods and libraries
- ↳ Modding Development
- ↳ Multiplayer / Dedicated Server
- ↳ Multiplayer Board
- ↳ Archive
- ↳ Maps and Scenarios
- ↳ Translations
- ↳ Texture Packs
- ↳ Fan Art
- ↳ Wiki Talk
- ↳ To be sorted
- ↳ Campaign / Scenario suggestions
