Azure Function App Service Test

Azure Function App is a serverless compute service that enables organizations to execute event-driven code without provisioning or managing infrastructure. It is commonly used to build APIs, automate workflows, process files, integrate cloud services, and respond to events generated from applications, databases, storage accounts, or messaging services. If the Function App experiences issues such as excessive response times, increasing HTTP client or server errors, high memory or I/O usage, growing request queues, frequent garbage collections, or SSL and health check failures, business-critical workloads may be delayed or fail. For example, if an HTTP-triggered Function App that processes customer orders begins returning a large number of 5xx errors due to memory exhaustion or backend dependency failures, customer requests may fail, resulting in transaction losses and a poor user experience. Early detection of such conditions through continuous monitoring enables administrators to identify and resolve performance bottlenecks before they impact application availability.

This test continuously monitors the target Azure Function App and provides visibility into its operational health, resource utilization, request processing, network activity, execution behavior, memory usage, storage usage, garbage collection activity, HTTP response statistics, SSL validity, and health check status. Using these metrics together with detailed diagnosis, administrators can quickly identify abnormal trends, isolate the root cause of performance degradation, and take corrective actions such as optimizing application code, scaling the Function App, resolving dependency failures, or correcting configuration issues. This enables proactive detection and resolution of potential problems, ensuring reliable application performance, improved availability, and a consistent user experience.

Target of the test : Microsoft Azure Function App

Agent deploying the test : A remote agent

Outputs of the test : One set of results for the target Azure Function App being monitored.

Configurable parameters for the test

Parameters Description

Test Period

How often should the test be executed.

Host

The host for which the test is to be configured.

Subscription Id

This field will be automatically populated if you have chosen to automatically fulfill the pre-requisites for monitoring the Microsoft Azure Subscription. In this component is added manually, provide below details.

Specify the GUID which uniquely identifies the Microsoft Azure Subscription to be monitored in this text box, if you have chosen to manually fulfill the pre-requisites. To know the ID that maps to the target subscription, do the following:

  1. Login to the Microsoft Azure Portal.

  2. When the portal opens, click on the Subscriptions option (as indicated by Figure 1).

    Clicking Subscriptions Option

    Figure 1 : Clicking on the Subscriptions option

  3. Figure 2 that appears next will list all the subscriptions that have been configured for the target Microsoft Entra tenant. Locate the subscription that is being monitored in the list, and check the value displayed for that subscription in the Subscription ID column.

    Determining Subscription ID

    Figure 2 : Determining the Subscription ID

  4. Copy the Subscription ID in Figure 2 to the text box corresponding to the SUBSCRIPTION ID parameter in the test configuration page.

Tenant Id

This field will be automatically populated if you have chosen to automatically fulfill the pre-requisites for monitoring the Microsoft Azure Subscription.

Specify the Directory ID of the Azure Entra ID tenant to which the target subscription belongs in this text box, if you have chosen to manually fulfill the pre-requisites. To know how to determine the Directory ID, refer to Configuring the eG Agent to Monitor a Microsoft Azure Subscription Using Azure ARM REST API.

Client Id, Client Password and Confirm Password

These fields will be automatically populated if you have chosen to automatically fulfill the pre-requisites for monitoring the Microsoft Azure Subscription.

To connect to the target subscription, the eG agent requires an Access token in the form of an Application ID and the client secret value. For this purpose, you should register a new application with the Microsoft Entra tenant. To know how to create such an application and determine its Application ID and client secret, refer to Configuring the eG Agent to Monitor a Microsoft Azure Subscription Using Azure ARM REST API. Specify the Application ID of the created Application in the Client ID text box and the client secret value in the Client Password text box, if you have chosen to manually fulfill the pre-requisites. Confirm the Client Password by retyping it in the Confirm Password text box.

Proxy Host and ProxyPort

