
How do I monitor my Azure App Service?
- Run the profiler on your live app.
- Azure Functions - monitor Azure Functions with Application Insights.
- Enable Azure diagnostics to be sent to Application Insights.
- Monitor service health metrics to make sure your service is available and responsive.
How do I create an app service plan in azure?
- In the Azure portal, search for and select App services and select the app that you want to move.
- From the left menu, select Change App Service plan.
- In the App Service plan dropdown, select an existing plan to move the app to. ...
- If you create a plan, you can select the pricing tier of the new plan. ...
- When finished, select OK.
How much does Azure App service cost?
Azure Kubernetes Service (AKS) is a free container service that simplifies the deployment, management, and operations of Kubernetes as a fully managed Kubernetes container orchestrator service. Paying for only the virtual machines, and associated storage and networking resources consumed makes AKS the most efficient and cost-effective container ...
How to perform backup with Azure App service?
Restore an app from an existing backup
- On the Settings page of your app in the Azure portal, click Backups to display the Backups page. Then click Restore.
- In the Restore page, first select the backup source. ...
- Then, specify the destination for the app restore in Restore destination. ...
- Click OK.
How to access app setting Azure Functions?
There are several ways that you can add, update, and delete function app settings:
- In the Azure portal.
- By using the Azure CLI.
- By using Azure PowerShell.

What are metrics for an app?
Metrics for an app include the requests to the app's SCM site (Kudu). This includes requests to view the site's logstream using Kudu. Logstream requests may span several minutes, which will affect the Request Time metrics. Users should be aware of this relationship when using these metrics with autoscale logic.
What happens if an app exceeds the CPU quota?
If an app exceeds the CPU (short), CPU (Day), or bandwidth quota, the app is stopped until the quota resets. During this time, all incoming requests result in an HTTP 403 error.
Metrics
This section lists all the automatically collected platform metrics collected for App Service.
Metric Dimensions
For more information on what metric dimensions are, see Multi-dimensional metrics.
Resource logs
This section lists the types of resource logs you can collect for App Service.
Azure Monitor Logs tables
Azure App Service uses Kusto tables from Azure Monitor Logs. You can query these tables with Log analytics. For a list of App Service tables used by Kusto, see the Azure Monitor Logs table reference - App Service tables.
Activity log
The following table lists common operations related to App Service that may be created in the Activity log. This is not an exhaustive list.
See Also
See Monitoring Azure App Service for a description of monitoring Azure App Service.
What is application insights?
Application Insights collects telemetry for those requests which made it to the application. If the failure occurred in WebApps/IIS, and the request did not reach the user application, then Application Insights will not have any telemetry about it.
What happens if both agent-based monitoring and manual SDK-based instrumentation is detected?
If both agent-based monitoring and manual SDK-based instrumentation is detected, only the manual instrumentation settings will be honored. This is to prevent duplicate data from being sent. To learn more about this, check out the troubleshooting section below.
When codeless monitoring is being used, only the connection string is required?
When codeless monitoring is being used, only the connection string is required. However, we still recommend setting the instrumentation key to preserve backwards compatibility with older versions of the SDK when manual instrumentation is being performed.
Monitoring overview page in Azure portal
The Overview page in the Azure portal includes a brief view of the resource usage, such as the total number of requests, number of throttled requests, and request duration per configuration store. This information is useful, but only displays a small amount of the monitoring data available.
Monitoring data
App Configuration collects the same kinds of monitoring data as other Azure resources that are described in Monitoring data from Azure resources. See Monitoring App Configuration data reference for detailed information on the metrics and logs metrics created by App Configuration.
Collection and routing
Platform metrics and the activity log are collected and stored automatically, but can be routed to other locations by using a diagnostic setting.
Analyzing metrics
You can analyze metrics for App Configuration with metrics from other Azure services using metrics explorer by opening Metrics from the Azure Monitor menu. See Getting started with Azure Metrics Explorer for details on using this tool. For App Configuration, the following metrics are collected:
Analyzing logs
Data in Azure Monitor Logs is stored in tables where each table has its own set of unique properties. The common schema is outlined in Azure Monitor resource log schema.
Alerts
Azure Monitor alerts proactively notify you when important conditions are found in your monitoring data. They allow you to identify and address issues in your system before your customers notice them. You can set alerts on metrics, logs, and the activity log. Different types of alerts have benefits and drawbacks.
Next steps
See Monitoring App Configuration data reference for a reference of the metrics, logs, and other important values created by App Configuration.
What is Azure Cloud Services?
Azure Cloud Services (extended support) is a new Azure Resource Manager based deployment model for the Azure Cloud Services product . With this change, Azure Cloud Services running on the Azure Service Manager based deployment model have been renamed as Cloud Services (classic) and all new deployments should use Cloud Services (extended support).
What is advanced monitoring?
Advanced monitoring involves using the Azure Diagnostics extension (and optionally the Application Insights SDK) on the role you want to monitor . The diagnostics extension uses a config file (per role) named diagnostics.wadcfgx to configure the diagnostics metrics monitored. The Azure Diagnostic extension collects and stores data in an Azure Storage account. These settings are configured in the .wadcfgx, .csdef, and .cscfg files. This means that there is an extra cost associated with advanced monitoring.
Enable agent-based monitoring
The combination of APPINSIGHTS_JAVASCRIPT_ENABLED and urlCompression is not supported. For more info see the explanation in the troubleshooting section.
Enable client-side monitoring
Client-side monitoring is opt-in for ASP.NET. To enable client-side monitoring:
Automate monitoring
In order to enable telemetry collection with Application Insights, only the Application settings need to be set:
Troubleshooting
When you create a web app with the ASP.NET runtimes in Azure App Services it deploys a single static HTML page as a starter website. It is not recommended to troubleshoot an issue with default template. Deploy an application before troubleshooting an issue.
Create Azure resources
First, you run several commands locally to setup a sample app to use with this tutorial. The commands create Azure resources, create a deployment user, and deploy the sample app to Azure. You'll be prompted for the password supplied as a part of the creation of the deployment user.
Configure Azure Monitor
Now that you've deployed the sample app to Azure App Service, you'll configure monitoring capability to troubleshoot the app when problems arise. Azure Monitor stores log data in a Log Analytics workspace. A workspace is a container that includes data and configuration information.
Fix the app
You make the following changes to process.php to handle the memory exhaustion:
Clean up resources
In the preceding steps, you created Azure resources in a resource group. If you don't expect to need these resources in the future, delete the resource group by running the following command in the Cloud Shell:
Monitoring an already-live Azure Web App
Sometimes you want to monitor the performance of an app but you don’t have access to the source code. For example, Microsoft Azure provides a Marketplace of third-party web apps you can configure and run on your own site.
Deploy an Orchard CMS website through portal
To deploy a new Orchard CMS site through the Azure Portal, select + New –> Web + Mobile –> Marketplace. You will then be brought to the marketplace blade for Web + Mobile where Orchard CMS is available under Blogs + CMS.
Enable Application Insights
To enable Application Insights, go to the blade for your website –> Tools –> Performance monitoring.
Summary
You can get performance, basic usage and diagnostic information for your Azure Web App by selecting the Application Insights extension, without the need to change the source code or redeploy the app.

