Monitor 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:

View 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 Google Cloud console shows the following activity for the selected timeframe (by default, the Google 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 Google Cloud console shows the bytes received and sent compared to its total capacity for the selected timeframe (by default, the Google Cloud console shows the past hour's activity).

View metrics in Cloud Monitoring

Console

To use Metrics Explorer to view the metrics for a monitored resource, follow these steps:

  1. In the Google Cloud console, go to the Metrics Explorer page within Monitoring.
  2. Go to Metrics Explorer

  3. In the toolbar, select the Explorer tab.
  4. Select the Configuration tab.
  5. Expand the Select a metric menu, enter Interconnect in the filter bar, and then use the submenus to select a specific resource type and metric:
    1. In the Active resources menu, select interconnect.
    2. To select a metric, use the Active metric categories and Active metrics menus. For a list of metrics, see interconnect metrics.
    3. Click Apply.
  6. Optional: To configure how the data is viewed, add filters and use the Group By, Aggregator, and chart-type menus. For example, you can group by resource or metric labels. For more information, see Select metrics when using Metrics Explorer.
  7. Optional: Change the graph settings:
    • For quota and other metrics that report one sample per day, set the time frame to at least one week and set the plot type to Stacked bar chart.
    • For distribution valued metrics, set the plot type to Heatmap chart.

Define alerting policies

Console

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

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

    Go to Monitoring

  2. In the Monitoring navigation pane, select Alerting.
  3. If you haven't created your notification channels and if you want to be notified, then click Edit Notification Channels and add your notification channels. Return to the Alerting page after you add your channels.
  4. From the Alerting page, select Create policy.
  5. To select the metric, expand the Select a metric menu and then do the following:
    1. To limit the menu to relevant entries, enter Interconnect into the filter bar. If there are no results after you filter the menu, then disable the Show only active resources & metrics toggle.
    2. For the Resource type, select Interconnect.
    3. For the Metric category, select Network.
    4. For the Metric, select a metric from the list of interconnect metrics.
    5. Select Apply.
  6. Click Next.
  7. The settings in the Configure alert trigger page determine when the alert is triggered. Select a condition type and, if necessary, specify a threshold. For more information, see Condition trigger.
  8. Click Next.
  9. 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.
  10. Optional: Update the Incident autoclose duration. This field determines when Monitoring closes incidents in the absence of metric data.
  11. Optional: Click Documentation, and then add any information that you want included in a notification message.
  12. Click Alert name and enter a name for the alerting policy.
  13. Click Create Policy.
For more information, see Alerting policies.

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

View metrics in Network Topology

You can use Network Topology to audit your networking configuration and troubleshoot networking issues.

Network Topology overlays throughput values on each connection so that you can quickly see the amount of traffic between entities. For example, you can see the traffic traversing the VLAN attachment that connects Google Cloud to an on-premises network.

For information about the supported metrics for each connection, see the Metrics reference.

Metric values are based on the final five minutes of the currently selected hour. You can also view historical date for six weeks by clicking on any of the edges.

For more information, see Data collection and freshness.

Console

  1. In the Google Cloud console, go to the Network Topology page.

    Go to Network Topology

  2. In the entities selection pane, select a metric from the Edge metric drop-down menu.

  3. Navigate to a specific entity hierarchy to view traffic that is related to that entity.

    For example, if you want to view traffic bandwidth traversing the VLAN attachment between Google Cloud and the on-premises network, expand the entities until you see that connection.

  4. Click the entity to highlight all of its traffic paths.

    Network Topology displays metric values for each connection that supports the currently selected metric.

What's next