Google Cloud CDN Custom Dashboard

Wasim
Google Cloud - Community
2 min readJul 1, 2021

Google Cloud CDN leverages Google’s global premium network backbone which avoids the public transit and ensures the data egresses over Google’s network as close to the end-user ISP (internet service provider).

Google Cloud CDN is used by thousands of customers worldwide. While it is easy to use Cloud CDN (One click deployment), in this blog, we will see how easy it is to set up a Custom Cloud CDN dashboard to monitor performance matrices with ease.

This preconfigured Cloud CDN json files provides following matrices:

  • CDN Client Latency
  • Total Latency
  • Edge Request count
  • Origin Response count
  • Cache Hit Ratio
  • Total Response Bytes
  • Cache and Origin Egress
  • 4xx and 5xx Errors
  • Edge Request Bytes
  • Response distribution on Edge and Origin
  • Edge and Origin FQDN
  • Response Code on Edge and Origin
  • Cacheability metrics on Edge
  • Cache Hit Ratio by Count

Pre-requisites:

  1. Must have a google cloud project
  2. Application running on google cloud using Cloud CDN and global HTTP(s) load balancer
  3. Download the json file from https://github.com/wasimbloch/GCP/blob/main/CDN%20Dashboard.json

Steps to Create CDN Custom Dashboard:

  1. Go to Google Cloud Platform ( https://console.cloud.google.com) and select your project.

2. Navigate to “Dashboards” from “Monitoring” menu under “Operations” section

3. Click on “Create Dashboard” on Dashboards overview screen

4. Click on “JSON EDITOR” on new dashboard screen

5. Upload the json file by clicking on “Upload JSON”. Click “APPLY CHANGES” once the file is uploaded.

6. You should be able to see the cloud CDN dashboard with multiple widgets on it as shown below.

That’s It! If you are looking for any additional matrices, feel free to reach out by adding comments to this article.

--

--

Wasim
Google Cloud - Community

Customer Engineer, Network Specialist @ Google Cloud. I assist customers transform their business using Google’s global network and software infrastructure.