Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skaftenicki/gcp_monitoring_test
https://github.com/skaftenicki/gcp_monitoring_test
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/skaftenicki/gcp_monitoring_test
- Owner: SkafteNicki
- License: apache-2.0
- Created: 2024-01-12T07:59:12.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-14T13:44:32.000Z (about 1 year ago)
- Last Synced: 2024-10-07T11:42:45.148Z (4 months ago)
- Language: Makefile
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gcp_monitoring_test
Repository contains a simple app that can be used to test GCP monitoring.
Steps to run the code:1. Insp
1. Try locally
```bash
make build_run_local
```
navigate to http://localhost:8080/ to see the output.
Also navigate to http://localhost:8080/metrics to see the metrics.2. Try on GCP
```bash
make build
```
which will build both the app without and with monitoring.4. Run
```bash
make change_policy
```to change the policy of the app to allow all traffic.
5. Run
```bash
make get_url
```to get the URL of the two apps.
6. Try invoking the app a few times and see the metrics in the monitoring dashboard.