https://github.com/epomatti/aws-cloudwatch-rum
AWS RUM running with Vite
https://github.com/epomatti/aws-cloudwatch-rum
aws cloudwatch rum terraform vite vue
Last synced: 2 months ago
JSON representation
AWS RUM running with Vite
- Host: GitHub
- URL: https://github.com/epomatti/aws-cloudwatch-rum
- Owner: epomatti
- License: mit
- Created: 2024-01-26T01:03:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-26T13:54:34.000Z (over 2 years ago)
- Last Synced: 2025-03-11T02:51:11.506Z (over 1 year ago)
- Topics: aws, cloudwatch, rum, terraform, vite, vue
- Language: HCL
- Homepage:
- Size: 617 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS CloudWatch RUM
AWS RUM instrumentation.
## Running on AWS
Copy the variables file:
```sh
cp config/template.tfvars .auto.tfvars
```
Set the GitHub token with webhook permissions.
Create the infrastructure:
```sh
terraform init
terraform apply -auto-apply
```
Create the app monitor with the Amplify URL, and update the `.auto.tfvars` file.
## Running locally
[Create app monitor][1] for `localhost`.
Set up the environments file:
```sh
cp .env.template .env.local
```
Run the application:
```sh
yarn install
yarn run dev
```
[1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-get-started-authorization.html