Skip to content

Commit

Permalink
EES-5685 - responding to PR comments. Updating timeAggregation on som…
Browse files Browse the repository at this point in the history
…e alerts to produce a more useful report
  • Loading branch information
duncan-at-hiveit committed Dec 6, 2024
1 parent 2de2fd2 commit eac866a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ module appGatewayModule '../../components/appGateway.bicep' = {
}

module backendPoolsHealthAlert '../../components/alerts/appGateways/backendPoolHealth.bicep' = if (deployAlerts) {
name: '${resourceNames.sharedResources.appGateway}BackedPoolsHealthDeploy'
name: '${resourceNames.sharedResources.appGateway}BackendPoolsHealthDeploy'
params: {
resourceNames: [resourceNames.sharedResources.appGateway]
alertsGroupName: resourceNames.existingResources.alertsGroup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module alerts '../staticMetricAlert.bicep' = [for name in resourceNames: {
resourceType: 'Microsoft.Network/applicationGateways'
query: {
metric: 'UnhealthyHostCount'
aggregation: 'Average'
aggregation: 'Total'
operator: 'GreaterThan'
threshold: 0
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module alerts '../staticMetricAlert.bicep' = [for name in resourceNames: {
resourceType: 'Microsoft.App/containerApps'
query: {
metric: 'RestartCount'
aggregation: 'Average'
aggregation: 'Total'
operator: 'GreaterThan'
threshold: 0
}
Expand Down

0 comments on commit eac866a

Please sign in to comment.