使用Azure工具监控应用与管理SQL数据库
1. 使用Application Insights监控应用
1.1 警报功能
警报是一种在异常情况发生时通知用户的功能。设置警报有多种方式,比如可以使用ARM模板:
{
"name": "[variables('myFirstAlertName')]",
"type": "Microsoft.Insights/alertrules",
"apiVersion": "2014-04-01",
"location": "[parameters('appLocation')]",
"dependsOn": [
"[resourceId('Microsoft.Insights/components',parameters('myApplicationName'))]"
],
"tags": {
"[concat('hidden-link:', resourceId('Microsoft.Insights/components',parameters('myApplicationName')))]": "Resource"
},
"properties": {
"name": "[variables('responseAlertName')]",
"description": "response time alert",
"isEnabled": true,
"condition": {
"$type": "Microsoft.WindowsAzure.Management.Monitor
超级会员免费看
订阅专栏 解锁全文
533

被折叠的 条评论
为什么被折叠?



