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

Docs for new metrics (shutdown, qcmp, etc) #1050

Merged
merged 1 commit into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/src/deployment/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,11 @@ Quilkin exposes the following metrics on heap allocations, which are useful for

* `quilkin_extant_allocation_count` (Gauge)

The current number of extant allocations"
The current number of extant allocations

* `quilkin_shutdown_initiated`

Shutdown process has been started

### /debug/pprof/profile

Expand Down
10 changes: 9 additions & 1 deletion docs/src/services/proxy/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The proxy exposes the following general metrics:

* `quilkin_bytes_total{event, asn, ip_prefix}`

The total number of bytes sent or recieved
The total number of bytes sent or received
* The `event` label is either:
* `read`: when the proxy receives data from a downstream connection on the listening port.
* `write`: when the proxy sends data to a downstream connection via the listening port.
Expand All @@ -69,6 +69,14 @@ The proxy exposes the following general metrics:

The total number of errors encountered while reading a packet from the upstream endpoint.

* `quilkin_game_traffic_tasks`

The amount of game traffic tasks that have spawned

* `quilkin_game_traffic_task_closed`

The amount of game traffic tasks that have shutdown

## Session Metrics

The proxy exposes the following metrics around sessions:
Expand Down
14 changes: 14 additions & 0 deletions docs/src/services/proxy/qcmp.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,17 @@ request to the QCMP port.

The returned data is a JSON object with each key being the ICAO code for the
datacentre, and the value being the latency in nanoseconds.

## Metrics

* `quilkin_phoenix_requests`

The amount of phoenix (latency) requests

* `quilkin_phoenix_task_closed`

Whether the phoenix latency measurement task has shutdown

* `quilkin_phoenix_server_errors`

The amount of errors attempting to spawn the phoenix HTTP server
Loading