You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* <p>By default, RUM app monitors send some metrics to CloudWatch. These default metrics
39
39
* are listed in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-metrics.html">CloudWatch metrics that you can collect
40
40
* with CloudWatch RUM</a>.</p>
41
-
* <p>In addition to these default metrics, you can choose to send extended metrics or custom metrics or both.</p>
41
+
* <p>In addition to these default metrics, you can choose to send extended metrics, custom
42
+
* metrics, or both.</p>
42
43
* <ul>
43
44
* <li>
44
-
* <p>Extended metrics enable you to send metrics with additional dimensions not included
45
-
* in the default metrics. You can also send extended metrics to Evidently as well as CloudWatch.
46
-
* The valid dimension names for the additional dimensions for extended metrics are
* Extended metrics that you can send to CloudWatch and CloudWatch Evidently</a>.</p>
45
+
* <p>Extended metrics let you send metrics with additional dimensions that aren't included in the
46
+
* default metrics. You can also send extended metrics to both Evidently and CloudWatch. The valid dimension names for the additional dimensions for extended
47
+
* metrics are <code>BrowserName</code>, <code>CountryCode</code>,
48
+
* <code>DeviceType</code>, <code>FileType</code>, <code>OSName</code>, and
49
+
* <code>PageId</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-vended-metrics.html">
50
+
* Extended metrics that you can send to CloudWatch and CloudWatch
51
+
* Evidently</a>.</p>
51
52
* </li>
52
53
* <li>
53
-
* <p>Custom metrics are metrics that you define. You can send custom metrics to CloudWatch or
54
-
* to CloudWatch Evidently or to both. With custom metrics,
55
-
* you can use any metric name and namespace, and to derive the metrics you can use any custom events, built-in events,
56
-
* custom attributes, or default attributes. </p>
54
+
* <p>Custom metrics are metrics that you define. You can send custom metrics to CloudWatch.
55
+
* CloudWatch Evidently, or both. With custom metrics, you can use any metric
56
+
* name and namespace. To derive the metrics, you can use any custom events, built-in
57
+
* events, custom attributes, or default attributes. </p>
57
58
* <p>You can't send custom metrics to the <code>AWS/RUM</code> namespace. You must send custom metrics to a
58
59
* custom namespace that you define. The namespace that you use can't start with <code>AWS/</code>.
59
60
* CloudWatch RUM prepends <code>RUM/CustomMetrics/</code> to the custom namespace that you define,
* must include <code>\{"event_type":["com.amazon.rum.session_start_event"]\}</code>
434
454
* </p>
435
455
* </li>
456
+
* <li>
457
+
* <p>If <code>Name</code> is <code>PageViewCount</code>, then
458
+
* <code>ValueKey</code>must be null and the <code>EventPattern</code>
459
+
* must include <code>\{"event_type":["com.amazon.rum.page_view_event"]\}</code>
460
+
* </p>
461
+
* </li>
462
+
* <li>
463
+
* <p>If <code>Name</code> is <code>Http4xxCount</code>, then
464
+
* <code>ValueKey</code>must be null and the <code>EventPattern</code>
465
+
* must include <code>\{"event_type": ["com.amazon.rum.http_event"],"event_details":\{"response":\{"status":[\{"numeric":[">=",400,"<",500]\}]\}\}\} \}</code>
466
+
* </p>
467
+
* </li>
468
+
* <li>
469
+
* <p>If <code>Name</code> is <code>Http5xxCount</code>, then
470
+
* <code>ValueKey</code>must be null and the <code>EventPattern</code>
471
+
* must include <code>\{"event_type": ["com.amazon.rum.http_event"],"event_details":\{"response":\{"status":[\{"numeric":[">=",500,"<=",599]\}]\}\}\} \}</code>
* <p>This parameter is required if <code>Destination</code> is <code>Evidently</code>. If <code>Destination</code> is
1620
-
* <code>CloudWatch</code>, do not use this parameter.</p>
1658
+
* <code>CloudWatch</code>, don't use this parameter.</p>
1621
1659
* <p>This parameter specifies
1622
1660
* the ARN of an IAM role that RUM will assume to write to the Evidently
1623
1661
* experiment that you are sending metrics to. This role must have permission to write to that experiment.</p>
1662
+
* <p>If you specify this parameter, you must be signed on to a role that has <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html">PassRole</a> permissions attached to it, to allow
1663
+
* the role to be passed. The <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/auth-and-access-control-cw.html#managed-policies-cloudwatch-RUM">
0 commit comments