per worker statistics More...
#include <stats.h>
Data Fields | |
size_t | num_queries |
number of queries from clients received. | |
size_t | num_queries_missed_cache |
number of queries that had a cache-miss. | |
size_t | num_queries_prefetch |
number of prefetch queries - cachehits with prefetch | |
size_t | sum_query_list_size |
Sum of the querylistsize of the worker for every query that missed cache. | |
size_t | max_query_list_size |
max value of query list size reached. | |
int | extended |
Extended stats below (bool). | |
size_t | qtype [STATS_QTYPE_NUM] |
qtype stats | |
size_t | qtype_big |
bigger qtype values not in array | |
size_t | qclass [STATS_QCLASS_NUM] |
qclass stats | |
size_t | qclass_big |
bigger qclass values not in array | |
size_t | qopcode [STATS_OPCODE_NUM] |
query opcodes | |
size_t | qtcp |
number of queries over TCP | |
size_t | qipv6 |
number of queries over IPv6 | |
size_t | qbit_QR |
number of queries with QR bit | |
size_t | qbit_AA |
number of queries with AA bit | |
size_t | qbit_TC |
number of queries with TC bit | |
size_t | qbit_RD |
number of queries with RD bit | |
size_t | qbit_RA |
number of queries with RA bit | |
size_t | qbit_Z |
number of queries with Z bit | |
size_t | qbit_AD |
number of queries with AD bit | |
size_t | qbit_CD |
number of queries with CD bit | |
size_t | qEDNS |
number of queries with EDNS OPT record | |
size_t | qEDNS_DO |
number of queries with EDNS with DO flag | |
size_t | ans_rcode [STATS_RCODE_NUM] |
answer rcodes | |
size_t | ans_rcode_nodata |
answers with pseudo rcode 'nodata' | |
size_t | ans_secure |
answers that were secure (AD) | |
size_t | ans_bogus |
answers that were bogus (withheld as SERVFAIL) | |
size_t | rrset_bogus |
rrsets marked bogus by validator | |
size_t | unwanted_replies |
unwanted traffic received on server-facing ports | |
size_t | unwanted_queries |
unwanted traffic received on client-facing ports | |
size_t | hist [NUM_BUCKETS_HIST] |
histogram data exported to array if the array is the same size, no data is lost, and if all histograms are same size (is so by default) then adding up works well. |
per worker statistics
size_t server_stats::num_queries |
number of queries from clients received.
Referenced by print_stats(), server_stats_add(), server_stats_log(), and worker_handle_request().
number of queries that had a cache-miss.
Referenced by print_stats(), server_stats_add(), server_stats_log(), and server_stats_querymiss().
Sum of the querylistsize of the worker for every query that missed cache.
To calculate average.
Referenced by print_stats(), server_stats_add(), server_stats_log(), server_stats_prefetch(), and server_stats_querymiss().
max value of query list size reached.
Referenced by print_stats(), server_stats_add(), server_stats_log(), server_stats_prefetch(), and server_stats_querymiss().
size_t server_stats::hist[NUM_BUCKETS_HIST] |
histogram data exported to array if the array is the same size, no data is lost, and if all histograms are same size (is so by default) then adding up works well.
Referenced by print_hist(), server_stats_add(), and server_stats_compile().