In some environments, all communication with the Azure cloud could be routed through a proxy server. In such environments, you should make sure that the eG agent connects to the cloud via the proxy server and collects metrics. To enable metrics collection via a proxy, specify the IP address of the proxy server and the port at which the server listens against the Proxy Host and Proxy Port parameters. By default, these parameters are set to none, indicating that the eG agent is not configured to communicate via a proxy, by default.

Proxy Username, Proxy Password and Confirm Password

If the proxy server requires authentication, then, specify a valid proxy user name and password in the Proxy Username and Proxy Password parameters, respectively. Then, confirm the password by retyping it in the Confirm Password text box.

Resource Group

Specify the name of the Azure Resource Group that contains the Azure Function App in this text box. The test uses this information to locate the Function App within the monitored Azure subscription and retrieve its performance and health metrics. If the Azure Function App is automatically discovered through Azure Subscription discovery, this parameter is automatically populated. However, you can modify or manually specify the Resource Group name if required.

Function App Name

Specify the name of the Azure Function App to be monitored in this text box. The test uses this name to uniquely identify the target Function App within the specified Resource Group and collect the corresponding metrics from Azure. If the Azure Function App is automatically discovered through Azure Subscription discovery, this parameter is automatically populated with the discovered Function App name. However, you can modify or manually specify the Function App name if required.

DD Frequency

Refers to the frequency with which detailed diagnosis measures are to be generated for this test. The default is 1:1. This indicates that, by default, detailed measures will be generated every time this test runs, and also every time the test detects a problem. You can modify this frequency, if you so desire. Also, if you intend to disable the detailed diagnosis capability for this test, you can do so by specifying none against DD Frequency.

Detailed Diagnosis

To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option.

The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:

  • The eG manager license should allow the detailed diagnosis capability
  • Both the normal and abnormal frequencies configured for the detailed diagnosis measures should not be 0.
Measures made by the test

Measurement

Description

Measurement Unit

Interpretation

Status

Indicates the current operational status of the App Service hosting the target Azure Function App.

 

The values reported by this measure and its numeric equivalents are mentioned in the table below:

Measure Value Numeric Value
Running 1
Stopped 0

Note:

By default, this measure reports the Measure Values listed in the table above to indicate the current operational status. In the graph of this measure however, the same is represented using the numeric equivalents only.

The detailed diagnosis of this measure displays the configuration details of the monitored Azure Function App, such as Website URL, Service Plan, Web Space, Pricing Tier, Geo Location, Outbound IP, Resource Tags, and other general properties, helping administrators identify and analyze the monitored Function App.

Usage state

Indicates the current usage state of the App Service hosting the target Azure Function App.

 

The values reported by this measure and its numeric equivalents are mentioned in the table below:

Measure Value Numeric Value
Normal 1
Exceeded 2

Note:

By default, this measure reports the Measure Values listed in the table above to indicate the current usage state. In the graph of this measure however, the same is represented using the numeric equivalents only.

Is function app enabled?

Indicates whether the Azure Function App is enabled to execute functions and process incoming requests.

 

The values reported by this measure and its numeric equivalents are mentioned in the table below:

Measure Value Numeric Value
Offline 0
Enabled 1

Note:

By default, this measure reports the Measure Values listed in the table above to indicate the whether the function app is enabled. In the graph of this measure however, the same is represented using the numeric equivalents only.

Compute mode

Indicates the current compute mode of the Azure Function App Service hosting the target Azure Function App, which determines how Azure allocates compute resources, manages the execution environment, and supports the Function App's operation.

 

The values reported by this measure and its numeric equivalents are mentioned in the table below:

Measure Value Numeric Value
Normal 1
Limited 2
Disaster Recovery Mode 3

Note:

By default, this measure reports the Measure Values listed in the table above to indicate the compute mode. In the graph of this measure however, the same is represented using the numeric equivalents only.

SSL state

Indicates the current SSL configuration state of the App Service hosting the target Azure Function App.

 

The values reported by this measure and its numeric equivalents are mentioned in the table below:

