App Service Plan
  • 08 Apr 2024
  • 2 Minutes to read
  • Dark
    Light
  • PDF

App Service Plan

  • Dark
    Light
  • PDF

Article Summary

Azure App Service Plan is a PaaS resource which hosts resources like Web Apps, Function Apps and Logic Apps.

In Turbo360 you can add your app service plan to your Business Application. App Service plan is one of our generic resource types which support monitoring features and dashboards based around the metrics API on Azure.

You can see below where an App Service Plan is added as part of my Partner Portal Application.

image.png

One of the things to note is that an App Service plan may be used to host multiple apps of different types so sometimes you might want to add the App Service plan to a Business App used for common resources or something you might want to add it to one for a specific application. This is where you can model what makes sense for your support view.

Dashboards

The dashboards feature lets you add the custom dashboards you want to see for your specific scenario. Below I am using CPU and Memory based dashboards that I want the support operator to be aware of.

image.png

Monitoring

Monitoring is available for metrics and quotas exposed by the App Service Plan.

image.png

Monitoring Recommendations

The App Service Plan is potentially used by multiple apps. In this case you want to consider it a bit like a server where we are monitoring infrastructure type metrics.

There will be some overlap between metrics which can be monitored at the plan level and metrics which can be monitored at the app level. An example to consider here is that you might have a noisy application which may trigger monitoring alerts and do you want to see the alerts in the context of the single app, both apps or the shared infrastructure they run on.

Metrics

The common metrics people monitor here are:

MetricWarning ThresholdError threshold
CPU Percentage> 90> 95
Memory Percentage> 90> 95
Http Queue Length100200

Points to Note:

  • The threshold above are a guide and your application may vary based on its usage
  • HTTP queue length indicates requests in the queue waiting to be processed and is an indicator your plan needs to be scaled
  • You may also wish to monitor other metrics on a case by case basis.

Instance

The instance monitoring is based on the number of nodes being used by the app service plan. A common scenario here would be to get an alert if the number of nodes scales beyond 3 then I will get an alert so I know my application may be under load.

You may choose to add instance monitoring if you are using dynamic scaling and want to get alerts as the plan scales out if you want to watch for scenarios like high load causing your app service plan to scale out.

image.png

More Info

There are more info on specific counters on the below link:

https://learn.microsoft.com/en-us/azure/app-service/web-sites-monitor


Was this article helpful?