Documentation forSolarWinds Observability SaaS

Functions metrics

Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. You can write just the code you need for the problem at hand, without worrying about a whole application or the infrastructure to run it. Azure Functions lets you develop serverless applications on Microsoft Azure. Use the Azure Resource Manager to gather metrics for this resource, then ensure your cloud platform is configured in SolarWinds Observability SaaS to collect this resource type's data. See Add an Azure cloud account.

Depending on the subscription pricing tier of your Azure account or its resources, additional metrics may be available for this entity. To collect additional Azure metrics, select the premium pricing tier when configuring your Azure namespaces.

Many of the collected metrics from Azure Functions entities are displayed as widgets in SolarWinds Observability explorers; additional metrics may be collected and available in the Metrics Explorer. You can also create an alert for when an entity's metric value moves out of a specific range. See Entities in SolarWinds Observability SaaS for information about entity types in SolarWinds Observability SaaS.

The following table lists some of the metrics collected for these entities. To see the Azure Functions metrics in the Metrics Explorer, type azure.sites in the search box.

MetricUnitsDescription
sw.metrics.healthscore Percent (%)

Health score. A health score provides real-time insight into the overall health and performance of your monitored entities. The health score is calculated based on anomalies detected for the entity, alerts triggered for the entity's metrics, and the status of the entity. The health score is displayed as a single numerical value that ranges from a Good (70-100) to Moderate (40-69) to Bad (0-39) distinction.

To view the health score for Azure Functions entities in the Metrics Explorer, filter the sw.metrics.healthscore metric by entity_types and select azurefunction.

azure.sites.app_connections

Represents the number of active connections established by an application. This metric helps monitor app connectivity and resource usage.

azure.sites.app_domainsCount

Total App Domains. The average number of app domains loaded in the application.

azure.sites.app_domains.unloadedCount

Total App Domains Unloaded. The average number of application domains unloaded.

azure.sites.collections.gen1Count

The number of garbage collection events for Generation 1 objects in an Azure Functions instance. This metric helps assess memory management efficiency.

azure.sites.collections.gen2Count

The number of garbage collection events for Generation 2 objects in an Azure Functions instance. Higher generation garbage collections include all lower generation collections.

azure.sites.collections.gen3Count

The number of garbage collection events for Generation 3 objects in an Azure Functions instance.

azure.sites.current_assembliesCount

The number of assemblies currently loaded across all application domains in an Azure Functions instance. This metric helps track application dependencies and runtime behavior.

azure.sites.function_executionsCount

Function Execution Count. The total number of times a function app has executed. This value correlates to the number of times a function runs in an app.

azure.sites.function_executions.unitCount

Function Execution Units. The number of function execution units.

azure.sites.handlesCount

Tracks the number of open file handles in an Azure Functions environment. This metric helps monitor resource usage and potential file access issues.

azure.sites.http.101Count

Tracks HTTP 101 responses which indicate protocol switching (for example, upgrading from HTTP to WebSockets).

azure.sites.http.2xxCount

HTTP 2xx responses which indicate successful requests. These status codes confirm that the server successfully processed the request.

azure.sites.http.3xxCount

HTTP 3xx responses which indicate redirection. These status codes signal that the requested resource has moved to a different location.

azure.sites.http.401Count

HTTP 401 responses which indicate unauthorized access. This occurs when authentication credentials are missing or invalid.

azure.sites.http.403Count

HTTP 403 responses which indicate forbidden access. This happens when a request is denied due to insufficient permissions or security restrictions.

azure.sites.http.404Count

HTTP 404 responses which indicate that the requested resource was not found. This can occur when a URL is incorrect or the resource has been removed.

azure.sites.http.406Count

HTTP 406 responses which indicate that the requested format is not acceptable. This happens when the server cannot provide content in the format specified by the request.

azure.sites.http.4xxCount

HTTP 4xx responses which indicate client-side errors. These errors typically occur due to incorrect requests, authentication failures, or missing resources.

azure.sites.http.5xxCount

HTTP 5xx. The total number of requests with a status code greater than or equal to 500 but less than 600.

azure.sites.io.bytes_receivedbytes

Bytes Received. The number of incoming data bytes.

azure.sites.io.bytes_sentbytes

Bytes Sent. The number of outgoing data bytes.

azure.sites.io.other_bytesbps

IO Other Bytes Per Second

azure.sites.io.other_opsCount per second

IO Other Operations Per Second

azure.sites.io.read_bytesbps

IO Read Bytes Per Second. The number of bytes per second the app is reading from I/O operations.

azure.sites.io.read_opsCount per second

IO Read Operations Per Second. The number of read I/O operations per second the app is issuing.

azure.sites.io.write_bytesbps

IO Write Bytes Per Second. The number of bytes per second the app is writing to I/O operations.

azure.sites.io.write_opsCount per second

IO Write Operations Per Second. The number of write I/O operations per second the app is issuing.

azure.sites.memory.working_setbytes

Memory Working Set. The average amount of memory used by the app.

azure.sites.memory.working_set.avgbytes

Average Memory Working Set. The average amount of memory used by the app.

azure.sites.private_bytesbytes

Private Bytes. The average number of private bytes allocated to the app.

azure.sites.queued_requestsCount

Requests In Application Queue. The average number of requests in the application queue.

azure.sites.requestsCount

Requests. The total number of requests.

azure.sites.response_timeseconds (s)

Average Response Time. The average time taken for the app to serve requests.

azure.sites.threadsCount

The number of active threads in an Azure Functions instance.