Measure Value Numeric Value
Disabled 0
IP Enabled 1
SSL Enabled 2

Note:

By default, this measure reports the Measure Values listed in the table above to indicate the SSL state. In the graph of this measure however, the same is represented using the numeric equivalents only.

Requests

Indicates the number of requests received by the Azure Function App during the last measurement period.

Number

Ideally, this value should align with the expected application workload. An unexpected increase may indicate a surge in client traffic, while an unexpected decrease or absence of requests during periods of expected activity may indicate reduced application usage, routing or connectivity issues, or problems preventing requests from reaching the Function App. This measure should be analyzed in conjunction with availability, response time, and failure-related metrics to accurately determine the underlying cause.

Incoming bandwidth

Indicates the amount of data received by the Azure Function App during the last measurement period.

MB

An unusually high value may indicate heavy incoming traffic or large request payloads, increasing resource utilization. An unexpectedly low value during peak hours may indicate reduced application usage or connectivity issues.

Outgoing bandwidth

Indicates the amount of data transmitted by the Azure Function App during the last measurement period.

MB

Ideally, this value should be proportional to the incoming workload. Higher values typically indicate successful request processing, while unusually low values during periods of expected activity may indicate failed requests or reduced application usage.

HTTP successful responses

Indicates the number of HTTP requests processed by the Azure Function App that resulted in 2xx (Successful) status codes.

Number

Ideally, this value should be high and proportional to the total number of requests received. A decline in successful responses, especially when request volume remains unchanged, may indicate that the Azure Function App is unable to process requests successfully due to application, runtime, or dependency issues.

HTTP redirect responses

Indicates the number of HTTP requests processed by the Azure Function App that resulted in 3xx (Redirection) status codes.

Number

Persistently high values may indicate unnecessary or excessive redirections, increasing response time and degrading user experience.

HTTP responses with client errors

Indicates the number of HTTP requests processed by the Azure Function App that resulted in 4xx (Client Error) status codes.

Number

Ideally, this value should remain low. High values indicate that client requests are failing due to invalid URLs, malformed requests, authentication failures, or authorization issues, preventing successful access to the application.

HTTP responses with server errors

Indicates the number of HTTP requests processed by the Azure Function App that resulted in 5xx (Server Error) status codes.

Number

Ideally, this value should be zero. High values indicate that the Function App or one of its dependent services is unable to process requests successfully, resulting in application failures and poor user experience.

HTTP responses with unauthorized errors

Indicates the number of HTTP requests processed by the Azure Function App that resulted in 401 (Unauthorized) status codes.

Number

Ideally, this value should remain low. High values indicate authentication failures caused by invalid credentials, expired access tokens, or incorrect authentication configuration, preventing users or applications from accessing the Function App.

HTTP responses with forbidden errors

Indicates the number of HTTP requests processed by the Azure Function App that resulted in 403 (Forbidden) status codes.

Number

Ideally, this value should remain low. High values indicate authorization failures, where authenticated users or applications do not have sufficient permissions to access the requested resource.

HTTP responses with not found errors

Indicates the number of HTTP requests processed by the Azure Function App that resulted in 404 (Not Found) status codes.

Number

Ideally, this value should remain low. High values may indicate incorrect URLs, deleted functions, broken links, or routing configuration issues, causing users to be unable to access the requested resources.

HTTP responses with not acceptable errors

Indicates the number of HTTP requests processed by the Azure Function App that resulted in 406 (Not Acceptable) status codes.

Number

A 406 response is returned when the server cannot generate a response that matches the content types or formats requested by the client. Ideally, this value should be 0. A high value indicates that clients are requesting content formats that the Function App cannot provide, which may result from incorrect request headers, unsupported media types, or application configuration issues.

Memory

Indicates the amount of physical memory currently used by the Azure Function App.

MB

