remijouannet / graftorio2

(fork of graftorio) factorio mod for creating grafana dashboard
MIT License
77 stars 21 forks source link

Exporting signals from circuit networks #29

Open gjulianm opened 1 year ago

gjulianm commented 1 year ago

Hello,

It would be very nice if I could export the signals of all circuit networks as Prometheus metrics. I don't know if maybe this is too much, looking at the code I thought that maybe in the same way that you get power, we might search for circuit connected entities. Do you think this is possible? If so, if you could give me a few pointers (I'm new to factorio modding) I could give it a try and get you a PR.

Thanks!