Viewing monitoring metrics

Performance Dashboard exports packet loss and latency metrics to Cloud Monitoring. You can create your own dashboard in Monitoring, and you can create dashboard charts and alerts that use Performance Dashboard metrics.

Packet loss metrics

Performance Dashboard only exposes certain fields in its packet loss charts. Monitoring exposes all collected metric fields for the resource:

  • Resource type: gce_zone_network_health
  • Metric: networking.googleapis.com/cloud_netslo/active_probing/probe_count
  • Description: Number of probes

    Filter Description
    remote_zone
    remote_region
    remote_location_type cloud (internal IP address), external (external IP address), or network_peering
    protocol
    result failure or success

Packet loss is calculated as a ratio of failed probes over total probes:

metric[failure]/(metric[failure]+metric[success])

Latency metrics

Latency metrics are calculated as Round Trip Time (RTT) for the following resource and metric:

  • Resource: gce_instance
  • Metric: networking.googleapis.com/vm_flow/rtt
  • Description: A distribution of RTT measured over TCP connections from the local virtual machine (VM) instance.

Defining Monitoring custom dashboards

You can create custom Monitoring dashboards for Performance Dashboard metrics.

Console

  1. In the Google Cloud Console, go to Monitoring.

    Go to Monitoring

  2. In the left navigation, click Dashboards.
  3. On the Dashboards Overview page, click Create dashboard.
  4. Give the dashboard a name, and then click Confirm.
  5. On your dashboard page, click Add chart.
  6. Give the chart a title.
  7. Select a resource type:
    • For packet loss: gce_zone_network_health
    • For latency: gce_instance
  8. Select a metric:
    • For packet loss: networking.googleapis.com/cloud_netslo/active_probing/probe_count
    • For latency: networking.googleapis.com/vm_flow/rtt
  9. Select filters, if desired.
  10. Click Save.

Network performance for multiple projects

Performance Dashboard lets you monitor network performance for individual projects. If you prefer to monitor multiple projects in a single view (for example, projects within Shared VPC), you need to use Cloud Monitoring.

When you access Cloud Monitoring for your Google Cloud project, by default you have access to the metrics for your selected project. However, you can configure Cloud Monitoring to view metrics for up to 100 Google Cloud projects.

For more information, see Configuring your project for Cloud Monitoring.

What's next