Skip to content

Commit

Permalink
Setting alert static threshold (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
sudivate authored Apr 20, 2022
1 parent bb89c90 commit 3c0f4a8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions infra/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@
"name": "Metric1",
"metricNamespace": "Microsoft.Synapse/workspaces",
"metricName": "IntegrationPipelineRunsEnded",
"operator": "GreaterThan",
"operator": "GreaterThanOrEqual",
"timeAggregation": "Total",
"criterionType": "StaticThresholdCriterion",
"dimensions": [
Expand Down Expand Up @@ -619,7 +619,7 @@
"name": "Metric1",
"metricNamespace": "Microsoft.Devices/IotHubs",
"metricName": "c2d.methods.failure",
"operator": "GreaterThan",
"operator": "GreaterThanOrEqual",
"timeAggregation": "Total",
"criterionType": "StaticThresholdCriterion"
}
Expand Down Expand Up @@ -661,7 +661,7 @@
"name": "Metric1",
"metricNamespace": "Microsoft.EventHub/namespaces",
"metricName": "ServerErrors",
"operator": "GreaterThan",
"operator": "GreaterThanOrEqual",
"timeAggregation": "Total",
"criterionType": "StaticThresholdCriterion"
}
Expand Down Expand Up @@ -704,7 +704,7 @@
"name": "Metric1",
"metricNamespace": "Microsoft.StreamAnalytics/streamingjobs",
"metricName": "Errors",
"operator": "GreaterThan",
"operator": "GreaterThanOrEqual",
"timeAggregation": "Total",
"criterionType": "StaticThresholdCriterion"
}
Expand Down
8 changes: 4 additions & 4 deletions infra/modules/services/alerts.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ resource synapsePipelineFailedAlert 'Microsoft.Insights/metricAlerts@2018-03-01'
name: 'Metric1'
metricNamespace: 'Microsoft.Synapse/workspaces'
metricName: 'IntegrationPipelineRunsEnded'
operator: 'GreaterThan'
operator: 'GreaterThanOrEqual'
timeAggregation: 'Total'
criterionType: 'StaticThresholdCriterion'
dimensions: [
Expand Down Expand Up @@ -104,7 +104,7 @@ resource iothubFailedAlert 'Microsoft.Insights/metricAlerts@2018-03-01' = {
name: 'Metric1'
metricNamespace: 'Microsoft.Devices/IotHubs'
metricName: 'c2d.methods.failure'
operator: 'GreaterThan'
operator: 'GreaterThanOrEqual'
timeAggregation: 'Total'
criterionType: 'StaticThresholdCriterion'
}
Expand Down Expand Up @@ -142,7 +142,7 @@ resource eventhubnamespaceFailedAlert 'Microsoft.Insights/metricAlerts@2018-03-0
name: 'Metric1'
metricNamespace: 'Microsoft.EventHub/namespaces'
metricName: 'ServerErrors'
operator: 'GreaterThan'
operator: 'GreaterThanOrEqual'
timeAggregation: 'Total'
criterionType: 'StaticThresholdCriterion'
}
Expand Down Expand Up @@ -180,7 +180,7 @@ resource streamanalyticsFailedAlert 'Microsoft.Insights/metricAlerts@2018-03-01'
name: 'Metric1'
metricNamespace: 'Microsoft.StreamAnalytics/streamingjobs'
metricName: 'Errors'
operator: 'GreaterThan'
operator: 'GreaterThanOrEqual'
timeAggregation: 'Total'
criterionType: 'StaticThresholdCriterion'
}
Expand Down

0 comments on commit 3c0f4a8

Please sign in to comment.