Updated on 2024-08-16 GMT+08:00

CoreDNS View

The CoreDNS view displays the request, response, and cache status for load domain name resolution.

Metric Description

You can view CoreDNS metrics in the following table.

Figure 1 CoreDNS metrics
Table 1 CoreDNS metrics

Metric

Unit

Description

Requests

N/A

The number of requests CoreDNS receives per second.

Requests (Type)

N/A

The number of requests CoreDNS receives per second by each request type.

Requests (Zone)

N/A

The number of requests CoreDNS receives per second by each zone.

Requests (DO Bit)

N/A

The number of requests with the DO bit CoreDNS receives per second.

Request Packet (UDP)

byte

P99, P90, and P50 latencies of UDP packets CoreDNS receives.

Request Packet (TCP)

byte

P99, P90, and P50 latencies of TCP packets CoreDNS receives.

Responses (Status Code)

N/A

The number of responses CoreDNS sends per second by status code.

Response Latency

ms

P99, P90, and P50 latencies of CoreDNS.

Response Packet (UDP)

byte

P99, P90, and P50 latencies of UDP packets CoreDNS sends.

Response Packet (TCP)

byte

P99, P90, and P50 latencies of TCP packets CoreDNS sends.

Cache Records

N/A

The number of DNS records cached by CoreDNS.

Cache Hit Ratio

N/A

The number of CoreDNS cache hits per second.

Metric List

The following is the metric list of the CoreDNS view.

Table 2 Metric description

Metric

Type

Description

coredns_dns_request_count_total

Counter

Cumulative count of DNS requests made per zone, protocol, and family.

coredns_dns_requests_total

Counter

Number of DNS requests made per zone, protocol, and family.

coredns_dns_request_type_count_total

Counter

Cumulative count of DNS requests per type.

coredns_dns_request_do_count_total

Counter

Cumulative count of requests with the DO bit set.

coredns_dns_do_requests_total

Counter

The number of requests with the DO bit set.

coredns_dns_request_size_bytes_bucket

Histogram

The number of CoreDNS request bytes.

coredns_dns_response_rcode_count_total

Counter

Cumulative count of response status codes.

coredns_dns_responses_total

Counter

The number of response status codes.

coredns_dns_request_duration_seconds_bucket

Histogram

CoreDNS request latency.

coredns_dns_response_size_bytes_bucket

Histogram

Size of the returned response in bytes.

coredns_cache_size

Gauge

Cache size.

coredns_cache_hits_total

Counter

The number of cache hits.