feat(syslog): 增加 WAL 与分 IP 接入诊断
- 每分钟保存 WAL 全局状态和分 IP 接收统计,历史保留 7 天 - 记录接收、WAL 落盘、Kafka ACK、过滤、背压及丢弃数量 - 增加 wal_max_pending_bytes 和 wal_admission_unavailable 指标 - 增加 TCP pending 当前值及进程内峰值统计 - 网络异常后同一 IP 恢复接收时打印恢复日志 - 提供当前状态及按日期查询诊断历史的接口 - 连接关闭时清理 TCP pending 计数并停止无效重试 - 增加相关单元测试和现场排查文档
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
天眼/微步 JSON 异常的代码入口和现场开发排查顺序见
|
||||
[`02-json-format-error-debug-guide.md`](./02-json-format-error-debug-guide.md)。
|
||||
|
||||
Syslog 接收、WAL、Kafka ACK、设备过滤和 TCP 异常的全局/分 IP 七天诊断历史见
|
||||
[`03-syslog-wal-diagnostics.md`](./03-syslog-wal-diagnostics.md)。
|
||||
|
||||
## 功能说明
|
||||
|
||||
v5 为 `syslog-consumer-rule` 增加按设备短时采集原始日志的诊断接口,并提供自动落盘脚本。
|
||||
|
||||
Reference in New Issue
Block a user