feat: expose email_queue_depth as Prometheus metric with Grafana panel and alert#1014
Open
euniceamoni wants to merge 2 commits into
Open
feat: expose email_queue_depth as Prometheus metric with Grafana panel and alert#1014euniceamoni wants to merge 2 commits into
euniceamoni wants to merge 2 commits into
Conversation
…lug#960) - Move ecs_tasks SG to root module to avoid circular dependencies - ALB SG: restrict egress to container port → ecs_tasks SG only - ecs_tasks SG: egress limited to 5432 (RDS), 6379 (Redis), 443 (AWS APIs) - RDS SG: replace 10.0.0.0/8 ingress with ecs_tasks SG reference, remove broad egress - Redis SG: replace 10.0.0.0/8 ingress with ecs_tasks SG reference, remove broad egress - Add Checkov CI scan job that fails on HIGH/CRITICAL findings before terraform plan
…l and alert - Add email_queue_depth IntGauge to Metrics struct - Emit the gauge in the email worker loop after each dequeue cycle - Also update the gauge on each /api/v1/email/queue/stats request - Add Grafana panel for queue depth visualization - Add Prometheus alert when queue depth exceeds 100 for 5 minutes Resolves solutions-plug#961
|
@euniceamoni Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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
Changes
Resolves #961