A consistently high memory usage may indicate increased workload, memory-intensive operations, or memory leaks. Administrators should correlate this measure with CPU utilization, request rate, and function execution metrics to determine whether the workload is expected or whether the application requires optimization. If memory usage remains persistently high due to sustained workload, scaling the Function App or its hosting plan may be necessary. An unusually low value during expected periods of activity may indicate that the Function App is underutilized or inactive.

Average memory

Indicates the average amount of physical memory used by the Azure Function App during the last measurement period.

MB

This measure helps identify sustained memory consumption trends. A consistently high average may indicate prolonged memory-intensive processing or memory leaks, whereas lower values generally indicate lighter resource utilization.

Total response time

Indicates the total time taken by the Azure Function App to process and respond to client requests.

Seconds

Lower values indicate faster request processing and better application responsiveness. A high value may result from slow function execution, backend dependencies, resource contention, or increased workload.

TCP availability

Indicates the percentage of TCP availability for the Azure Function App.

Percent

Ideally, this value should remain close to 100%. Lower values indicate intermittent or persistent connectivity issues that may prevent clients from accessing the application.

TCP connection time

Indicates the time taken to establish a TCP connection with the Azure Function App.

Seconds

Lower values indicate that connections are established quickly. Higher values may indicate network latency, congestion, or delays in the hosting environment.

Server response time

Indicates the time taken by the Azure Function App to send the HTTP response header after the TCP connection has been established.

Seconds

Lower values indicate that the application starts processing requests promptly. Higher values may indicate slow application processing, backend delays, or resource bottlenecks.

Content validity

Indicates whether the content returned by the Azure Function App is valid for the requested operation.

Percent

A value of 100% indicates that the Function App returned the expected content, whereas a value of 0% indicates that the returned content is invalid or does not match the expected response. This measure is particularly useful when monitoring HTTP-triggered Azure Function Apps, as the Function App may return an HTTP response even if the requested operation fails. For example, a Function App may return an HTTP 200 response containing an error message instead of the expected output. In such cases, this measure helps distinguish between a successful HTTP response and a successful application response.

Response code

Indicates the HTTP status code returned by the Azure Function App for the monitored request.

Number

A successful response typically returns a 2xx status code. Other response codes may indicate redirection, client errors, or server errors, depending on the code returned.

Content length

Indicates the size of the content returned by the Azure Function App.

KB

For a given request or endpoint, the content length should typically remain consistent over time. Unexpected changes in this measure may indicate changes to the Function App response, configuration issues, or application errors that require investigation.

Data transfer time

Indicates the time taken to transfer the response data from the Azure Function App to the client.

Seconds

Lower values indicate faster data transfer. Higher values may result from large response payloads, network latency, or bandwidth limitations.

SSL certificate validity

Indicates the number of days remaining before the SSL certificate used by the Azure Function App expires.

Days

Higher values indicate that the certificate remains valid for a longer period. As this value approaches 0, the certificate is nearing expiration and should be renewed to avoid secure connection failures and browser security warnings.

HTTP successes

Indicates the percentage of HTTP 2xx responses returned by the Azure Function App during the last measurement period.

Percent

Ideally, this value should remain high. Lower values indicate that fewer requests are being processed successfully and may point to application, client, or server issues.

HTTP redirections

Indicates the percentage of HTTP 3xx responses returned by the Azure Function App during the last measurement period.

Percent

This value reflects the proportion of requests that were redirected. While occasional redirects are expected, consistently high values may indicate unnecessary redirections that can increase request latency.

HTTP client errors

Indicates the percentage of HTTP 4xx responses returned by the Azure Function App during the last measurement period.

Percent

Ideally, this value should remain low. Higher values indicate an increase in client-side request errors, such as invalid requests, authentication failures, or requests for unavailable resources.

HTTP server errors

Indicates the percentage of HTTP 5xx (Server Error) responses returned by the Azure Function App during the last measurement period.

Percent

Ideally, this value should remain low. Higher values indicate an increase in server-side errors, which may result from application failures, runtime exceptions, configuration issues, or backend service failures.

