Skip to content

Commit

Permalink
added references to web app alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
cassiekays committed Jan 3, 2024
1 parent 43bdc5b commit 693392d
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 4 deletions.
2 changes: 0 additions & 2 deletions services/Storage/storageAccounts/alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@
references:
- name: Monitor the use of a container
url: https://learn.microsoft.com/en-us/azure/storage/blobs/blob-storage-monitoring-scenarios#monitor-the-use-of-a-container
# - name:
# url:
- name: SuccessServerLatency #not for ALZ pattern, but other patterns
description:
The average time used to process a successful request by Azure Storage.
Expand Down
56 changes: 54 additions & 2 deletions services/Web/sites/alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
references:
- name: Web application monitoring on Azure
- url: https://learn.microsoft.com/en-us/azure/architecture/web-apps/guides/monitoring/app-monitoring
-
- name: Troubleshoot - How to decrease the response time for the first request after idle time?
- url: https://learn.microsoft.com/en-us/troubleshoot/azure/app-service/web-apps-performance-faqs#how-do-i-decrease-the-response-time-for-the-first-request-after-idle-time
- name: CpuTime
description: The amount of CPU consumed by the app, in seconds. For more information
about this metric. Please see https://aka.ms/website-monitor-cpu-time-vs-cpu-percentage
Expand All @@ -43,6 +44,11 @@
criterionType: StaticThresholdCriterion
threshold: 120.0
autoMitigate: false
references:
- name: CPU time vs CPU percentage
- url: https://learn.microsoft.com/en-us/azure/app-service/web-sites-monitor#cpu-time-vs-cpu-percentage
- name: Alerts and Autoscale in Azure App Service
- url: https://learn.microsoft.com/en-us/azure/app-service/web-sites-monitor#alerts-and-autoscale
- name: PrivateBytes
description: Private Bytes is the current size, in bytes, of memory that the app
process has allocated that can't be shared with other processes. For WebApps and
Expand Down Expand Up @@ -116,6 +122,11 @@
- '*'
threshold: 6000.0
autoMitigate: false
references:
- name: Manage Connections in Azure Functions
- url: https://learn.microsoft.com/en-us/azure/azure-functions/manage-connections?tabs=csharp
- name: Configure Monitoring for Azure Functions
- url: https://learn.microsoft.com/en-us/azure/azure-functions/configure-monitoring?tabs=v2
- name: Http401
description: The count of requests resulting in HTTP 401 status code. For WebApps
and FunctionApps.
Expand All @@ -136,6 +147,11 @@
criterionType: StaticThresholdCriterion
threshold: 20.0
autoMitigate: false
references:
- name: Client-side JavaScript SDK
- url: https://learn.microsoft.com/en-us/azure/azure-monitor/app/javascript-sdk?tabs=javascriptwebsdkloaderscript
- name: Exception Reporting
- url: https://learn.microsoft.com/en-us/azure/azure-monitor/app/asp-net-exceptions#set-up-exception-reporting
- name: Http404
description: The count of requests resulting in HTTP 404 status code. For WebApps
and FunctionApps.
Expand Down Expand Up @@ -176,6 +192,9 @@
criterionType: StaticThresholdCriterion
threshold: 400000000.0
autoMitigate: false
references:
- name: Quota Enforcement
- url: https://learn.microsoft.com/en-us/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.
Expand Down Expand Up @@ -215,6 +234,11 @@
criterionType: StaticThresholdCriterion
threshold: 0.0
autoMitigate: false
references:
- name: Function Execution Count
- url: https://learn.microsoft.com/en-us/azure/azure-functions/monitor-functions-reference#azure-functions-specific-metrics
- name: Monitor Azure Functions
- url: https://learn.microsoft.com/en-us/azure/azure-functions/monitor-functions?tabs=portal
- name: Thread Count
description: The number of threads currently active in the app process. For WebApps
and FunctionApps.
Expand Down Expand Up @@ -318,6 +342,11 @@
criterionType: StaticThresholdCriterion
threshold: 15.0
autoMitigate: false
references:
- name: Enable diagnostic logging for Apps in Azure App Service
- url: https://learn.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs
- name: HTTP Status Classes
- url: https://techcommunity.microsoft.com/t5/apps-on-azure-blog/troubleshooting-azure-app-service-apps-using-web-server-logs/ba-p/392329
- name: Handle Count
description: The total number of handles currently open by the app process. For
WebApps and FunctionApps.
Expand Down Expand Up @@ -360,6 +389,9 @@
criterionType: StaticThresholdCriterion
threshold: 13000000000.0
autoMitigate: false
references:
- name: Function Execution Units
- url: https://learn.microsoft.com/en-us/azure/azure-functions/monitor-functions-reference#azure-functions-specific-metrics
- name: Http2xx
description: The count of requests resulting in an HTTP status code >= 200 but <
300. For WebApps and FunctionApps.
Expand Down Expand Up @@ -422,6 +454,9 @@
minFailingPeriodsToAlert: minFailingPeriodsToAlert
alertSensitivity: Medium
autoMitigate: false
references:
- name: Garbage Collection and performance
- url: https://learn.microsoft.com/en-us/dotnet/standard/garbage-collection/performance
- name: Gen0GarbageCollections
description: The number of times the generation 0 objects are garbage collected
since the start of the app process. Higher generation GCs include all lower generation
Expand All @@ -446,6 +481,9 @@
minFailingPeriodsToAlert: minFailingPeriodsToAlert
alertSensitivity: Medium
autoMitigate: false
references:
- name: Generation 0 Is Too Big (Issue)
- url: https://learn.microsoft.com/en-us/dotnet/standard/garbage-collection/performance#issue-generation-0-is-too-big
- name: Gen1GarbageCollections
description: The number of times the generation 1 objects are garbage collected
since the start of the app process. Higher generation GCs include all lower generation
Expand All @@ -470,6 +508,9 @@
minFailingPeriodsToAlert: minFailingPeriodsToAlert
alertSensitivity: Medium
autoMitigate: false
references:
- name: Determine if problem is cause by garbage collection (troubleshoot)
- url: https://learn.microsoft.com/en-us/dotnet/standard/garbage-collection/performance#to-determine-whether-the-problem-is-caused-by-garbage-collection
- name: HttpServerErrors
description: The count of requests resulting in an HTTP status code >= 500 but < 600. For Web and Function Apps.
type: Metric
Expand All @@ -489,6 +530,11 @@
criterionType: StaticThresholdCriterion
threshold: 10.0
autoMitigate: false
references:
- 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
- url: https://learn.microsoft.com/en-us/azure/app-service/troubleshoot-http-502-http-503
- name: ResponseTime
description: The time taken for the app to serve requests, in seconds. For WebApps and FunctionApps.
type: Metric
Expand All @@ -508,6 +554,9 @@
criterionType: StaticThresholdCriterion
threshold: 5.0
autoMitigate: false
references:
- name: Troubleshoot Slow App Performance
- url: https://learn.microsoft.com/en-us/azure/app-service/troubleshoot-performance-degradation#collect
- name: Http4xx
description: The count of requests resulting in an HTTP status code >= 400 but < 500. For WebApps and FunctionApps.
type: Metric
Expand Down Expand Up @@ -584,7 +633,10 @@
operator: LessThan
criterionType: StaticThresholdCriterion
threshold: 100.0
autoMitigate: false
autoMitigate:
references:
- name: Monitor App Service Instances using Health check
- url: https://learn.microsoft.com/en-us/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
Expand Down

0 comments on commit 693392d

Please sign in to comment.