Part 5: Newly Added Web Services

This is the continuation of Part 4: Newly Added Network Services. This is the fifth and final blog post in a series of 5 that will give you an overview of how to configure the UCM Azure monitoring, alerting and viewing of monitoring data. Links to previous posts in this series:

The 11 services newly added services can be categorized into three main categories:

  1. Analysis Services (covered in part 3 of the series)
  2. Network Services (covered in part 4 of the series)
  3. Web Services

 Below are the details of the recently added services.

III. Web Services

We have added five web related services.

  1. Server Farm (App Service Plan)
  2. Site (Web App)
  3. Function Site (Function Web App)
  4. Slot
  5. Function Slot

1. Server Farm (App Service Plan)

Whenever an app is created, it is linked to one server farm. The same server farm will be automatically added to the server farm dashboard page.

Monitoring a server farm gives you a complete picture of the compute resources used by the server farm. You can know in real time how your apps fit into a server farm and when you need to scale up or scale down the server farm. App Service plan is the scale unit of the App Service apps.

 

Figure 25: Server Farm dashboard page

Let us look at the metrics of the Server Farm. Dashboards show samples for last few minutes for quick reference. To get more details about the server farm, you can navigate to the Details page by clicking the ‘Details’ button. 

  • CPU is the average CPU usage of all the VMs running under the server farm.
  • Memory is the average memory consumption in percentage.
  • Disk Queue metric shows the average number of both read and write requests that were queued on storage. A high disk queue length is an indication that an application might be slowing down due to excessive disk I/O.
  • HTTP Queue metric for Server Farm depicts the actual HTTP queue length. A high or increasing HTTP Queue length is a symptom of a plan under heavy load.
  • Data metric shows the average incoming and outgoing bandwidth used across all instances of the plan.

 
 
Figure 26: Server Farm dashboard

2. Site (Web App)

What is better than having all the app statistics at your fingertips? Ensuring smooth app operations becomes much easier when you know about the bandwidth consumption, all request counts by status, memory and CPU consumptions and most importantly the response time of your app. Detecting abnormalities before it's too late can benefit both devs and ops.


Figure 27: Site dashboard page

For an Application, the available metrics are:

  • Average Response Time - The average time taken for the app to serve requests in ms.
  • Average memory working set - The average amount of memory in MiBs used by the app.
  • CPU Time - The amount of CPU in seconds consumed by the app.
  • Data In - The amount of incoming bandwidth consumed by the app in MiBs.
  • Data Out - The amount of outgoing bandwidth consumed by the app in MiBs.
  • Http 2xx - Count of requests resulting in an HTTP status code >= 200 but < 300.
  • Http 3xx - Count of requests resulting in an HTTP status code >= 300 but < 400.
  • Http 401 - Count of requests resulting in HTTP 401 status code.
  • Http 403 - Count of requests resulting in HTTP 403 status code.
  • Http 404 - Count of requests resulting in HTTP 404 status code.
  • Http 406 - Count of requests resulting in HTTP 406 status code.
  • Http 4xx - Count of requests resulting in an HTTP status code >= 400 but < 500.
  • Http Server Errors - Count of requests resulting in an HTTP status code 5xx.
  • Memory working set - Current amount of memory used by the app in MiBs.
  • Requests - Total number of requests regardless of their resulting HTTP status code.

Among all of the metrics as mentioned above; CPU time, total requests, bytes transferred, successful requests, bad requests and response time are shown on the dashboard.

These six metrics helps you quickly know about the performance of your app.

You can also create a custom dashboard with all the metrics of your choice by navigating to the dashboards tab. The rest of the metrics can be found in the Details page.

Figure 28: Site dashboard

3. Function Site (Function Web App)

We ensure that your Azure Functions perform correctly by monitoring for execution frequency, execution units, exceptions, and more. You can set alerts to get notified for all the metrics. For example, you can set an alert if the number of exceptions increases beyond a threshold.

  

Figure 29: Function Site dashboard page

Let us take a look at the metrics:

  • Function Execution Units: The number of function execution units used.
  • Function Execution Count: Total number of times the function was executed.
  • Byte: Data in and Data out.
  • Http5xx: Number of times the function execution failed.
  • Memory Working Set: The average memory used by the function.

Get more details by clicking the ‘Details’ button.


Figure 30: Function Site dashboard

4. Slot

   

Figure 31: Slot dashboard page

All the metrics that are supported by Sites (Web Apps) are also supported by Slots also.

The dashboards below for deployment slots are similar to those for sites. The ‘Details’ button will take you to more detailed views. You can view historical data on the Details page. We store data for past one year.


Figure 32: Slot dashboard

5. Function Slot

Function slots are similar to site slots. They can be swapped with the original function and perform all the operations that a function can execute.

Metrics available for monitoring are same as those available for functions as they serve the same set of tasks.

Figure 33: Function Slot dashboard page

Below is a closer view of the function slot dashboard. Click on the ‘Details’ button for detailed views and historical data.


Figure 34: Function Slot dashboard

With the previous and newly added services believe that now you will have more insight into the performance of your Azure infrastructure.  

For any questions, you can post a comment or contact support@copperegg.com.

Stay tuned to see more features and more monitoring support getting added to Uptime Cloud Monitor in the near future.

Uptime Cloud Monitor Free Trial!

Sign up for a 14 day FREE TRIAL of Uptime Cloud Monitor (no credit card required).

You can find more information about Uptime Cloud Monitor pricing options here.

We charge only $0.08 per month per metric!

Sign up today!

Anonymous