更新时间:2023-11-24 GMT+08:00
分享

CoreDNS视图

提供了负载域名解析的CoreDNS监控视图,包含请求、响应情况,以及缓存状况。

指标说明

CoreDNS视图暴露的指标如下:

图1 CoreDNS视图指标
表1 CoreDNS指标说明

指标名称

单位

说明

请求速率

个/秒

CoreDNS每秒请求个数

请求速率(记录类型)

个/秒

根据请求类型统计CoreDNS的请求速率

请求速率(区域)

个/秒

根据区域统计CoreDNS的请求速率

请求速率(DO标志位)

个/秒

设置了DO标志位的请求速率

请求数据包(UDP)

字节数

基于UDP协议的请求数据包的P99、P90、P50的大小

请求数据包(TCP)

字节数

基于TCP协议的请求数据包的P99、P90、P50的大小

响应速率(响应状态码)

个/秒

CoreDNS不同状态码每秒的请求数

响应时延

毫秒

CoreDNS P99、P90、P50的请求时延

响应数据包(UDP)

字节数

基于UDP协议的响应数据包的P99、P90、P50的大小

响应数据包(TCP)

字节数

基于TCP协议的响应数据包的P99、P90、P50的大小

缓存记录数

CoreDNS缓存的DNS记录数

缓存命中率

个/秒

CoreDNS缓存每秒的命中请求数

指标清单

CoreDNS视图使用的指标清单如下:

表2 CoreDNS视图指标清单

指标

类型

说明

coredns_dns_request_count_total

counter

记录所有请求查询的累计值

coredns_dns_requests_total

counter

DNS请求的总数

coredns_dns_request_type_count_total

counter

每种类型的请求累计值

coredns_dns_request_do_count_total

counter

设置了DO标志位的请求次数累计值

coredns_dns_do_requests_total

counter

设置了DO标志位的请求总数

coredns_dns_request_size_bytes_bucket

histogram

CoreDNS请求字节数

coredns_dns_response_rcode_count_total

counter

不同返回码个数的累计值

coredns_dns_responses_total

counter

返回码的总数

coredns_dns_request_duration_seconds_bucket

histogram

CoreDNS请求时延

coredns_dns_response_size_bytes_bucket

histogram

CoreDNS返回字节数

coredns_cache_size

gauge

CoreDNS缓存大小

coredns_cache_hits_total

counter

CoreDNS缓存命中个数

分享:

    相关文档

    相关产品