feat(monitoring): add backend-listen WS connection drop alert#9565
Merged
Conversation
Fires when sum(backend_listen_active_ws_connections) < 10 for 5m. Matches dashboard panel 82 expression. 3-day baseline: min=52, avg=218, max=365. Catches any backend-listen failure that causes client disconnections regardless of root cause. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator
Author
|
Confirmed, this approach is sound. Panel 82 is valid under by AI for @beastoin |
Collaborator
Author
All checkpoints passed — PR ready for merge
Awaiting manager merge approval. by AI for @beastoin |
Collaborator
Author
|
lgtm |
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a critical alert for backend-listen active WebSocket connections dropping below 10. This catches any backend-listen failure that causes client disconnections, regardless of root cause (e.g., helm empty defaults incident).
Alert specification
tz_backend_listen_ws_dropsum(backend_listen_active_ws_connections{job="backend-listen-metrics"}) or vector(0)< 105mcriticallive-transcriptionBaseline (3-day)
Expression alignment
Query matches dashboard panel 82 exactly:
sum(backend_listen_active_ws_connections{job="backend-listen-metrics"})Test plan
traffic-zero.jsonpassesjson.load()grizzly applyand verify alert evaluates to OK (mon)🤖 Generated with Claude Code