-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
41 lines (37 loc) · 1.37 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Amazon CloudWatch RUM x AWS Amplify" />
<title>Amazon CloudWatch RUM x AWS Amplify</title>
<script>
if (global === undefined) {
var global = window;
}
</script>
<!-- Insert CloudWatch RUM script tag here -->
<script>
(function (n, i, v, r, s, c, u, x, z) { x = window.AwsRumClient = { q: [], n: n, i: i, v: v, r: r, c: c, u: u }; window[n] = function (c, p) { x.q.push({ c: c, p: p }); }; z = document.createElement('script'); z.async = true; z.src = s; document.head.insertBefore(z, document.getElementsByTagName('script')[0]); })(
'cwr',
'[YOUR_APP_MONITOR_ID]',
'1.0.0',
'[AWS_REGION]',
'https://client.rum.us-east-1.amazonaws.com/1.18.0/cwr.js',
{
sessionSampleRate: 1,
identityPoolId: '[YOUR_IDENTITY_POOL_ID]',
endpoint: 'https://dataplane.rum.[AWS_REGION].amazonaws.com',
telemetries: ["performance", "errors", "http"],
allowCookies: true,
enableXRay: true
});
</script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>