-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4XX and 5XX Alert Aggregation to Total Instead of Count #1486
4XX and 5XX Alert Aggregation to Total Instead of Count #1486
Conversation
Co-Authored-By: Bella L. Quintero <[email protected]> Co-Authored-By: Samuel Aquino <[email protected]>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
@@ -134,7 +134,7 @@ resource "azurerm_monitor_metric_alert" "azure_4XX_alert" { | |||
criteria { | |||
metric_namespace = "Microsoft.Web/sites" | |||
metric_name = "Http4xx" | |||
aggregation = "Count" | |||
aggregation = "Total" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding a comment explaining the reason for changing the aggregation from 'Count' to 'Total'. This will help maintain the code and understand the decision-making process behind this change. [important]
PR Code Suggestions ✨Explore these optional code suggestions:
|
Quality Gate passedIssues Measures |
Description
Based on @saquino0827's finding, updated the 4XX and 5XX alerts to use Total (Sum) instead of Count for their aggregation.
Issue
#1396 and #1394.
Checklist