Closed alex-togo closed 1 year ago
[AUTOMATED] Latest version has been pushed to preview.
Preview deployed at https://preview-1472322.dev.nextjs-boilerplate.jam3.cloud.jam3.net
[AUTOMATED] Latest version has been pushed to preview.
Preview deployed at https://preview-ae6c134.dev.nextjs-boilerplate.jam3.cloud.jam3.net
[AUTOMATED] Latest version has been pushed to preview.
Preview deployed at https://preview-ca1ad80.dev.nextjs-boilerplate.jam3.cloud.jam3.net
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
This PR adds AWS RUM (real user monitoring) to the frontend boilerplate.
Env vars necessary to be added to CircleCI are found in the JS snippet given to you on the RUM page in the AWS management console. Since there are many env vars, we opted to use a single env var with JSON encoded values.
Here is an example of how the env var would look:
This code will also record the user's journey, based on their navigation through the app using Next.js router.
NPM Page: https://www.npmjs.com/package/aws-rum-web Bundlephobia minified size: https://bundlephobia.com/package/aws-rum-web@1.15.0
User Journey Example (Home -> About -> Home):
Note: If the RUM service is not setup to run on localhost, you will get a 400 error. You'll need to use the devops boilerplate to set the domain as localhost. Otherwise, it will run on your specified domain.