Viewing metrics

Cloud Router publishes metrics to Cloud Monitoring. For a list of metrics published for Cloud Router, see Google Cloud metrics.

Viewing metrics using the API

You can access these metrics by using the Cloud Monitoring API.

Viewing metrics by using Cloud Monitoring dashboards

You can also create a custom dashboard in Cloud Monitoring by using these metrics. For more information about how to create a custom dashboard, see Managing dashboards through the console.

To create a custom dashboard, do the following:

  1. In the Google Cloud Console, select Monitoring, or use the following button:

    Go to Monitoring

  2. Select Dashboards > Create Dashboard.

  3. Replace Untitled Dashboard with an appropriate name.

  4. Click Add chart.

  5. In the Find resource type and metric field, add Cloud Router as a resource and then a Cloud Router metric.

  6. Change the chart Title or use the suggested title.

  7. Use the Filter controls to restrict the view to only certain routers or sessions.

  8. To add another metric, click Add metric.

  9. Click Save to add the chart to your dashboard.

Some metrics are for the Cloud Router and some metrics are for a BGP session on a given Cloud Router. Cloud Router metrics are shown by router-name while BGP sessions metrics are shown as router-name(bgp-name).