Monitoring connections

To help you monitor connections, Cloud Interconnect reports metrics to Cloud Monitoring. Monitoring these metrics can help you troubleshoot issues with your physical circuits (Interconnect connections) or VLAN attachments.

For Dedicated Interconnect, Cloud Interconnect reports measurements for the Interconnect connections and VLAN attachments. For Partner Interconnect, Cloud Interconnect reports measurements for VLAN attachments only.

Google starts reporting Interconnect connection metrics after Google allocates your ports, even before your connection is ready to use. That way, you can monitor the circuits while they're being set up and tested.

Google starts reporting VLAN attachment metrics right after you create the attachment. Google reports the number of packets and bytes sent and received.

Data is reported in one-minute intervals to Monitoring and is retained in Monitoring for 6 weeks.

Metrics and resource types

For more information about Cloud Interconnect metrics, see the following links from the Cloud Monitoring documentation:

Viewing metrics in the Google Cloud Console

On the Cloud Interconnect page in the Google Cloud Console, you can view the activity for VLAN attachments and Dedicated Interconnect connections.

Console

To view the monitoring information for a Dedicated Interconnect connection, follow these steps:

  1. In the Google Cloud Console, go to the Cloud Interconnect Physical connections tab.

    Go to Physical connections

  2. Select the Interconnect connection to view.

  3. On the Interconnect connection details page, select the Monitoring tab.

    For Dedicated Interconnect connections, the Cloud Console shows the following activity for the selected timeframe (by default, the Cloud Console shows the past hour's activity):

    • Utilization rate (bytes received and sent) compared to its overall capacity.
    • Received bytes by VLAN attachment.
    • Sent bytes by VLAN attachment.
    • Number of outbound drops and number of inbound and outbound errors.
    • Light levels for Tx and Rx optical power. For 100-Gbps circuits, four light levels are published, one for each of the wavelengths used.

To view the monitoring information for a VLAN attachment, follow these steps:

  1. In the Google Cloud Console, go to the Cloud Interconnect VLAN attachments tab.

    Go to VLAN attachments

  2. Select the VLAN attachment to view.

  3. On the VLAN attachment details page, select the Monitoring tab.

    For each VLAN attachment, the Cloud Console shows the bytes received and sent compared to its total capacity for the selected timeframe (by default, the Cloud Console shows the past hour's activity).

Viewing metrics in Cloud Monitoring

Console

To view the metrics for a monitored resource by using Metrics Explorer, follow these steps:

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

    Go to Monitoring

    If you have never used Cloud Monitoring, then on your first access of Monitoring in the Google Cloud Console, a Workspace is automatically created and your project is associated with that Workspace. Otherwise, if your project isn't associated with a Workspace, then a dialog appears and you can either create a Workspace or add your project to an existing Workspace. We recommend that you create a Workspace. After you make your selection, click Add.

  2. In the Monitoring navigation pane, click Metrics Explorer.
  3. Ensure that Metric is the selected tab.
  4. In the Find resource type and metric field, select from the menu or enter the name for the resource and metric. Use the following information to complete the fields:
    1. For Resource, select or enter interconnect.
    2. For Metric, select from the menu or enter a metric from the interconnect metrics list.
  5. To modify how the data is displayed, use the Filter, Group By, and Aggregator menus. For example, you can group by resource or metric labels. For more information, see Selecting metrics.

Defining alerting policies

Console

You can create alerting policies to monitor the values of metrics and to notify you when those metrics violate a condition.

To create an alerting policy that monitors one or more interconnect resources, follow these steps:

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

    Go to Monitoring

    If you have never used Cloud Monitoring, then on your first access of Monitoring in the Google Cloud Console, a Workspace is automatically created and your project is associated with that Workspace. Otherwise, if your project isn't associated with a Workspace, then a dialog appears and you can either create a Workspace or add your project to an existing Workspace. We recommend that you create a Workspace. After you make your selection, click Add.

  2. In the Monitoring navigation pane, select Alerting, and then select Create policy.
  3. Click Add condition:
    1. The settings in the Target pane specify the resource and metric to be monitored. In the Find resource type and metric field, select the resource interconnect. Next, select a metric from the interconnect metrics list.
    2. The settings in the Configuration pane of the alerting policy determine when the alert is triggered. Most fields in this pane are populated with default values. For more information about the fields in the pane, see Configuration in the Alerting policies documentation.
    3. Click Add.
  4. To advance to the notifications section, click Next.
  5. Optional: To add notifications to your alerting policy, click Notification channels. In the dialog, select one or more notification channels from the menu, and then click OK.

    If a notification channel that you want to add isn't listed, then click Manage notification channels. You are taken to the Notification channels page in a new browser tab. From this page, you can update the configured notification channels. After you have completed your updates, return to the original tab, click Refresh, and then select the notification channels to add to the alerting policy.

  6. To advance to the documentation section, click Next.
  7. Click Name and enter a name for the alerting policy.
  8. Optional: Click Documentation, and then add any information that you want included in a notification message.
  9. Click Save.
For more information, see Alerting policies.

Creating custom Monitoring dashboards

You can create custom Monitoring dashboards over Cloud Interconnect metrics by adding custom charts.

Console

To create custom Monitoring dashboards, follow these steps:

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

    Go to Monitoring

  2. Select Dashboards, and then click Create dashboard.

  3. Name the dashboard, and then click Add chart.

  4. Specify a name for the chart.

  5. Select the metrics and filters to use. For a list of Cloud Interconnect resource types and metrics that you can monitor, see Monitored resource types or Metrics list.

  6. Click Save.

What's next