Add protocol packet statistics to servers
The individual servers were missing a statistic that would give an estimated query count. As there is no simple way to count queries for all modules, counting the number of routed protocol packets is a suitable substitute.
This commit is contained in:
@ -63,6 +63,7 @@ typedef struct
|
||||
int n_persistent; /**< Current persistent pool */
|
||||
uint64_t n_new_conn; /**< Times the current pool was empty */
|
||||
uint64_t n_from_pool; /**< Times when a connection was available from the pool */
|
||||
uint64_t packets; /**< Number of packets routed to this server */
|
||||
} SERVER_STATS;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user