fix(agent): 排除 tap 开头的虚拟接口以避免误采集

在默认网络接口排除规则和示例配置中添加对 tap 开头接口的排除,这些是 PVE/KVM 虚拟机使用的虚拟网卡,不应纳入网络指标采集范围。
This commit is contained in:
Hoin committed 2026-01-31 11:04:43 +08:00
1 parent fa70172e5c
commit 71df7fb583
2 files changed
+2

No files matched your search

+1
View File
@@ -51,6 +51,7 @@ collector:
- "^docker.*" # 排除所有 docker 开头的接口
- "^veth.*" # 排除所有 veth 开头的虚拟接口
- "^br-.*" # 排除所有 br- 开头的网桥接口
- "^tap.*" # 排除所有 tap 开头的接口(PVE/KVM 虚拟机)
# 磁盘采集包含的挂载点列表(白名单)
# 如果为空,默认采集系统主分区(Linux/macOS: "/",Windows: "C:\")