Labels: enhancement, observability
Priority: Medium
Estimated Time: 2 hours
Description:
backend/src/log_analysis.rs presumably parses/aggregates logs, but there's no configurable rule engine to alert on specific log patterns (e.g., a spike in a particular error message) beyond generic error-rate thresholds.
Tasks:
- Add a pattern-matching rule configuration (regex or structured field match)
- Trigger alerts via
incidents.rs when a pattern's occurrence rate exceeds a threshold
- Add tests for pattern matching and threshold-based alerting
- Document rule authoring in
docs/log-format.md
Labels:
enhancement,observabilityPriority: Medium
Estimated Time: 2 hours
Description:
backend/src/log_analysis.rspresumably parses/aggregates logs, but there's no configurable rule engine to alert on specific log patterns (e.g., a spike in a particular error message) beyond generic error-rate thresholds.Tasks:
incidents.rswhen a pattern's occurrence rate exceeds a thresholddocs/log-format.md