Edit your application
To change an app monitor's settings, follow these steps. You can change any settings except the app monitor name.
To edit how your application uses CloudWatch RUM
Open the CloudWatch console at https://console.amazonaws.cn/cloudwatch/
. In the navigation pane, choose Application monitoring, RUM.
Choose List view.
Choose the button next to the name of the application, and then choose Actions, Edit.
Change any settings except the application name. For more information about the settings, see Step 2: Create an app monitor.
When finished, choose Save.
Changing the settings changes the code snippet. You must now paste the updated code snippet into your application.
After the JavaScript code snippet is created, choose Copy to clipboard or Download, and then choose Done.
To start monitoring with the new settings, you insert the code snippet into your application. Insert the code snippet inside the
<head>
element of your application, before the<body>
element or any other<script>
tags.