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 create a Workspace in Monitoring.

The Workspace entity in Monitoring is a tool for monitoring resources contained in one or more Google Cloud projects or AWS accounts. A Workspace is an aggregation of your projects that you define in Monitoring.

The Monitoring Workspace feature has some limitations:

  • A Workspace has a hard limit of 100 projects.
  • A project can only belong to one Workspace at a time.

A Workspace is represented in the Google Cloud Console as a special type of project and exists at the same hierarchical level as other Google Cloud projects.

  • When you set up Workspaces, those Workspaces are represented as Projects in the Cloud Console.
  • You sign in to your Monitoring Workspace rather than in to an individual project.
  • You then select your Workspace view from the Project list.

For information about creating Monitoring Workspaces, see Managing Workspaces.

What's next