feat(go): expose history batch pending metrics
This commit is contained in:
@@ -68,6 +68,8 @@ systemd gateway 已配置 `LimitNOFILE=1048576`,需要持续保持。
|
||||
| Gateway | parse/publish duration | p99 小于容量目标 |
|
||||
| History writer | `vehicle_history_batch_flush_total{status}` | `error` 不增长 |
|
||||
| History writer | `vehicle_history_batch_rows_total{status}` | batch 行数持续增长 |
|
||||
| History writer | `vehicle_history_batch_pending_messages` | 稳态接近 0,burst 后下降 |
|
||||
| History writer | `vehicle_history_batch_pending_rows` | 稳态接近 0,burst 后下降 |
|
||||
| History writer | `vehicle_history_batch_flush_duration_ms{status}` | flush 延迟不持续上升 |
|
||||
| NATS bridge | `vehicle_bridge_nats_consumer_ack_pending` | 稳态为 0 |
|
||||
| NATS bridge | `vehicle_bridge_nats_consumer_pending` | burst 后下降 |
|
||||
@@ -112,7 +114,7 @@ systemd gateway 已配置 `LimitNOFILE=1048576`,需要持续保持。
|
||||
- gateway frame/publish counters
|
||||
- NATS pending 和 ack pending
|
||||
- Kafka lag
|
||||
- Redis/MySQL/TDengine 写入耗时
|
||||
- Redis/MySQL/TDengine 写入耗时和 pending depth
|
||||
- CPU/load/memory/file descriptors
|
||||
- 错误日志
|
||||
|
||||
|
||||
Reference in New Issue
Block a user