CloudWatch metrics that you can collect with CloudWatch RUM - Amazon CloudWatch

CloudWatch metrics that you can collect with CloudWatch RUM

The table in this section lists the metrics that you automatically collect with CloudWatch RUM. You can see these metrics in the CloudWatch console. For more information, see View available metrics.

You can also optionally send extended metrics to CloudWatch or CloudWatch Evidently. For more information, see Extended metrics.

These metrics are published in the metric namespace named AWS/RUM. All of the following metrics are published with an application_name dimension. The value of this dimension is the name of the app monitor. Some metrics are also published with additional dimensions, as listed in the table.

Metric Unit Description

HttpStatusCodeCount

Count

The count of HTTP responses in the application, by their response status code.

Additional dimensions:

  • event_details.response.status is the response status code, such as 200, 400, 404, and so on.

  • event_type The type of event. Currently, the only possible value for this dimension is http.

Http4xxCount

Count

The count of HTTP responses in the application, with 4xx response status code.

These are calculated based on http_event RUM events that result in 4xx codes.

Http5xxCount

Count

The count of HTTP responses in the application, with 5xx response status code.

These are calculated based on http_event RUM events that result in 5xx codes.

JsErrorCount

Count

The count of JavaScript error events ingested.

NavigationFrustratedTransaction

Count

The count of navigation events with a duration higher than the frustrating threshold, which is 8000ms. The duration of navigation events is tracked in the PerformanceNavigationDuration metric.

NavigationSatisfiedTransaction

Count

The count of navigation events with a duration that is less than the Apdex objective, which is 2000ms. The duration of navigation events is tracked in the PerformanceNavigationDuration metric.

NavigationToleratedTransaction

Count

The count of navigation events with a duration between 2000ms and 8000ms. The duration of navigation events is tracked in the PerformanceNavigationDuration metric.

PageViewCount

Count

The count of page view events ingested by the app monitor.

This is calculated by counting the page_view_event RUM events.

PerformanceResourceDuration

Milliseconds

The duration of a resource event.

Additional dimensions:

  • event_details.file.type is the file type of the resource event, such as a stylesheet, document, image, script, or font.

  • event_type The type of event. Currently, the only possible value for this dimension is resource.

PerformanceNavigationDuration

Milliseconds

The duration of a navigation event.

RumEventPayloadSize

Bytes

The size of every event ingested by CloudWatch RUM. You can also use the SampleCount statistic for this metric to monitor the number of events that an app monitor is ingesting.

SessionCount

Count

The count of session start events ingested by the app monitor. In other words, the number of new sessions started.

WebVitalsCumulativeLayoutShift

None

Tracks the value of the cumulative layout shift events.

WebVitalsFirstInputDelay

Milliseconds

Tracks the value of the first input delay events.

WebVitalsLargestContentfulPaint

Milliseconds

Tracks the value of the largest contentful paint events.