Electroneum
ub_server_stats Struct Reference

#include <unbound.h>

Public Attributes

long long num_queries
 
long long num_queries_ip_ratelimited
 
long long num_queries_missed_cache
 
long long num_queries_prefetch
 
long long sum_query_list_size
 
long long max_query_list_size
 
int extended
 
long long qtype [UB_STATS_QTYPE_NUM]
 
long long qtype_big
 
long long qclass [UB_STATS_QCLASS_NUM]
 
long long qclass_big
 
long long qopcode [UB_STATS_OPCODE_NUM]
 
long long qtcp
 
long long qtcp_outgoing
 
long long qipv6
 
long long qbit_QR
 
long long qbit_AA
 
long long qbit_TC
 
long long qbit_RD
 
long long qbit_RA
 
long long qbit_Z
 
long long qbit_AD
 
long long qbit_CD
 
long long qEDNS
 
long long qEDNS_DO
 
long long ans_rcode [UB_STATS_RCODE_NUM]
 
long long ans_rcode_nodata
 
long long ans_secure
 
long long ans_bogus
 
long long rrset_bogus
 
long long queries_ratelimited
 
long long unwanted_replies
 
long long unwanted_queries
 
long long tcp_accept_usage
 
long long zero_ttl_responses
 
long long hist [UB_STATS_BUCKET_NUM]
 
long long msg_cache_count
 
long long rrset_cache_count
 
long long infra_cache_count
 
long long key_cache_count
 
long long num_query_dnscrypt_crypted
 
long long num_query_dnscrypt_cert
 
long long num_query_dnscrypt_cleartext
 
long long num_query_dnscrypt_crypted_malformed
 
long long num_query_dnscrypt_secret_missed_cache
 
long long shared_secret_cache_count
 
long long num_query_dnscrypt_replay
 
long long nonce_cache_count
 
long long num_query_authzone_up
 
long long num_query_authzone_down
 
long long num_neg_cache_noerror
 
long long num_neg_cache_nxdomain
 

Detailed Description

per worker statistics.

Definition at line 642 of file unbound.h.

Member Data Documentation

◆ ans_bogus

long long ub_server_stats::ans_bogus

answers that were bogus (withheld as SERVFAIL)

Definition at line 706 of file unbound.h.

◆ ans_rcode

long long ub_server_stats::ans_rcode[UB_STATS_RCODE_NUM]

answer rcodes

Definition at line 700 of file unbound.h.

◆ ans_rcode_nodata

long long ub_server_stats::ans_rcode_nodata

answers with pseudo rcode 'nodata'

Definition at line 702 of file unbound.h.

◆ ans_secure

long long ub_server_stats::ans_secure

answers that were secure (AD)

Definition at line 704 of file unbound.h.

◆ extended

int ub_server_stats::extended

Extended stats below (bool)

Definition at line 661 of file unbound.h.

◆ hist

long long ub_server_stats::hist[UB_STATS_BUCKET_NUM]

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.

Definition at line 723 of file unbound.h.

◆ infra_cache_count

long long ub_server_stats::infra_cache_count

number of infra cache entries

Definition at line 730 of file unbound.h.

◆ key_cache_count

long long ub_server_stats::key_cache_count

number of key cache entries

Definition at line 732 of file unbound.h.

◆ max_query_list_size

long long ub_server_stats::max_query_list_size

max value of query list size reached.

Definition at line 658 of file unbound.h.

◆ msg_cache_count

long long ub_server_stats::msg_cache_count

number of message cache entries

Definition at line 726 of file unbound.h.

◆ nonce_cache_count

long long ub_server_stats::nonce_cache_count

number of dnscrypt nonces cache entries

Definition at line 749 of file unbound.h.

◆ num_neg_cache_noerror

long long ub_server_stats::num_neg_cache_noerror

number of times neg cache records were used to generate NOERROR responses.

Definition at line 756 of file unbound.h.

◆ num_neg_cache_nxdomain

long long ub_server_stats::num_neg_cache_nxdomain

number of times neg cache records were used to generate NXDOMAIN responses.

Definition at line 759 of file unbound.h.

◆ num_queries

long long ub_server_stats::num_queries

number of queries from clients received.

Definition at line 644 of file unbound.h.

◆ num_queries_ip_ratelimited

long long ub_server_stats::num_queries_ip_ratelimited

number of queries that have been dropped/ratelimited by ip.

Definition at line 646 of file unbound.h.

◆ num_queries_missed_cache

long long ub_server_stats::num_queries_missed_cache

number of queries that had a cache-miss.

Definition at line 648 of file unbound.h.

◆ num_queries_prefetch

long long ub_server_stats::num_queries_prefetch

number of prefetch queries - cachehits with prefetch

Definition at line 650 of file unbound.h.

◆ num_query_authzone_down

long long ub_server_stats::num_query_authzone_down

number of queries for unbound's auth_zones, downstream answers

Definition at line 753 of file unbound.h.

◆ num_query_authzone_up

long long ub_server_stats::num_query_authzone_up

number of queries for unbound's auth_zones, upstream query

Definition at line 751 of file unbound.h.

