AWS AmazonCloudWatch documentation change
Summary
Added mobile application metrics documentation including crash tracking, performance metrics, and telemetry data limits. Updated structure to separate web and mobile metrics.
Security assessment
The changes add mobile-specific operational metrics (e.g., CrashCount, DroppedEventsCount) but do not address vulnerabilities or security controls. While crash tracking could relate to stability, there's no explicit mention of security vulnerabilities or protective measures.
Diff
diff --git a/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-metrics.md b/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-metrics.md index 44dd17403..57853def4 100644 --- a//AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-metrics.md +++ b//AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-metrics.md @@ -7 +7 @@ -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](./viewing_metrics_with_cloudwatch.html). +The tables in this section lists the metrics that you automatically collect with CloudWatch RUM from web applications, mobile applications, or both. You can see these metrics in the CloudWatch console. For more information, see [View available metrics](./viewing_metrics_with_cloudwatch.html). @@ -11 +11 @@ You can also optionally send extended metrics to CloudWatch. For more informatio -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. +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 following table. @@ -13 +13 @@ These metrics are published in the metric namespace named `AWS/RUM`. All of the -Metric | Unit | Description +Web metrics Metric | Unit | Description @@ -50,0 +51,26 @@ Metric | Unit | Description +You can configure extended metrics for your mobile application to provide additional dimensions for analysis. + +Mobile metrics Metric | Unit | Description +---|---|--- +`ANRCount` | Count | For Android only: The number of Application Not Responding (ANR) incidents, occurring when the application is unresponsive for more than 5 seconds, resulting in application crash. +`AppHangCount` | Count | For iOS only: The number of times the application became unresponsive for more than 250ms on the main loop. +`ColdAppLaunchFrustratedTransaction` | Count | The number of cold app launches that took longer than 8 seconds to complete, likely causing user frustration. +`ColdAppLaunchSatisfiedTransaction` | Count | The number of cold app launches that completed in less than 2 seconds, providing a satisfactory user experience. +`ColdAppLaunchToleratedTransaction` | Count | The number of cold app launches that completed between 2 and 8 seconds, providing a tolerable, but not ideal, user experience. +`ColdLaunchTime` | Milliseconds | Time taken to launch the application from a terminated state. For Android: Time from Application `onCreate` until the first Activity finishes creating. For iOS: Time from application start (determined by `sysctl` process start command) until `didBecomeActiveNotification`. +`CrashCount` | Count | The number of unexpected application terminations caused by unhandled exceptions or OS termination. For Android: Crashes due to unhandled exceptions or system termination. For iOS: Crashes due to unhandled exceptions, fatal errors, or system termination. Crash data is stored locally and reported on next app launch. +`DroppedEventsCount` | Count | The number of log events that were dropped because they exceeded the maximum size limit of 30KB per event. +`DroppedSpansCount` | Count | The number of spans that were dropped because they exceeded the maximum size limit of 30KB per span. +`Http4xxCount` | Count | Records the number of HTTP client errors encountered by the web or mobile application during HTTP requests. +`Http5xxCount` | Count | Records the number of HTTP server errors encountered by the web or mobile application during HTTP requests. +`LogPayloadSize` | Bytes | The size in bytes of the log telemetry data being sent to CloudWatch RUM. You can also use the `SampleCount` statistic for this metric to monitor the number of Log Events that an app monitor is ingesting. +`NetworkLatency` | Milliseconds | The time taken for network requests to complete, measuring the round-trip time from request initiation to response completion. +`ScreenLoadCount` | Count | The total number of screen loads. +`ScreenLoadToleratedTransaction` | Count | The number of screen loads that completed between 2 and 8 seconds, providing a tolerable, but not ideal, user experience. +`SessionCount` | Count | The total number of unique user sessions with the application. A session begins when the user opens the app and ends after 30 minutes of inactivity or when explicitly terminated. +`SpanPayloadSize` | Bytes | The size in bytes of the span telemetry data being sent to CloudWatch RUM. You can also use the `SampleCount` statistic for this metric to monitor the number of Spans that an app monitor is ingesting. +`WarmAppLaunchFrustratedTransaction` | Count | The number of warm app launches that took longer than 8 seconds to complete, likely causing user frustration. +`WarmAppLaunchSatisfiedTransaction` | Count | The number of warm app launches that completed in less than 2 seconds, providing a satisfactory user experience. +`WarmAppLaunchToleratedTransaction` | Count | The number of warm app launches that completed between 2 and 8 seconds, providing a tolerable, but not ideal, user experience. +`WarmLaunchTime` | Milliseconds | Time taken to launch the application from background state. For Android: Time from Application `onCreate` until the first Activity finishes creating. For iOS: Time from `UIApplicationWillEnterForegroundNotification` until `didBecomeActiveNotification`. + @@ -57 +83 @@ To use the Amazon Web Services Documentation, Javascript must be enabled. Please -How CloudWatch RUM sets Apdex scores +Viewing the CloudWatch RUM dashboard