You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🐛 Fix Prometheus alert parsing to include level-3 headers
The sed pattern '/^##/' was incorrectly matching both level-2 (##) and
level-3 (###) markdown headers, causing it to stop at "### Firing Alerts"
instead of continuing to "## Performance". This resulted in empty alert
sections even when alerts were present.
Changed pattern to '/^## /' (with space) to match only level-2 headers.
**Impact:**
- analyze-profiles.sh now correctly extracts and displays all alerts
- compare-profiles.sh now correctly detects alerts in both test runs
**Example:**
Before: "No Prometheus alerts detected" (incorrect)
After: Shows both pending alerts:
- operator-controller-memory-growth: 132.4kB/sec
- operator-controller-memory-usage: 107.9MB
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments