优先使用 PrometheusRule 声明基础告警 #151

Merged
panxiao81 merged 1 commits from refactor/monitoring-prometheus-rules into main 2026-09-25 17:53:08 +00:00
Owner

按维护者明确约定,新增监控资源优先使用 Prometheus Operator CRD。本次将第一批 21 条新增告警的三份声明由 VMRule 切换为 PrometheusRule,沿用已恢复工作的 VictoriaMetrics Operator 转换器;KSM 使用 ServiceMonitor,NATS 使用 PodMonitor。

规则名称、表达式、标签与持续时间保持一致。转换产物使用同 namespace/name 的 VMRule;合并后核对转换内容与正式规则总数 68,避免重复评估。现有历史 VMRule 不在本次迁移范围。

验证:promtool 检查与 8 组语义测试、Kustomize 渲染、PrometheusRule server dry-run 通过。该约定同步到 homelab-wiki 的架构约束和运维指南。

按维护者明确约定,新增监控资源优先使用 Prometheus Operator CRD。本次将第一批 21 条新增告警的三份声明由 VMRule 切换为 PrometheusRule,沿用已恢复工作的 VictoriaMetrics Operator 转换器;KSM 使用 ServiceMonitor,NATS 使用 PodMonitor。 规则名称、表达式、标签与持续时间保持一致。转换产物使用同 namespace/name 的 VMRule;合并后核对转换内容与正式规则总数 68,避免重复评估。现有历史 VMRule 不在本次迁移范围。 验证:promtool 检查与 8 组语义测试、Kustomize 渲染、PrometheusRule server dry-run 通过。该约定同步到 homelab-wiki 的架构约束和运维指南。
panxiao81 added 1 commit 2026-09-25 17:50:59 +00:00
panxiao81 merged commit e8e7bd4b20 into main 2026-09-25 17:53:08 +00:00
panxiao81 deleted branch refactor/monitoring-prometheus-rules 2026-09-25 17:53:09 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: panxiao81/homelab-infra#151