View source: R/cloudwatchrum_operations.R
| cloudwatchrum_create_app_monitor | R Documentation |
Creates a Amazon CloudWatch RUM app monitor, which collects telemetry data from your application and sends that data to RUM. The data includes performance and reliability information such as page load time, client-side errors, and user behavior.
See https://www.paws-r-sdk.com/docs/cloudwatchrum_create_app_monitor/ for full documentation.
cloudwatchrum_create_app_monitor(
Name,
Domain = NULL,
DomainList = NULL,
Tags = NULL,
AppMonitorConfiguration = NULL,
CwLogEnabled = NULL,
CustomEvents = NULL,
DeobfuscationConfiguration = NULL,
Platform = NULL
)
Name |
[required] A name for the app monitor. |
Domain |
The top-level internet domain name for which your application has administrative authority. |
DomainList |
List the domain names for which your application has administrative authority. The |
Tags |
Assigns one or more tags (key-value pairs) to the app monitor. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters. You can associate as many as 50 tags with an app monitor. For more information, see Tagging Amazon Web Services resources. |
AppMonitorConfiguration |
A structure that contains much of the configuration data for the app monitor. If you are using Amazon Cognito for authorization, you must include this structure in your request, and it must include the ID of the Amazon Cognito identity pool to use for authorization. If you don't include If you omit this argument, the sample rate used for RUM is set to 10% of the user sessions. |
CwLogEnabled |
Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges. If you omit this parameter, the default is |
CustomEvents |
Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are For more information about custom events, see Send custom events. |
DeobfuscationConfiguration |
A structure that contains the configuration for how an app monitor can deobfuscate stack traces. |
Platform |
The platform type for the app monitor. Valid values are |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.