AP-Hunt / FicsitRemoteMonitoringCompanion

A companion app to the Ficsit Remote Monitoring mod for Satisfactory
20 stars 7 forks source link

feat: Add support for /getPower metrics #15

Closed featheredtoast closed 1 year ago

featheredtoast commented 1 year ago

Adds support for /getPower to prometheus exporter for monitoring of circuit power and battery stats. Updates prometheus scraping port for FRM from 8090 to 8080. Allows tests to be run in other environments with OS targeting on the prometheus wrapper. Update ProdPercent and ConsPercent expectation as FRM passes these in as floats Fixing tests: Allow more than one test suite to be run by removing fatal logger.

closes #14

AP-Hunt commented 1 year ago

Hi @featheredtoast, thanks for putting your time into making the change, I appreciate that. The code looks excellent, exactly as I'd have done it myself.

Before I merge it, could I ask you to run make readme to update the readme with all the new metrics you've added, please?

featheredtoast commented 1 year ago

@AP-Hunt readme updated and commit squashed in

featheredtoast commented 1 year ago

Not a problem - and many thanks for your ongoing work on this - it's a great addition to the base game. Cheers!