Understand Quotas
Understand Metrics
- Metrics provide information about the app or the App Service plan's behavior. For an app, the available metrics are: For an App Service plan, the available metrics are:
Metrics Granularity and Retention Policy
- Metrics for an app and app service plan are logged and aggregated by the service and retained according to these rules.
Monitoring Quotas and Metrics in The Azure Portal
- To review the status of the various quotas and metrics that affect an app, go to the Azure portal. To find quotas, select Settings > Quotas. On the chart, you can review: 1. The quota name. 2. Its reset interval. 3. Its current limit. 4. Its current value. You can access metrics directly from the resource Overviewpage. Here you'll see charts repres...
Alerts and Autoscale
- Metrics for an app or an App Service plan can be hooked up to alerts. For more information, see Receive alert notifications. App Service apps hosted in Basic or higher App Service plans support autoscale. With autoscale, you can configure rules that monitor the App Service plan metrics. Rules can increase or decrease the instance count, which can provide additional resources as n…
Monitoring Overview Page in Azure Portal
Monitoring Data
- App Configuration collects the same kinds of monitoring data as other Azure resources that are described in Monitoring data from Azure resources. See Monitoring App Configuration data referencefor detailed information on the metrics and logs metrics created by App Configuration.
Collection and Routing
- Platform metrics and the activity log are collected and stored automatically, but can be routed to other locations by using a diagnostic setting. Resource Logs are not collected and stored until you create a diagnostic setting and route them to one or more locations. For example, to view logs and metrics for a configuration store in near real-time in Azure Monitor, collect the resource log…
Analyzing Metrics
- You can analyze metrics for App Configuration with metrics from other Azure services using metrics explorer by opening Metrics from the Azure Monitor menu. See Getting started with Azure Metrics Explorerfor details on using this tool. For App Configuration, the following metrics are collected: 1. Http Incoming Request Count 2. Http Incoming Request...
Analyzing Logs
- Data in Azure Monitor Logs is stored in tables where each table has its own set of unique properties. The common schema is outlined in Azure Monitor resource log schema. The Activity log is a platform log in Azure that provides insight into subscription-level events. You can view it independently or route it to Azure Monitor Logs, where you can do much more complex queries …
Alerts
- Azure Monitor alerts proactively notify you when important conditions are found in your monitoring data. They allow you to identify and address issues in your system before your customers notice them. You can set alerts on metrics, logs, and the activity log. Different types of alerts have benefits and drawbacks.The following table lists common and recommended alert r…
Next Steps
- See Monitoring App Configuration data referencefor a reference of the metrics, logs, and other important values created by App Configuration.
- See Monitoring Azure resources with Azure Monitorfor details on monitoring Azure resources.