Bewerken

Share via


Application Insights standard metrics

Standard metrics are preaggregated during collection, which gives them better performance at query time. This makes them the best choice for dashboards and real-time alerting.

Note

The following documentation relies on the Application Insights classic API. The long-term plan for Application Insights is to collect data using OpenTelemetry. For more information, see Enable Azure Monitor OpenTelemetry for .NET, Node.js, Python and Java applications and our OpenTelemetry Roadmap. Migration guidance is available for .NET, Node.js, and Python.

Availability metrics

Metrics in the Availability category enable you to see the health of your web application as observed from points around the world. Configure the availability tests to start using any metrics from this category.

Availability (availabilityResults/availabilityPercentage)

The Availability metric shows the percentage of the web test runs that didn't detect any issues. The lowest possible value is 0, which indicates that all of the web test runs have failed. The value of 100 means that all of the web test runs passed the validation criteria.

Unit of measure Supported aggregations Supported dimensions
Percentage Average Run location, Test name

Availability test duration (availabilityResults/duration)

The Availability test duration metric shows how much time it took for the web test to run. For the multi-step web tests, the metric reflects the total execution time of all steps.

Unit of measure Supported aggregations Supported dimensions
Milliseconds Average, Min, Max Run location, Test name, Test result

Availability tests (availabilityResults/count)

The Availability tests metric reflects the count of the web tests runs by Azure Monitor.

Unit of measure Supported aggregations Supported dimensions
Count Count Run location, Test name, Test result

Browser metrics

Browser metrics are collected by the Application Insights JavaScript SDK from real end-user browsers. They provide great insights into your users' experience with your web app. Browser metrics are typically not sampled, which means that they provide higher precision of the usage numbers compared to server-side metrics which might be skewed by sampling.

Note

To collect browser metrics, your application must be instrumented with the Application Insights JavaScript SDK.

Browser page load time (browserTimings/totalDuration)

Unit of measure Supported aggregations Supported dimensions
Milliseconds Average, Min, Max None

Client processing time (browserTiming/processingDuration)

Unit of measure Supported aggregations Supported dimensions
Milliseconds Average, Min, Max None

Page load network connect time (browserTimings/networkDuration)

Unit of measure Supported aggregations Supported dimensions
Milliseconds Average, Min, Max None

Receiving response time (browserTimings/receiveDuration)

Unit of measure Supported aggregations Supported dimensions
Milliseconds Average, Min, Max None

Send request time (browserTimings/sendDuration)

Unit of measure Supported aggregations Supported dimensions
Milliseconds Average, Min, Max None

Failure metrics

The metrics in Failures show problems with processing requests, dependency calls, and thrown exceptions.

Browser exceptions (exceptions/browser)

This metric reflects the number of thrown exceptions from your application code running in browser. Only exceptions that are tracked with a trackException() Application Insights API call are included in the metric.

Unit of measure Supported aggregations Supported dimensions
Count Count Cloud role name

Dependency call failures (dependencies/failed)

The number of failed dependency calls.

Unit of measure Supported aggregations Supported dimensions
Count Count Cloud role instance, Cloud role name, Dependency performance, Dependency type, Is traffic synthetic, Result code, Target of dependency call.

Exceptions (exceptions/count)

Each time when you log an exception to Application Insights, there is a call to the trackException() method of the SDK. The Exceptions metric shows the number of logged exceptions.

Unit of measure Supported aggregations Supported dimensions
Count Count Cloud role instance, Cloud role name, Device type

Failed requests (requests/failed)

The count of tracked server requests that were marked as failed. By default, the Application Insights SDK automatically marks each server request that returned HTTP response code 5xx or 4xx as a failed request. You can customize this logic by modifying success property of request telemetry item in a custom telemetry initializer.

Unit of measure Supported aggregations Supported dimensions
Count Count Cloud role instance, Cloud role name, Is synthetic traffic, Request performance, Result code

Server exceptions (exceptions/server)

This metric shows the number of server exceptions.

Unit of measure Supported aggregations Supported dimensions
Count Count Cloud role instance, Cloud role name

Performance counters

Use metrics in the Performance counters category to access system performance counters collected by Application Insights.

Available memory (performanceCounters/availableMemory)