◆ num_query_dnscrypt_cert

long long ub_server_stats::num_query_dnscrypt_cert

number of queries that queried dnscrypt certificates

Definition at line 737 of file unbound.h.

◆ num_query_dnscrypt_cleartext

long long ub_server_stats::num_query_dnscrypt_cleartext

number of queries in clear text and not asking for the certificates

Definition at line 739 of file unbound.h.

◆ num_query_dnscrypt_crypted

long long ub_server_stats::num_query_dnscrypt_crypted

number of queries that used dnscrypt

Definition at line 735 of file unbound.h.

◆ num_query_dnscrypt_crypted_malformed

long long ub_server_stats::num_query_dnscrypt_crypted_malformed

number of malformed encrypted queries

Definition at line 741 of file unbound.h.

◆ num_query_dnscrypt_replay

long long ub_server_stats::num_query_dnscrypt_replay

number of queries which are replays

Definition at line 747 of file unbound.h.

◆ num_query_dnscrypt_secret_missed_cache

long long ub_server_stats::num_query_dnscrypt_secret_missed_cache

number of queries which did not have a shared secret in cache

Definition at line 743 of file unbound.h.

◆ qbit_AA

long long ub_server_stats::qbit_AA

number of queries with AA bit

Definition at line 682 of file unbound.h.

◆ qbit_AD

long long ub_server_stats::qbit_AD

number of queries with AD bit

Definition at line 692 of file unbound.h.

◆ qbit_CD

long long ub_server_stats::qbit_CD

number of queries with CD bit

Definition at line 694 of file unbound.h.

◆ qbit_QR

long long ub_server_stats::qbit_QR

number of queries with QR bit

Definition at line 680 of file unbound.h.

◆ qbit_RA

long long ub_server_stats::qbit_RA

number of queries with RA bit

Definition at line 688 of file unbound.h.

◆ qbit_RD

long long ub_server_stats::qbit_RD

number of queries with RD bit

Definition at line 686 of file unbound.h.

◆ qbit_TC

long long ub_server_stats::qbit_TC

number of queries with TC bit

Definition at line 684 of file unbound.h.

◆ qbit_Z

long long ub_server_stats::qbit_Z

number of queries with Z bit

Definition at line 690 of file unbound.h.

◆ qclass

long long ub_server_stats::qclass[UB_STATS_QCLASS_NUM]

qclass stats

Definition at line 668 of file unbound.h.

◆ qclass_big

long long ub_server_stats::qclass_big

bigger qclass values not in array

Definition at line 670 of file unbound.h.

◆ qEDNS

long long ub_server_stats::qEDNS

number of queries with EDNS OPT record

Definition at line 696 of file unbound.h.

◆ qEDNS_DO

long long ub_server_stats::qEDNS_DO

number of queries with EDNS with DO flag

Definition at line 698 of file unbound.h.

◆ qipv6

long long ub_server_stats::qipv6

number of queries over IPv6

Definition at line 678 of file unbound.h.

◆ qopcode

long long ub_server_stats::qopcode[UB_STATS_OPCODE_NUM]

query opcodes

Definition at line 672 of file unbound.h.

◆ qtcp

long long ub_server_stats::qtcp

number of queries over TCP

Definition at line 674 of file unbound.h.

◆ qtcp_outgoing

long long ub_server_stats::qtcp_outgoing

number of outgoing queries over TCP

Definition at line 676 of file unbound.h.

◆ qtype

long long ub_server_stats::qtype[UB_STATS_QTYPE_NUM]

qtype stats

Definition at line 664 of file unbound.h.

◆ qtype_big

long long ub_server_stats::qtype_big

bigger qtype values not in array

Definition at line 666 of file unbound.h.

◆ queries_ratelimited

long long ub_server_stats::queries_ratelimited

number of queries that have been ratelimited by domain recursion.

Definition at line 710 of file unbound.h.

◆ rrset_bogus

long long ub_server_stats::rrset_bogus

rrsets marked bogus by validator

Definition at line 708 of file unbound.h.

◆ rrset_cache_count

long long ub_server_stats::rrset_cache_count

number of rrset cache entries

Definition at line 728 of file unbound.h.

◆ shared_secret_cache_count

long long ub_server_stats::shared_secret_cache_count

number of dnscrypt shared secret cache entries

Definition at line 745 of file unbound.h.

◆ sum_query_list_size

long long ub_server_stats::sum_query_list_size

Sum of the querylistsize of the worker for every query that missed cache. To calculate average.

Definition at line 656 of file unbound.h.

◆ tcp_accept_usage

long long ub_server_stats::tcp_accept_usage

usage of tcp accept list

Definition at line 716 of file unbound.h.

◆ unwanted_queries

long long ub_server_stats::unwanted_queries

unwanted traffic received on client-facing ports

Definition at line 714 of file unbound.h.

◆ unwanted_replies

long long ub_server_stats::unwanted_replies

unwanted traffic received on server-facing ports

Definition at line 712 of file unbound.h.

◆ zero_ttl_responses

long long ub_server_stats::zero_ttl_responses

answers served from expired cache

Definition at line 718 of file unbound.h.


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