Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nakama metrics wishlist #1034

Open
7 tasks
redbaron opened this issue Jun 2, 2023 · 0 comments
Open
7 tasks

Nakama metrics wishlist #1034

redbaron opened this issue Jun 2, 2023 · 0 comments

Comments

@redbaron
Copy link
Contributor

redbaron commented Jun 2, 2023

Following metrics are missing and would be really handy to have.

HTTP

  • Number of client connections by status (idle, serving request, websocket)

RPC

  • All rpcs are within the same metric, so instead of: nakama_RPCNAME_latency have nakama_latency{rpc="RPCNAME"}
  • introduce "error class" and break down errors by it. example: preconditions
  • have RPC metrics tracked per protocol with separate "proto=ws" or "proto=http" labels

SQL

  • number of connctions to the database by status (active, free, estblishing)
  • stats related to acquiring connection from the pool: queue length, wait latencies (histogram), how long connection was in use (histogram)
  • queries stats: counts, times. Track these per RPC context . Probably doesn't worth it to be per query, just as an aggregate.

Matchmaking related stats

TBD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant