rollycubes icon indicating copy to clipboard operation
rollycubes copied to clipboard

add metrics / monitoring

Open cgsdev0 opened this issue 3 years ago • 4 comments

would be neat to have a metrics dashboard of some kind

things to track:

  • active users
  • server health metrics

unclear:

  • use a service?
  • roll our own? (could be fun, could be... awful)

cgsdev0 avatar May 26 '22 01:05 cgsdev0

The "enterprise" seems to be pushing everyone towards OpenTelemetry solutions for this. In my experience, it's often overkill for most use-cases.

I would recommend creating something in the rollycubes game server that can at least emit statsd. There are daemons and programs that already exist to take metrics with this format and aggregate them, chart them, etc. My knowledge of these are limited, as most of my experience with this comes from TheDayJob(TM).

brimonk avatar May 11 '23 19:05 brimonk

we do have opentelemetry now lol

https://rollycubes.com/metrics

I just don't emit very interesting stats at the moment

comes from here: https://github.com/cgsdev0/rollycubes/blob/1cd17c9cd466a082f03a361f71e130daaf8e5613/game/src/GameServer.cpp#L91-L95

cgsdev0 avatar May 12 '23 02:05 cgsdev0

we don't have any monitoring for auth server at the moment, which could be an interesting thing to add

the rust tracing stuff looks really interesting

cgsdev0 avatar May 12 '23 02:05 cgsdev0

also might be interesting to define the graphs and stuff in terraform

cgsdev0 avatar May 12 '23 02:05 cgsdev0