cgsdev0 / rollycubes

online multiplayer dice game
https://rollycubes.com/
MIT License
19 stars 10 forks source link

add metrics / monitoring #46

Open cgsdev0 opened 2 years ago

cgsdev0 commented 2 years ago

would be neat to have a metrics dashboard of some kind

things to track:

unclear:

brimonk commented 1 year ago

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).

cgsdev0 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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