HTTP unauthorized errors

Indicates the percentage of HTTP 401 (Unauthorized) responses returned by the Azure Function App during the last measurement period.

Percent

Ideally, this value should remain low. Higher values indicate an increase in authentication errors caused by missing, invalid, or expired credentials.

HTTP forbidden errors

Indicates the percentage of HTTP 403 (Forbidden) responses returned by the Azure Function App during the last measurement period.

Percent

Ideally, this value should remain low. Higher values indicate that requests are being denied due to insufficient permissions or access restrictions.

HTTP not found errors

Indicates the percentage of HTTP 404 (Not Found) responses returned by the Azure Function App during the last measurement period.

Percent

Ideally, this value should remain low. Higher values indicate that clients are requesting unavailable or non-existent endpoints or resources.

HTTP not acceptable errors

Indicates the percentage of HTTP 406 (Not Acceptable) responses returned by the Azure Function App during the last measurement period.

Percent

Ideally, this value should remain low. Higher values indicate that the Azure Function App is unable to generate a response matching the content types or formats requested by clients.

HTTP switching protocols

Indicates the number of HTTP 101 (Switching Protocols) responses returned by the Azure Function App during the last measurement period.

Number

This measure reflects the number of requests for which the Azure Function App successfully switched to a different protocol, such as WebSockets. A sudden increase or decrease may indicate changes in application behavior or client communication patterns.

Response time

Indicates the average time taken by the Azure Function App to process a request and return a complete HTTP response during the last measurement period.

Seconds

Lower values indicate faster request processing. Higher values may indicate increased execution time due to application logic, cold starts, resource constraints, or backend service delays.

Function execution units

Indicates the number of function execution units consumed by the Azure Function App during the last measurement period.

Number

Ideally, this value should correspond to the expected workload of the Function App. A sudden or sustained increase in this measure indicates that the Function App is consuming more compute resources, which may result from increased traffic or resource-intensive function executions.

Function executions

Indicates the number of function executions completed by the Azure Function App during the last measurement period.

Number

The value of this measure should generally reflect the workload of the Function App. A significant increase indicates that the Function App is processing more requests, whereas an unexpected decrease may indicate reduced application activity or issues preventing functions from being triggered.

Average connections

Indicates the average number of active connections to the Azure Function App during the last measurement period.

Number

This value should remain consistent with the expected client workload. A consistently high value indicates that the Function App is handling a large number of concurrent connections, which may increase resource utilization and affect application performance if the workload exceeds the available capacity.

Handles used

Indicates the number of operating system handles currently used by the process hosting the Azure Function App.

Number

This value should remain relatively stable under normal operating conditions. A continuously increasing handle count without a corresponding decrease may indicate a handle leak or improper resource cleanup, which can eventually impact application stability and performance.

Private data

Indicates the amount of private memory allocated to the process hosting the Azure Function App.

MB

A continuous increase in private memory usage may indicate excessive memory consumption or a memory leak, which can eventually lead to degraded performance or application failures.

I/O data reads

Indicates the rate at which the Azure Function App reads data during the last measurement period.

MB/sec

Higher values for this measure indicate increased read activity, while sudden or sustained spikes may indicate intensive data access or changes in application behavior.

I/O data writes

Indicates the rate at which the Azure Function App writes data during the last measurement period.

MB/sec

A sustained increase in this value may indicate excessive logging, frequent data updates, or other write-intensive operations that could affect storage performance.

I/O other data

Indicates the rate at which the Azure Function App transfers data through I/O operations other than read and write during the last measurement period.

MB/sec

Significant increases in this value may indicate changes in application behavior or increased miscellaneous I/O activity and should be correlated with other performance metrics.

IO read operations

Indicates the average amount of data read per I/O read operation performed by the Azure Function App during the last measurement period.

MB/operation

Significant increases or decreases for this value may indicate changes in the amount of data being read per operation and should be investigated if they coincide with performance degradation.

