Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
Response_GetServerStats Struct Reference
Collaboration diagram for Response_GetServerStats:
[legend]

Classes

struct  Response

Public Attributes

optional uint64 users_count = 1
optional uint64 mods_count = 2
optional uint64 games_count = 3
optional uint64 tx_bytes = 4
optional uint64 rx_bytes = 5
optional uint64 uptime_secs = 6
optional uint64 timest = 7
 unix timestamp of the snapshot
optional uint64 cards_in_games = 8
optional uint64 eventloop_stalls_total = 9
optional uint64 eventloop_last_stall_ms = 10
optional uint64 eventloop_max_stall_ms = 11
optional uint64 total_commands = 12
optional uint64 total_command_time_ms = 13
optional int32 active_command_types = 14
optional uint64 game_start_count = 15
optional uint64 game_start_total_ms = 16
repeated CommandStats command_stats = 20

Member Data Documentation

◆ active_command_types

optional int32 Response_GetServerStats::active_command_types = 14

◆ cards_in_games

optional uint64 Response_GetServerStats::cards_in_games = 8

Live metrics from MetricsRegistry (reset on server restart)

◆ command_stats

repeated CommandStats Response_GetServerStats::command_stats = 20

Per-command breakdown (only types with count > 0)

◆ eventloop_last_stall_ms

optional uint64 Response_GetServerStats::eventloop_last_stall_ms = 10

◆ eventloop_max_stall_ms

optional uint64 Response_GetServerStats::eventloop_max_stall_ms = 11

◆ eventloop_stalls_total

optional uint64 Response_GetServerStats::eventloop_stalls_total = 9

◆ game_start_count

optional uint64 Response_GetServerStats::game_start_count = 15

◆ game_start_total_ms

optional uint64 Response_GetServerStats::game_start_total_ms = 16

◆ games_count

optional uint64 Response_GetServerStats::games_count = 3

◆ mods_count

optional uint64 Response_GetServerStats::mods_count = 2

◆ rx_bytes

optional uint64 Response_GetServerStats::rx_bytes = 5

◆ timest

optional uint64 Response_GetServerStats::timest = 7

unix timestamp of the snapshot

◆ total_command_time_ms

optional uint64 Response_GetServerStats::total_command_time_ms = 13

◆ total_commands

optional uint64 Response_GetServerStats::total_commands = 12

◆ tx_bytes

optional uint64 Response_GetServerStats::tx_bytes = 4

Traffic recorded during the last status update tick

◆ uptime_secs

optional uint64 Response_GetServerStats::uptime_secs = 6

◆ users_count

optional uint64 Response_GetServerStats::users_count = 1

The documentation for this struct was generated from the following file: