Azure WebApp

Available Metrics

Possible metric types that can be tracked on a given resource.

Metric Type Data Type Description
AggregatedMetric
Object
Allows for aggregating existing metrics over a period of time. Useful for running sums or averages; also for extracting single data item from collection-based metrics
AzureAdvisorHealthMetric
AzureAdvisorHealth
AvailabilityState String
Summary String
ReasonType String
ReasonChronicity String
DetailedStatus String
OccuredTime DateTime
ReportedTime DateTime
Tracks Azure health using latest Azure Health API - more info @ https://docs.microsoft.com/en-us/rest/api/resourcehealth/availabilitystatuses/getbyresource/
AzureAdvisorRecommendationMetric
AzureAdvisorRecommendation[]
Category String
Impact String
LastUpdated Nullable`1
Risk String
Problem String
Solution String
Tracks Azure recommendations using latest Azure Advisor API - more info @ https://docs.microsoft.com/en-us/rest/api/advisor/
AzureAppPlanMetric
Double
Tracks a variety of performance-related metrics exposed by Azure API for parent App Plan that may host other Web Apps
AzureAppPlanOperations
AzureOperation
Name String
Category String
Description String
Caller String
EventName String
Level String
Status String
SubStatus String
ExtendedInfo String
EventTimestamp DateTime
AzureMonitorMetric
Double
Tracks Azure metrics using latest Azure Monitor API - more info @ https://docs.microsoft.com/en-us/rest/api/monitor/
AzureWebsiteContinuousWebjobLastStatus
String
Tracks the last known status of a continous Webjob. 'Running' indicates that the WebJob is running
AzureWebsiteInstanceMonitor
AzureWebsiteInstance[]
Dimension String
CpuTime Double
Requests Double
BytesReceived Double
BytesSent Double
Http101 Double
Http2xx Double
Http3xx Double
Http401 Double
Http403 Double
Http404 Double
Http406 Double
Http4xx Double
Http5xx Double
MemoryWorkingSet Double
AverageMemoryWorkingSet Double
AverageResponseTime Double
Tracks utilization by Instance dimension
AzureWebsiteLastBackup
AzureWebsiteBackup[]
Name String
FinishedTimestamp Nullable`1
Status String
Log String
Tracks a list of all WebApp backups. This is a collection metric with Name, FinishedTimestamp, Status and Log properties
AzureWebsiteMetric
Double
Tracks a variety of performance-related metrics exposed by Azure API for specific web app
AzureWebsiteOperations
AzureOperation
Name String
Category String
Description String
Caller String
EventName String
Level String
Status String
SubStatus String
ExtendedInfo String
EventTimestamp DateTime
AzureWebsiteResponseCode
String
Tracks an http result from testing of a URL hosted by the Webapp. Possible values are http verbs: OK, Unauthorized, etc.
AzureWebsiteTriggeredWebjobLastDuration
Double
Tracks the last known time it took for a triggered Webjob to run
AzureWebsiteTriggeredWebjobLastEndedMinutesAgo
Double
Tracks how many minutes ago a specific Webjob ended
AzureWebsiteTriggeredWebjobLastStartedMinutesAgo
Double
Tracks how many minutes ago a specific Webjob started
AzureWebsiteTriggeredWebjobLastStatus
String
Tracks the last known status of a triggered Webjob
AzureWebsiteWebjobList
AzureWebjobStatus[]
Name String
Status String
Error String
Type String
StartDate String
EndDate String
Tracks a list of all web jobs. This is a collection metric with Name, Status, Error, Type and EndDate properties
DerivedMetric
Double
Allows for deriving new metrics from existing ones. Useful for combining existing metrics together or for multiplying metrics by a factor
InternalUrlResponseCode
String
Tracks an http result from testing of internal IP address. Possible values are http verbs: OK, Unauthorized, etc.
InternalUrlResponseTime
Double
Tracks response time of http request to internal IP address
InternalUrlState
UrlStatus[]
Host String
Down Boolean
ResponseTime Double
StatusCode Int32
ErrorMessage String
Timestamp String
Tracks results of http request to internal IP address
LinkedMetric
Object
Allows for tracking of metrics from other resources. Useful when it is important to evaluate metrics from different resources side-by-side
ResourceInstanceCount
Int32
Tracks current number of compute instances
ResourceStatus
String
Tracks overall status of the resource. This is an important metric as it is used to drive Uptime reports. Possible values: Ready, Down, Unknown and in some cases Stopped

Available Commands

Possible commands that can be executed on a given resource. Ultimate subscription is required.

Command Type Description
AzureWebAppPlanResize Resizes Azure WebApp Plan
AzureWebsiteRestart Restarts Azure WebSite
AzureWebsiteRunWebjob Runs Azure WebJob
WebRequest Runs custom WebRequest to specified URL

Default Templates

CloudMonix provided default monitoring templates.

Pre-configured Metrics

Metric Name Metric Type Description
AppPlanCpu AzureAppPlanMetric Important: this metric tracks CPU utilization of the entire Application Plan, across all Web Apps in it
AppPlanHttpQueue AzureAppPlanMetric Important: this metric tracks HTTP Queue Length of the entire Application Plan, across all Web Apps in it
AppPlanMemory AzureAppPlanMetric Important: this metric tracks Memory utilization of the entire Application Plan, across all Web Apps in it
Backups AzureWebsiteLastBackup Tracks Azure WebApp Backups
CpuTime AzureWebsiteMetric Tracks CPU time within a given minute used by the WebApp
DataIn AzureWebsiteMetric
DataOut AzureWebsiteMetric
Errors AzureWebsiteMetric
MemorySet AzureWebsiteMetric
RecommendedActions AzureAdvisorRecommendationMetric Tracks recommended actions for specified resource.
Requests AzureWebsiteMetric
ResponseTime AzureWebsiteMetric
SampleMetricTrackingLastContinuousWebjobStatus AzureWebsiteContinuousWebjobLastStatus Disabled by default.
Status ResourceStatus Tracks the overall readiness status of the monitored resource. Possible values are: Ready, Down and Unknown
Webjobs AzureWebsiteWebjobList List of Webjobs and their last known running states

Pre-configured Alerts

Alert Name Expression Severity Description
Backups Failed Any(Backups,"Status == \"Failed\" || Status == \"PartiallySucceeded\"") Warning Raises an alert when any failed or partially succeded backups were found
Errors Detected Errors > 0 Warning Disabled by default. Fires an alert when Http 500 errors have been detected
Failed Triggered Webjobs Detected Any(Webjobs, "Type == \"Triggered\" && Status == \"Failed\"") Warning At least one Failed triggered Webjob found
High CPU Utilization in App Plan AppPlanCpu > 70 Warning Raises an alert when entire App Plan's CPU utilization exceeds 70% for sustained period of 5 minutes
Non-running Continous Webjobs Detected Any(Webjobs, "Type == \"Continuous\" && Status != \"Running\"") Warning
Resource Outage Status == "Down" Error Fires an alert if Azure reports this website as downgraded
Slow Response ResponseTime > 5000 Warning Disabled by default. Slow response (over 5seconds) detected from the monitoring WebApp for sustained amount of time