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:
Description: Number of probes
Filter Description remote_zone remote_region remote_location_type
cloud(internal IP address),
external(external IP address), or
protocol result failure or success
Packet loss is calculated as a ratio of failed probes over total probes:
Latency metrics between VMs
Latency metrics for a specific project are calculated as round trip time (RTT) for the following resource type and metric:
- Resource type:
- Description: A distribution of RTT measured over TCP connections between the local virtual machine (VM) instance.
Latency metrics across all Google Cloud projects between zones are calculated as round trip time (RTT) for the following resource type and metric (Preview):
- Resource type:
Description: The median RTT (round trip time) for VM-to-VM traffic, for each zone pair and aggregated across all Google Cloud projects.
You cannot query latency for each zone pair across all Google Cloud projects using Monitoring Query Language (MQL).
Latency metrics between VMs and Internet endpoints
Latency metrics are calculated as round trip time (RTT) for the following resource and metric:
- Description: A distribution of RTT measured over TCP connections between the local virtual machine (VM) instance and internet endpoints.
Create Monitoring custom dashboards
You can create custom Monitoring dashboards for Performance Dashboard metrics. For more information, see Dashboards.
Create a chart with Metrics Explorer
You can create a chart with Metrics Explorer for the latency metric for your project. For more information, see Metrics explorer.
Create a metric-based alerting policy
You can create a metric-based alerting policy on the latency metric for your project. For more information, see Alerts.
Monitor network performance for multiple projects
If you prefer to monitor multiple projects in a single view, you can use Cloud Monitoring or add projects to a metrics scope.
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 375 Google Cloud projects. For more details, see Monitored project limits.
For more information, see Configuring your project for Cloud Monitoring.
Change project scope
To view multiple projects in Performance Dashboard, configure a metrics scope and add monitored projects to it.
When you add projects to a metrics scope, then this metrics scope lets you monitor the data for the scoping project and the monitored projects. From this metrics scope, you can access the combined metrics of the scoping project and the monitored projects. For more information, see Viewing metrics for multiple projects.
To make use of an existing metrics scope and monitor multiple Google Cloud projects in a single view, select the scoping project using the Google Cloud console project picker or the Change Scope button. You can also select a single monitoring project using these options.