ark::comms::HttpServerStatistics
Defined in header “ark/comms/http_server.hh”.
Statistics reported back from the HTTP server. This reports some details on error/request rates that might be useful.
Variables
-
uint64_t total_connection_count= 0
Total number of connections attempts. -
uint64_t total_request_count= 0
Total number of requests. -
uint64_t upgrade_request_count= 0
“Upgrade” requests (ie, upgrade to websockets). -
uint64_t internal_server_error_count= 0
Number of internal errors when answering requests. -
uint64_t bad_request_error_count= 0
Number of bad request errors when answering requests. -
uint64_t service_unavailable_count= 0
Number of “unavailable” (server overloaded) responses. -
uint64_t maximum_simultaneous_connections= 0
Peak number of simultaneous connections. -
uint64_t total_write_buffer_overflow_count= 0
Write buffer overflow count (if we need to use a userspace buffer for writes, this increments).