CoreDNS 插件:监控与故障排除的利器
1. CoreDNS 指标概述
CoreDNS 提供了一系列指标,用于了解其资源消耗情况,特别是 CPU 使用情况。以下是一些重要指标的介绍:
| 名称 | 标签 | 描述 |
| — | — | — |
| go_memstats_other_sys_bytes | 无 | 用于其他系统分配的字节数 |
| go_memstats_next_gc_bytes | 无 | 下一次垃圾回收时堆的字节数 |
| go_memstats_last_gc_time_seconds | 无 | 自 1970 年以来最后一次垃圾回收的秒数 |
| go_memstats_gc_cpu_fraction | 无 | 程序启动以来垃圾回收占用的 CPU 时间比例 |
| coredns_build_info | version, revision, goversion | 该指标值始终为 1,包含 CoreDNS 版本、Git 版本和 Go 版本的标签 |
| coredns_dns_request_count_total | server, zone, proto, family | 按区域、协议和族统计的 DNS 请求计数器 |
| coredns_dns_request_duration_seconds | server, zone | 每个请求的处理时间(秒)的直方图 |
| coredns_dns_request_size_bytes | server, zone, proto | EDNS0 UDP 缓冲区大小(字节)的直方图(TCP 为 64K) |
| coredns
超级会员免费看
订阅专栏 解锁全文
1553

被折叠的 条评论
为什么被折叠?