Unit of measure Supported aggregations Supported dimensions
Data dependent: Megabytes, Gigabytes Average, Max, Min Cloud role instance

Exception rate (performanceCounters/exceptionRate)

Unit of measure Supported aggregations Supported dimensions
Count Average, Max, Min Cloud role instance

HTTP request execution time (performanceCounters/requestExecutionTime)

Unit of measure Supported aggregations Supported dimensions
Milliseconds Average, Max, Min Cloud role instance

HTTP request rate (performanceCounters/requestsPerSecond)

Unit of measure Supported aggregations Supported dimensions
Requests per second Average, Max, Min Cloud role instance

HTTP requests in application queue (performanceCounters/requestsInQueue)

Unit of measure Supported aggregations Supported dimensions
Count Average, Max, Min Cloud role instance

Process CPU (performanceCounters/processCpuPercentage)

The metric shows how much of the total processor capacity is consumed by the process that is hosting your monitored app.

Unit of measure Supported aggregations Supported dimensions
Percentage Average, Max, Min Cloud role instance

Note

The range of the metric is between 0 and 100 * n, where n is the number of available CPU cores. For example, the metric value of 200% could represent full utilization of two CPU core or half utilization of 4 CPU cores and so on. The Process CPU Normalized is an alternative metric collected by many SDKs which represents the same value but divides it by the number of available CPU cores. Thus, the range of Process CPU Normalized metric is 0 through 100.

Process IO rate (performanceCounters/processIOBytesPerSecond)

Unit of measure Supported aggregations Supported dimensions
Bytes per second Average, Min, Max Cloud role instance

Process private bytes (performanceCounters/processPrivateBytes)

Amount of non-shared memory that the monitored process allocated for its data.

Unit of measure Supported aggregations Supported dimensions
Bytes Average, Min, Max Cloud role instance

Processor time (performanceCounters/processorCpuPercentage)

CPU consumption by all processes running on the monitored server instance.

Unit of measure Supported aggregations Supported dimensions
Percentage Average, Min, Max Cloud role instance

Note

The processor time metric is not available for the applications hosted in Azure App Services. Use the Process CPU metric to track CPU utilization of the web applications hosted in App Services.

Server metrics

Dependency calls (dependencies/count)

This metric is in relation to the number of dependency calls.

Unit of measure Supported aggregations Supported dimensions
Count Count Cloud role instance, Cloud role name, Dependency performance, Dependency type, Is traffic synthetic, Result code, Successful call, Target of a dependency call

Dependency duration (dependencies/duration)

This metric refers to duration of dependency calls.

Unit of measure Supported aggregations Supported dimensions
Milliseconds Average, Min, Max Cloud role instance, Cloud role name, Dependency performance, Dependency type, Is traffic synthetic, Result code, Successful call, Target of a dependency call

Server request rate (requests/rate)

This metric reflects the number of incoming server requests that were received by your web application.

Unit of measure Supported aggregations Supported dimensions
Count Per Second Average Cloud role instance, Cloud role name, Is traffic synthetic, Result performance Result code, Successful request

Server requests (requests/count)

Unit of measure Supported aggregations Supported dimensions
Count Count Cloud role instance, Cloud role name, Is traffic synthetic, Result performance Result code, Successful request

Server response time (requests/duration)

This metric reflects the time it took for the servers to process incoming requests.

Unit of measure Supported aggregations Supported dimensions
MilliSeconds Average, Min, Max Cloud role instance, Cloud role name, Is traffic synthetic, Result performance Result code, Successful request

Usage metrics

Page view load time (pageViews/duration)

This metric refers to the amount of time it took for PageView events to load.

Unit of measure Supported aggregations Supported dimensions
MilliSeconds Average, Min, Max Cloud role name, Is traffic synthetic

Page views (pageViews/count)

The count of PageView events logged with the TrackPageView() Application Insights API.

Unit of measure Supported aggregations Supported dimensions
Count Count Cloud role name, Is traffic synthetic

Traces (traces/count)

The count of trace statements logged with the TrackTrace() Application Insights API call.

Unit of measure Supported aggregations Supported dimensions
Count Count Cloud role instance, Cloud role name, Is traffic synthetic, Severity level

Next steps