screeps-quorum icon indicating copy to clipboard operation
screeps-quorum copied to clipboard

[feature] Grafana stats logging

Open m-rsmn opened this issue 7 years ago • 6 comments

I've been adding Grafana logging to my own quorum instance here and there but thought I'd make it into in actual PR if there's interest from others for it.

I thought about making it into a a separate program, that can be toggled with a flag / constant. That way it wont be enabled by default, but people wanting to run it, could easily turn it on by switching the flag.

I've got these stats covered already but I'm open to suggestions to include some more. I thought about including market statistics as well, but those have close to no purpose as quorum tracks market prices itself and has no way of getting that data back out of grafana.

General:

  • current GCL
  • GCL progress
  • credits
  • Creep count
  • CPU used
  • bucket level

Per room:

  • RCL
  • RCL progress
  • current energy level

Programs:

  • how many ran
  • how much cpu the program took

m-rsmn avatar Jan 30 '18 07:01 m-rsmn

Per Room:

  • Room PRL
  • Room Economy Level
  • Current active lab reaction.

Programs:

  • Each program's priority,
  • Ticks between runs

tedivm avatar Jan 30 '18 17:01 tedivm

Any progress on this?

dansrogers avatar Aug 10 '18 17:08 dansrogers

No one made the PR, so nope. You might be able to look at his fork and make the PR yourself.

tedivm avatar Aug 10 '18 19:08 tedivm

He doesn't have a fork of screeps-quorum.

dansrogers avatar Aug 11 '18 03:08 dansrogers

you could fork it and do the PR yourself...

semperrabbit avatar Aug 11 '18 03:08 semperrabbit

Started on #399

dansrogers avatar Aug 11 '18 15:08 dansrogers