Skip to content
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

Add Application Insights alerts #314

Merged
merged 43 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from 42 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
13bc071
Updating json template
ymehdimsft Aug 1, 2024
ade3104
Updating json file
ymehdimsft Aug 1, 2024
38e4e45
Merge branch 'Azure:dev-alz-pattern' into dev-alz-pattern
ymehdimsft Aug 1, 2024
041829e
Updates for Alerts
ymehdimsft Aug 2, 2024
6878263
Merge branch 'dev-alz-pattern' of https://github.com/ymehdimsft/azure…
ymehdimsft Aug 2, 2024
2e34684
Updates on policies bicep files
ymehdimsft Aug 2, 2024
fcc492a
Updates for bicep policies
ymehdimsft Aug 2, 2024
b555daf
Updates on bicep policies files
ymehdimsft Aug 2, 2024
2a92f74
Updates
ymehdimsft Aug 2, 2024
25a373b
More updates
ymehdimsft Aug 2, 2024
3ba4e2b
Updates
ymehdimsft Aug 2, 2024
b439c8b
Updates App Insights Delete Alert
ymehdimsft Aug 2, 2024
34ca13c
Updates code AppI delete
ymehdimsft Aug 2, 2024
a30815e
Update Deploy-AppInsightsThrottlingLimit-Alert.json
Brunoga-MS Aug 27, 2024
78dacb9
Update Deploy-ActivityLog-AppInsights-Del.json
Brunoga-MS Aug 27, 2024
370127c
Merge pull request #2 from Brunoga-MS/patch-2
ymehdimsft Aug 27, 2024
1d23328
Merge pull request #1 from Brunoga-MS/patch-3
ymehdimsft Aug 27, 2024
4ff546e
Update Deploy-AppInsightsThrottlingLimit-Alert.json
Brunoga-MS Aug 27, 2024
846c998
Update Deploy-AppInsightsThrottlingLimit-Alert.json
Brunoga-MS Aug 27, 2024
6b760d7
Merge pull request #3 from Brunoga-MS/patch-4
ymehdimsft Aug 28, 2024
98a5e0e
Update Deploy-AppInsightsThrottlingLimit-Alert.json
Brunoga-MS Aug 28, 2024
1b4ba57
Merge pull request #4 from Brunoga-MS/patch-5
ymehdimsft Aug 28, 2024
ed43c84
Merge branch 'Azure:dev-alz-pattern' into dev-alz-pattern
ymehdimsft Aug 28, 2024
dbab490
New commit
ymehdimsft Aug 28, 2024
5b9ae11
New commit
ymehdimsft Aug 28, 2024
1e87be4
New commit
ymehdimsft Aug 28, 2024
66d4c62
Aligning Yanis dev branch with Azure main
Brunoga-MS Dec 12, 2024
5df0575
Updating policySetDefinition version and param file and policy json f…
Brunoga-MS Dec 12, 2024
32de045
Merge branch 'Azure:main' into dev-alz-pattern
ymehdimsft Dec 18, 2024
1447ea0
Update policy definitions and Bicep templates for Azure landing zone
ymehdimsft Dec 18, 2024
3ea14a6
Refactor AppInsights throttling limit parameters in terraform-sync co…
ymehdimsft Dec 18, 2024
901e4e0
Fixed an issue with policySetDefinition formattin for AppInsights params
Brunoga-MS Dec 18, 2024
1b76b55
Adding missing UAMI param
Brunoga-MS Dec 18, 2024
2044385
Adding missing params
Brunoga-MS Dec 18, 2024
d454966
fixed file format issue
Brunoga-MS Dec 18, 2024
b253ca8
Merge branch 'main' of https://github.com/azure/azure-monitor-baselin…
Brunoga-MS Dec 18, 2024
9cf1443
updating JSON files after updating Bicep CLI to the newest version
Brunoga-MS Dec 18, 2024
140f171
Merge branch 'main' of https://github.com/azure/azure-monitor-baselin…
Brunoga-MS Dec 19, 2024
30fca92
Fixing remediation issue
Brunoga-MS Dec 19, 2024
c788669
fixing remediation issues
Brunoga-MS Dec 19, 2024
d21c426
fixing formatting issue with missing [
Brunoga-MS Dec 19, 2024
c7c452d
Updating AppInsights alert names in the docs
Brunoga-MS Dec 19, 2024
18404e1
Update policies
arjenhuitema Dec 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ geekdocHidden: true
| Virtual machine | *```subscription().displayName```*-VMHighCPUAlert | _Log search_ | ***\_amba-UtilizationPercentage-threshold-Override\_*** |
| Virtual machine | *```subscription().displayName```*-VMLowMemoryAlert | _Log search_ | ***\_amba-AvailableMemoryPercentage-threshold-Override\_*** |
| Log Analytics workspace | *```resourceName```*-DailyCapLimitReachedAlert | _Log search_ | ***Not available as threshold will always be ```0```*** |
| Application Insights | *```resourceName```*-ApplicationInsightsThrottlingLimitReachedAlert | _Log search_ | ***\_amba-Throttling-threshold-override\_*** |
1 change: 1 addition & 0 deletions docs/content/patterns/alz/HowTo/Metrics_Alert_Table.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,4 @@ geekdocHidden: true
| App Service plan | *```resourceName```*-DiskQueueLengthAlert | Metrics | <span style="color:DarkOrange">***Not available since it uses dynamic thresholds***</span> |
| App Service plan | *```resourceName```*-HttpQueueLengthAlert | Metrics | <span style="color:DarkOrange">***Not available since it uses dynamic thresholds***</span> |
| App Service plan | *```resourceName```*-MemoryPercentage | Metrics | ***\_amba-MemoryPercentage-threshold-Override\_*** |
| Application Insights | ActivityAppInsightsDelete | Activity Log | <span style="color:DarkOrange">***Not available since Activity Log based alerts do not have thresholds***</span> |
4 changes: 2 additions & 2 deletions patterns/alz/alzArm.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"No"
],
"metadata": {
"displayName": "Teletry Opt Out",
"displayName": "Telemetry Opt Out",
"description": "The customer usage identifier used for telemetry purposes. The default value of False enables telemetry. The value of True disables telemetry."
}
},
Expand Down Expand Up @@ -500,7 +500,7 @@
"policyAssignmentParametersRecoveryServices": "[union(variables('policyAssignmentParametersMonitorDisable'), parameters('policyAssignmentParametersRecoveryServices'))]",
"policyAssignmentParametersStorage": "[union(variables('policyAssignmentParametersCommon'), parameters('policyAssignmentParametersStorage'))]",
"policyAssignmentParametersVM": "[union(variables('policyAssignmentParametersCommon'), parameters('policyAssignmentParametersVM'),variables('uamiParameters'))]",
"policyAssignmentParametersWeb": "[union(variables('policyAssignmentParametersMonitorDisable'), parameters('policyAssignmentParametersWeb'))]",
"policyAssignmentParametersWeb": "[union(variables('policyAssignmentParametersCommon'), parameters('policyAssignmentParametersWeb'), variables('uamiParameters'))]",
// Declaring all required deployment uri's used for deployments of composite ARM templates for ESLZ
"deploymentUris": {
"policyDefinitionsAutomation": "[uri(deployment().properties.templateLink.uri, 'policyDefinitions/policies-Automation.json')]",
Expand Down
39 changes: 39 additions & 0 deletions patterns/alz/alzArm.param.json
Original file line number Diff line number Diff line change
Expand Up @@ -2877,6 +2877,45 @@
},
"WSFHttpQueueLengthEvaluationPeriods": {
"value": "2"
},
"AppInsightsThrottlingLimitSeverity": {
"value": "1"
},
"AppInsightsThrottlingLimitOperator": {
"value": "GreaterThan"
},
"AppInsightsThrottlingLimitTimeAggregation": {
"value": "Count"
},
"AppInsightsThrottlingLimitWindowSize": {
"value": "PT5M"
},
"AppInsightsThrottlingLimitEvaluationFrequency": {
"value": "PT5M"
},
"AppInsightsThrottlingLimitAutoMitigate": {
"value": "true"
},
"AppInsightsThrottlingLimitThreshold": {
"value": "32000"
},
"AppInsightsThrottlingLimitFailingPeriods": {
"value": "1"
},
"AppInsightsThrottlingLimitEvaluationPeriods": {
"value": "1"
},
"AppInsightsThrottlingLimitPolicyEffect": {
"value": "deployIfNotExists"
},
"AppInsightsThrottlingLimitAlertState": {
"value": "false"
},
"activityAppInsightsDeletePolicyEffect": {
"value": "deployIfNotExists"
},
"activityAppInsightsDeleteAlertState": {
"value": "false"
}
}
}
Expand Down
39 changes: 39 additions & 0 deletions patterns/alz/eslzArm.terraform-sync.param.json
Original file line number Diff line number Diff line change
Expand Up @@ -2877,6 +2877,45 @@
},
"WSFHttpQueueLengthEvaluationPeriods": {
"value": "2"
},
"AppInsightsThrottlingLimitSeverity": {
"value": "1"
},
"AppInsightsThrottlingLimitOperator": {
"value": "GreaterThan"
},
"AppInsightsThrottlingLimitTimeAggregation": {
"value": "Count"
},
"AppInsightsThrottlingLimitWindowSize": {
"value": "PT5M"
},
"AppInsightsThrottlingLimitEvaluationFrequency": {
"value": "PT5M"
},
"AppInsightsThrottlingLimitAutoMitigate": {
"value": "true"
},
"AppInsightsThrottlingLimitThreshold": {
"value": "32000"
},
"AppInsightsThrottlingLimitFailingPeriods": {
"value": "1"
},
"AppInsightsThrottlingLimitEvaluationPeriods": {
"value": "1"
},
"AppInsightsThrottlingLimitPolicyEffect": {
"value": "deployIfNotExists"
},
"AppInsightsThrottlingLimitAlertState": {
"value": "false"
},
"activityAppInsightsDeletePolicyEffect": {
"value": "deployIfNotExists"
},
"activityAppInsightsDeleteAlertState": {
"value": "false"
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions patterns/alz/policyDefinitions/policies-Automation.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.19.5.34762",
"templateHash": "10001095019586829330"
"version": "0.32.4.45862",
"templateHash": "10530905569433825957"
}
},
"parameters": {
"topLevelManagementGroupPrefix": {
"type": "string",
"defaultValue": "alz",
"metadata": {
"description": "Provide a prefix (unique at tenant-scope) for the Management Group hierarchy and other resources created as part of an Azure landing zone. DEFAULT VALUE = \"alz\"",
"message": "The JSON version of this file is programatically generated from Bicep. PLEASE DO NOT UPDATE MANUALLY!!"
"message": "The JSON version of this file is programatically generated from Bicep. PLEASE DO NOT UPDATE MANUALLY!!",
"description": "Provide a prefix (unique at tenant-scope) for the Management Group hierarchy and other resources created as part of an Azure landing zone. DEFAULT VALUE = \"alz\""
}
},
"location": {
Expand Down
8 changes: 4 additions & 4 deletions patterns/alz/policyDefinitions/policies-Compute.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.19.5.34762",
"templateHash": "5171477523449090733"
"version": "0.32.4.45862",
"templateHash": "1173048230693308025"
}
},
"parameters": {
"topLevelManagementGroupPrefix": {
"type": "string",
"defaultValue": "alz",
"metadata": {
"description": "Provide a prefix (unique at tenant-scope) for the Management Group hierarchy and other resources created as part of an Azure landing zone. DEFAULT VALUE = \"alz\"",
"message": "The JSON version of this file is programatically generated from Bicep. PLEASE DO NOT UPDATE MANUALLY!!"
"message": "The JSON version of this file is programatically generated from Bicep. PLEASE DO NOT UPDATE MANUALLY!!",
"description": "Provide a prefix (unique at tenant-scope) for the Management Group hierarchy and other resources created as part of an Azure landing zone. DEFAULT VALUE = \"alz\""
}
},
"location": {
Expand Down
8 changes: 4 additions & 4 deletions patterns/alz/policyDefinitions/policies-Hybrid.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.19.5.34762",
"templateHash": "3790906364926990204"
"version": "0.32.4.45862",
"templateHash": "1310885253957432604"
}
},
"parameters": {
"topLevelManagementGroupPrefix": {
"type": "string",
"defaultValue": "alz",
"metadata": {
"description": "Provide a prefix (unique at tenant-scope) for the Management Group hierarchy and other resources created as part of an Azure landing zone. DEFAULT VALUE = \"alz\"",
"message": "The JSON version of this file is programatically generated from Bicep. PLEASE DO NOT UPDATE MANUALLY!!"
"message": "The JSON version of this file is programatically generated from Bicep. PLEASE DO NOT UPDATE MANUALLY!!",
"description": "Provide a prefix (unique at tenant-scope) for the Management Group hierarchy and other resources created as part of an Azure landing zone. DEFAULT VALUE = \"alz\""
}
},
"location": {
Expand Down
8 changes: 4 additions & 4 deletions patterns/alz/policyDefinitions/policies-KeyManagement.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.19.5.34762",
"templateHash": "72757054326075040"
"version": "0.32.4.45862",
"templateHash": "14869777702741806183"
}
},
"parameters": {
"topLevelManagementGroupPrefix": {
"type": "string",
"defaultValue": "alz",
"metadata": {
"description": "Provide a prefix (unique at tenant-scope) for the Management Group hierarchy and other resources created as part of an Azure landing zone. DEFAULT VALUE = \"alz\"",
"message": "The JSON version of this file is programatically generated from Bicep. PLEASE DO NOT UPDATE MANUALLY!!"
"message": "The JSON version of this file is programatically generated from Bicep. PLEASE DO NOT UPDATE MANUALLY!!",
"description": "Provide a prefix (unique at tenant-scope) for the Management Group hierarchy and other resources created as part of an Azure landing zone. DEFAULT VALUE = \"alz\""
}
},
"location": {
Expand Down
8 changes: 4 additions & 4 deletions patterns/alz/policyDefinitions/policies-Monitoring.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.19.5.34762",
"templateHash": "3342767412473884252"
"version": "0.32.4.45862",
"templateHash": "6543928731183555607"
}
},
"parameters": {
"topLevelManagementGroupPrefix": {
"type": "string",
"defaultValue": "alz",
"metadata": {
"description": "Provide a prefix (unique at tenant-scope) for the Management Group hierarchy and other resources created as part of an Azure landing zone. DEFAULT VALUE = \"alz\"",
"message": "The JSON version of this file is programatically generated from Bicep. PLEASE DO NOT UPDATE MANUALLY!!"
"message": "The JSON version of this file is programatically generated from Bicep. PLEASE DO NOT UPDATE MANUALLY!!",
"description": "Provide a prefix (unique at tenant-scope) for the Management Group hierarchy and other resources created as part of an Azure landing zone. DEFAULT VALUE = \"alz\""
}
},
"location": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.19.5.34762",
"templateHash": "13990384610618582047"
"version": "0.32.4.45862",
"templateHash": "13822163595010851058"
}
},
"parameters": {
"topLevelManagementGroupPrefix": {
"type": "string",
"defaultValue": "alz",
"metadata": {
"description": "Provide a prefix (unique at tenant-scope) for the Management Group hierarchy and other resources created as part of an Azure landing zone. DEFAULT VALUE = \"alz\"",
"message": "The JSON version of this file is programatically generated from Bicep. PLEASE DO NOT UPDATE MANUALLY!!"
"message": "The JSON version of this file is programatically generated from Bicep. PLEASE DO NOT UPDATE MANUALLY!!",
"description": "Provide a prefix (unique at tenant-scope) for the Management Group hierarchy and other resources created as part of an Azure landing zone. DEFAULT VALUE = \"alz\""
}
},
"location": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.19.5.34762",
"templateHash": "4026295181729512686"
"version": "0.32.4.45862",
"templateHash": "16404316663146583246"
}
},
"parameters": {
"topLevelManagementGroupPrefix": {
"type": "string",
"defaultValue": "alz",
"metadata": {
"description": "Provide a prefix (unique at tenant-scope) for the Management Group hierarchy and other resources created as part of an Azure landing zone. DEFAULT VALUE = \"alz\"",
"message": "The JSON version of this file is programatically generated from Bicep. PLEASE DO NOT UPDATE MANUALLY!!"
"message": "The JSON version of this file is programatically generated from Bicep. PLEASE DO NOT UPDATE MANUALLY!!",
"description": "Provide a prefix (unique at tenant-scope) for the Management Group hierarchy and other resources created as part of an Azure landing zone. DEFAULT VALUE = \"alz\""
}
},
"location": {
Expand Down
8 changes: 4 additions & 4 deletions patterns/alz/policyDefinitions/policies-Storage.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.19.5.34762",
"templateHash": "7230601166858169199"
"version": "0.32.4.45862",
"templateHash": "3955992142944331035"
}
},
"parameters": {
"topLevelManagementGroupPrefix": {
"type": "string",
"defaultValue": "alz",
"metadata": {
"description": "Provide a prefix (unique at tenant-scope) for the Management Group hierarchy and other resources created as part of an Azure landing zone. DEFAULT VALUE = \"alz\"",
"message": "The JSON version of this file is programatically generated from Bicep. PLEASE DO NOT UPDATE MANUALLY!!"
"message": "The JSON version of this file is programatically generated from Bicep. PLEASE DO NOT UPDATE MANUALLY!!",
"description": "Provide a prefix (unique at tenant-scope) for the Management Group hierarchy and other resources created as part of an Azure landing zone. DEFAULT VALUE = \"alz\""
}
},
"location": {
Expand Down
Loading
Loading