Viewing monitoring metrics

Performance Dashboard also exports packet loss and latency metrics to Monitoring. You can create your own dashboard in Monitoring, and you can add charts and create alerts in the dashboard using the available 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) or external (external IP address)
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

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 VM.

Defining Monitoring custom dashboards

You can create custom Monitoring dashboards for Performance Dashboard metrics:

  1. Go to Monitoring in the Google Cloud Console.
    Go to Monitoring
  2. Select Dashboards > Create Dashboard.
  3. Give the dashboard a name.
  4. Click on Add Chart.
  5. Give the chart a title.
  6. Select a resource type:
    • For packet loss, the resource type is gce_zone_network_health.
    • For latency, the resource type is gce_instance.
  7. Select a metric:
    • For packet loss, the metric is networking.googleapis.com/cloud_netslo/active_probing/probe_count.
    • For latency, the metric is networking.googleapis.com/vm_flow/rtt.
  8. Select filters, if desired.
  9. Click Save.

Network performance for multiple projects

Performance Dashboard allows you to monitor network performance for individual projects. If you prefer to monitor multiple projects in a single view (for example projects within Shared VPC), you will 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 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 Cloud Console.
  • You log into your Monitoring Workspace rather than into an individual project.
  • You then select your "Workspace" view from the "Project" list.

For information on creating Monitoring Workspaces, see Managing Workspaces.

What's next