Commit graph

1 commit

Author SHA1 Message Date
jedarden
f716d27aac docs(bf-57ko1): add Prometheus alerting rules for serve deployments
- Add 7 alerting rules for pdftract serve monitoring
- Required alerts per plan Monitoring section:
  - PdftractExtractionLatencyHigh: p99 > 2× 150ms target for >5m
  - PdftractErrorRateHigh: error rate > 1% over 5m
  - PdftractCacheHitRateLow: cache hit rate < 50%
  - PdftractWorkerSaturated: worker pool > 80% busy
  - PdftractMemoryHigh: RSS > 80% of max_decompress_bytes
- Additional alerts from plan recommendations:
  - PdftractCacheSizeGrowingUnchecked
  - PdftractDiagnosticFlood
- Runbook URLs reference plan.md monitoring section

Acceptance criteria:
- ✓ Valid Prometheus YAML structure
- ✓ Contains 7 alerting rules (5 required + 2 additional)
- ✓ Runbook URLs point to docs/plan/plan.md monitoring section

Closes bf-57ko1
2026-07-05 12:49:49 -04:00