Improving README.md and adding a picture
This commit is contained in:
parent
b4c1b16217
commit
0fe548ee80
|
@ -3,6 +3,10 @@
|
|||
This repository provides an end-to-end solution to gather some GCP Networking quotas and limits (that cannot be seen in the GCP console today) and display them in a dashboard.
|
||||
The goal is to allow for better visibility of these limits, facilitating capacity planning and avoiding hitting these limits.
|
||||
|
||||
Here is an example of dashboard you can get with this solution:
|
||||
|
||||
<img src="metric.png" width="640px">
|
||||
|
||||
## Usage
|
||||
|
||||
Clone this repository, then go through the following steps to create resources:
|
||||
|
@ -17,8 +21,9 @@ Clone this repository, then go through the following steps to create resources:
|
|||
Once the resources are deployed, go to the following page to see the dashboard: https://console.cloud.google.com/monitoring/dashboards?project=<YOUR-MONITORING-PROJECT>.
|
||||
A dashboard called "quotas-utilization" should be created.
|
||||
|
||||
The Cloud Function runs every 5 minutes by default so you should start getting some data points after a few minutes.
|
||||
The Cloud Function runs every 5 minutes by default so you should start getting some data points after a few minutes.
|
||||
You can change this frequency by modifying the "schedule_cron" variable in variables.tf.
|
||||
Note that we are using Google defined metrics that are populated only once a day so you might need to wait up to one day for some metrics.
|
||||
|
||||
Once done testing, you can clean up resources by running `terraform destroy`.
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 141 KiB |
|
@ -272,7 +272,8 @@ resource "google_compute_instance" "test-vm-hub1" {
|
|||
# Forwarding Rules
|
||||
|
||||
resource "google_compute_forwarding_rule" "forwarding-rule-dev" {
|
||||
name = "forwarding-rule-dev"
|
||||
count = 10
|
||||
name = "forwarding-rule-dev${count.index}"
|
||||
project = module.project-svc-dev.project_id
|
||||
network = module.vpc-dev.self_link
|
||||
subnetwork = module.vpc-dev.subnet_self_links["${var.region}/subnet-dev-1"]
|
||||
|
|
Loading…
Reference in New Issue