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

Updated App Service Web Apps Alerts #108

Merged
merged 1 commit into from
Jan 18, 2024
Merged
Changes from all commits
Commits
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
114 changes: 101 additions & 13 deletions services/Web/sites/alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
WebApps and FunctionApps.
type: Metric
verified: false
visible: true
visible: false
tags:
- auto-generated
- agc-21698
Expand Down Expand Up @@ -46,6 +46,12 @@
threshold: 120.0
autoMitigate: false
references:
- name: Understand App Service Metrics
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#understand-metrics
- name: Supported Metrics
url: https://learn.microsoft.com/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics
- name: Monitor your app
url: https://learn.microsoft.com/azure/app-service/troubleshoot-performance-degradation#monitor-your-app
- name: CPU time vs CPU percentage
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#cpu-time-vs-cpu-percentage
- name: Alerts and Autoscale in Azure App Service
Expand All @@ -71,12 +77,17 @@
criterionType: StaticThresholdCriterion
threshold: 1200000000.0
autoMitigate: false
references:
- name: Understand App Service Metrics
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#understand-metrics
- name: Supported Metrics
url: https://learn.microsoft.com/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics
- name: RequestsInApplicationQueue
description: The number of requests in the application request queue. For WebApps
and FunctionApps.
type: Metric
verified: false
visible: false
visible: true
tags:
- auto-generated
- agc-9854
Expand All @@ -96,6 +107,11 @@
- '*'
threshold: 10.0
autoMitigate: false
references:
- name: Understand App Service Metrics
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#understand-metrics
- name: Supported Metrics
url: https://learn.microsoft.com/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics
- name: Connections
description: The number of bound sockets existing in the sandbox (w3wp.exe and its
child processes). A bound socket is created by calling bind()/connect() APIs and
Expand All @@ -108,7 +124,7 @@
- auto-generated
- agc-9147
properties:
metricName: Connections
metricName: AppConnections
metricNamespace: Microsoft.Web/sites
severity: 3
windowSize: PT15M
Expand All @@ -124,6 +140,10 @@
threshold: 6000.0
autoMitigate: false
references:
- name: Understand App Service Metrics
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#understand-metrics
- name: Supported Metrics
url: https://learn.microsoft.com/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics
- name: Manage Connections in Azure Functions
url: https://learn.microsoft.com/azure/azure-functions/manage-connections?tabs=csharp
- name: Configure Monitoring for Azure Functions
Expand All @@ -149,6 +169,10 @@
threshold: 20.0
autoMitigate: false
references:
- name: Understand App Service Metrics
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#understand-metrics
- name: Supported Metrics
url: https://learn.microsoft.com/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics
- name: Client-side JavaScript SDK
url: https://learn.microsoft.com/azure/azure-monitor/app/javascript-sdk?tabs=javascriptwebsdkloaderscript
- name: Exception Reporting
Expand All @@ -173,6 +197,11 @@
criterionType: StaticThresholdCriterion
threshold: 10.0
autoMitigate: false
references:
- name: Understand App Service Metrics
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#understand-metrics
- name: Supported Metrics
url: https://learn.microsoft.com/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics
- name: FileSystemUsage
description: Percentage of filesystem quota consumed by the app. For WebApps and
FunctionApps.
Expand All @@ -194,14 +223,18 @@
threshold: 400000000.0
autoMitigate: false
references:
- name: Understand App Service Metrics
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#understand-metrics
- name: Supported Metrics
url: https://learn.microsoft.com/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics
- name: Quota Enforcement
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#quota-enforcement
- name: MemoryWorkingSet
description: The current amount of memory used by the app, in MiB. For WebApps and
FunctionApps.
type: Metric
verified: false
visible: false
visible: true
tags:
- auto-generated
- agc-4748
Expand All @@ -216,6 +249,13 @@
criterionType: StaticThresholdCriterion
threshold: 1500000000.0
autoMitigate: false
references:
- name: Understand App Service Metrics
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#understand-metrics
- name: Supported Metrics
url: https://learn.microsoft.com/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics
- name: Monitor your app
url: https://learn.microsoft.com/azure/app-service/troubleshoot-performance-degradation#monitor-your-app
- name: FunctionExecutionCount
description: Function Execution Count. For FunctionApps only.
type: Metric
Expand All @@ -240,6 +280,8 @@
url: https://learn.microsoft.com/azure/azure-functions/monitor-functions-reference#azure-functions-specific-metrics
- name: Monitor Azure Functions
url: https://learn.microsoft.com/azure/azure-functions/monitor-functions?tabs=portal
- name: Supported Metrics
url: https://learn.microsoft.com/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics
- name: Thread Count
description: The number of threads currently active in the app process. For WebApps
and FunctionApps.
Expand All @@ -260,7 +302,12 @@
criterionType: StaticThresholdCriterion
threshold: 100.0
autoMitigate: false
- name: DataOut
references:
- name: Understand App Service Metrics
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#understand-metrics
- name: Supported Metrics
url: https://learn.microsoft.com/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics
- name: Data Out
description: The amount of outgoing bandwidth consumed by the app, in MiB. For WebApps
and FunctionApps.
type: Metric
Expand All @@ -283,6 +330,11 @@
minFailingPeriodsToAlert: minFailingPeriodsToAlert
alertSensitivity: Low
autoMitigate: false
references:
- name: Understand App Service Metrics
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#understand-metrics
- name: Supported Metrics
url: https://learn.microsoft.com/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics
- name: Http406
description: The count of requests resulting in HTTP 406 status code. For WebApps
and FunctionApps.
Expand All @@ -303,6 +355,11 @@
criterionType: StaticThresholdCriterion
threshold: 1.0
autoMitigate: false
references:
- name: Understand App Service Metrics
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#understand-metrics
- name: Supported Metrics
url: https://learn.microsoft.com/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics
- name: Data In
description: The amount of incoming bandwidth consumed by the app, in MiB. For WebApps
and FunctionApps.
Expand All @@ -323,6 +380,11 @@
criterionType: StaticThresholdCriterion
threshold: 2048000000.0
autoMitigate: false
references:
- name: Understand App Service Metrics
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#understand-metrics
- name: Supported Metrics
url: https://learn.microsoft.com/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics
- name: Http3xx
description: The count of requests resulting in an HTTP status code >= 300 but <
400. For WebApps and FunctionApps.
Expand All @@ -344,6 +406,10 @@
threshold: 15.0
autoMitigate: false
references:
- name: Understand App Service Metrics
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#understand-metrics
- name: Supported Metrics
url: https://learn.microsoft.com/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics
- name: Enable diagnostic logging for Apps in Azure App Service
url: https://learn.microsoft.com/azure/app-service/troubleshoot-diagnostic-logs
- name: HTTP Status Classes
Expand Down Expand Up @@ -371,6 +437,11 @@
minFailingPeriodsToAlert: minFailingPeriodsToAlert
alertSensitivity: Low
autoMitigate: false
references:
- name: Understand App Service Metrics
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#understand-metrics
- name: Supported Metrics
url: https://learn.microsoft.com/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics
- name: FunctionExecutionUnits
description: Function Execution Units. For FunctionApps only.
type: Metric
Expand Down Expand Up @@ -398,7 +469,7 @@
300. For WebApps and FunctionApps.
type: Metric
verified: false
visible: true
visible: false
tags:
- auto-generated
- agc-411
Expand Down Expand Up @@ -437,7 +508,7 @@
since the start of the app process. For WebApps and FunctionApps.
type: Metric
verified: false
visible: true
visible: false
tags:
- auto-generated
- agc-258
Expand All @@ -464,7 +535,7 @@
GCs. For WebApps and FunctionApps.
type: Metric
verified: false
visible: true
visible: false
tags:
- auto-generated
- agc-253
Expand All @@ -491,7 +562,7 @@
GCs. For WebApps and FunctionApps.
type: Metric
verified: false
visible: true
visible: false
tags:
- auto-generated
- agc-253
Expand Down Expand Up @@ -521,7 +592,7 @@
- auto-generated
- agc-1800
properties:
metricName: HttpServerErrors
metricName: Http5xx
metricNamespace: Microsoft.Web/sites/slots
severity: 1
windowSize: PT15M
Expand All @@ -532,6 +603,10 @@
threshold: 10.0
autoMitigate: false
references:
- name: Understand App Service Metrics
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#understand-metrics
- name: Supported Metrics
url: https://learn.microsoft.com/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics
- name: Diagnose Web Apps' Performance with Application Insights
url: https://techcommunity.microsoft.com/t5/apps-on-azure-blog/diagnose-app-service-web-apps-performance-issues-and-failing/ba-p/3339437
- name: Troubleshoot HTTP 502/503 Errors
Expand All @@ -556,6 +631,10 @@
threshold: 5.0
autoMitigate: false
references:
- name: Understand App Service Metrics
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#understand-metrics
- name: Supported Metrics
url: https://learn.microsoft.com/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics
- name: Troubleshoot Slow App Performance
url: https://learn.microsoft.com/azure/app-service/troubleshoot-performance-degradation#collect
- name: Http4xx
Expand All @@ -577,11 +656,16 @@
criterionType: StaticThresholdCriterion
threshold: 5.0
autoMitigate: false
references:
- name: Understand App Service Metrics
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#understand-metrics
- name: Supported Metrics
url: https://learn.microsoft.com/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics
- name: AverageMemoryWorkingSet
description: The average amount of memory used by the app, in megabytes (MiB). For WebApps and FunctionApps.
type: Metric
verified: false
visible: true
visible: false
tags:
- auto-generated
- agc-350
Expand All @@ -601,7 +685,7 @@
code.
type: Metric
verified: false
visible: true
visible: false
tags:
- auto-generated
- agc-286
Expand Down Expand Up @@ -636,13 +720,17 @@
threshold: 100.0
autoMitigate:
references:
- name: Understand App Service Metrics
url: https://learn.microsoft.com/azure/app-service/web-sites-monitor#understand-metrics
- name: Supported Metrics
url: https://learn.microsoft.com/azure/azure-monitor/reference/supported-metrics/microsoft-web-sites-metrics
- name: Monitor App Service Instances using Health check
url: https://learn.microsoft.com/azure/app-service/monitor-instances-health-check?tabs=dotnet
- name: Http403
description: The count of requests resulting in HTTP 403 status code. For WebApps and FunctionApps.
type: Metric
verified: false
visible: true
visible: false
tags:
- auto-generated
- agc-251
Expand Down