IO write operations

Indicates the average amount of data written per I/O write operation performed by the Azure Function App during the last measurement period.

MB/operation

This value should remain consistent with the application's write workload. Significant changes may indicate modifications in application behavior or changes in the volume of data written during each operation.

IO other operations

Indicates the average amount of data transferred per I/O operation other than read or write performed by the Azure Function App during the last measurement period.

MB/operation

This value should remain relatively stable under normal operating conditions. Significant deviations may indicate changes in miscellaneous I/O activity that should be investigated along with other workload and performance metrics.

Requests in application queue

Indicates the number of requests waiting in the Azure Function App's application queue for processing.

Number

Ideally, this value should remain low. A consistently high value indicates that requests are waiting longer to be processed, which may result from increased workload, insufficient compute resources, or slow-running function executions.

Current assemblies

Indicates the number of assemblies currently loaded by the process hosting the Azure Function App.

Number

Current assemblies represent the number of .NET assemblies currently loaded into the Azure Function App process. The number of loaded assemblies should remain relatively stable during normal operation. A continuous increase may indicate excessive assembly loading or application behavior that could increase memory consumption.

Total app domains

Indicates the total number of application domains created by the Azure Function App.

Number

Under normal conditions, this value should increase only occasionally. Frequent increases may indicate repeated application domain creation due to application restarts, recycling, or configuration changes, which can affect application performance.

Total app domains unloaded

Indicates the total number of application domains unloaded by the Azure Function App.

Number

This value should increase only when application domains are intentionally unloaded. Frequent increases may indicate repeated application restarts or recycling, which can adversely affect application availability and performance.

Health check status

Indicates the number of healthy instances based on the configured health checks for the target Azure Function App.

Number

This measure reports the number of Azure Function App instances that are currently responding successfully to the configured health check. When a health check endpoint is enabled, Azure periodically sends health check requests to each running instance. Instances that return a successful response are considered healthy and are included in this count. Ideally, this value should match the total number of running instances for the Function App. A lower value indicates that one or more instances are failing health checks and may not be available to serve client requests. This can occur due to application errors, dependency failures, configuration issues, or resource constraints.

File system usage

Indicates the amount of file system space currently used by the Azure Function App.

MB

Ideally, this value should remain well below the available storage capacity. A continuously increasing value indicates growing disk space consumption, which may result from application data, logs, temporary files, or deployments. If the available storage becomes exhausted, application performance and functionality may be affected.

Gen 0 garbage collections

Indicates the number of Generation 0 garbage collections performed by the Azure Function App during the last measurement period.

Number

Generation 0 collections are typically frequent and inexpensive. However, an unusually high number of collections may indicate excessive short-lived object allocations, which can increase CPU utilization and affect application performance.

Gen 1 garbage collections

Indicates the number of Generation 1 garbage collections performed by the Azure Function App during the last measurement period.

Number

Ideally, Generation 1 collections should occur less frequently than Generation 0 collections. A sustained increase may indicate increased memory pressure caused by objects surviving Generation 0 collections.

Gen 2 garbage collections

Indicates the number of Generation 2 garbage collections performed by the Azure Function App during the last measurement period.

Number

Ideally, Generation 2 collections should occur infrequently. Frequent Generation 2 collections indicate significant memory pressure or excessive retention of long-lived objects, which can introduce longer application pauses and degrade performance.

Total bandwidth

Indicates the total amount of network data transferred by the Azure Function App during the last measurement period.

MB

A significant increase in this value indicates increased network activity, while an unexpected decrease may indicate reduced client traffic or application issues affecting request processing.

Total I/O data

Indicates the total rate of I/O data transferred by the Azure Function App during the last measurement period.

MB/sec

This value reflects the overall I/O activity of the Azure Function App. Sustained high values indicate intensive disk I/O operations, while unexpected changes may indicate variations in application workload or storage access patterns that should be investigated.