Catch silent failures that slipped past existing alerts#153
Merged
Conversation
Add 5 new PrometheusRule alerts covering gaps found during staging and production validation: - NATSConsumerLagHigh: warns when AUDIT_EVENTS pending count exceeds 1000, an early signal before the existing critical backlog alert fires - AuditLogQuery504Errors: catches per-resource timeout errors on auditlogqueries that aggregate error rate alert misses - ClickHouseQueryIterationErrors: surfaces row iteration failures during result streaming, previously a silent failure mode - VectorClickHouseWritesStopped: detects the case where Vector is receiving from NATS but not writing to ClickHouse (split-brain pipeline failure) - DLQSlowLeak: catches low-rate but persistent DLQ growth (>10 events in 6h) that falls below the existing DLQQueueGrowing threshold Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
kevwilliams
approved these changes
Mar 26, 2026
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 five new alerts to cover failure modes discovered during a production validation that went undetected by existing alerting.
New alerts
What prompted this
Post-deploy validation found a 48-hour gap where Vector stopped writing events to ClickHouse with no alert, a 10-hour NATS consumer stall with no alert, and ongoing DLQ accumulation from a broken policy with no alert.
Test plan
VectorClickHouseWritesStoppedcorrectly usescomponent_typeselectorCloses #144
🤖 Generated with Claude Code