For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/integrations/google-cloud-router.md. A documentation index is available at /llms.txt.

Google Cloud Router

To find out if this integration is available in your organization, see your Datadog Integrations page or ask your organization administrator.

To initiate an exception request to enable this integration for your organization, email support@ddog-gov.com.

Overview

Google Cloud Router enables you to dynamically exchange routes between your Virtual Private Cloud (VPC) and on-premises networks by using Border Gateway Protocol (BGP).

Use the Datadog Google Cloud Platform integration to collect metrics from Google Cloud Router.

Setup

Installation

If you haven’t already, set up the Google Cloud Platform integration first. There are no other installation steps.

Log collection

Google Cloud Router logs are collected with Google Cloud Logging and sent to a Dataflow job through a Cloud Pub/Sub topic. If you haven’t already, set up logging with the Datadog Dataflow template.

Once this is done, export your Google Cloud Router logs from Google Cloud Logging to the Pub/Sub topic:

  1. Go to the Google Cloud Logging page and filter the Google Cloud Router logs.
  2. Click Create Export and name the sink.
  3. Choose “Cloud Pub/Sub” as the destination and select the Pub/Sub topic that was created for that purpose. Note: The Pub/Sub topic can be located in a different project.
  4. Click Create and wait for the confirmation message to show up.

Data Collected

Metrics

gcp.router.best_received_routes_count
(gauge)
Current number of best routes received by the router.
gcp.router.bfd.control.receive_intervals
(gauge)
BFD control packets receive intervals.
Shown as millisecond
gcp.router.bfd.control.received_packets_count
(count)
Number of control packets received from this BFD session.
gcp.router.bfd.control.rejected_packets_count
(count)
Number of control packets rejected from this BFD session.
gcp.router.bfd.control.transmit_intervals
(gauge)
BFD control packets transmit intervals.
Shown as millisecond
gcp.router.bfd.control.transmitted_packets_count
(count)
Number of control packets transmitted from this BFD session.
gcp.router.bfd.session_flap_events_count
(count)
Number of each BFD flap event from this BFD session. A session flap event refers to the transition from Up state.
gcp.router.bfd.session_up
(gauge)
Whether the Bidirectional Forwarding Detection (BFD) session is established: 1 if the session is up, 0 if it is down.
gcp.router.bgp.received_routes_count
(gauge)
Current number of routes received on a BGP session.
gcp.router.bgp.sent_routes_count
(gauge)
Current number of routes sent on a BGP session.
gcp.router.bgp.session_up
(gauge)
Whether the BGP session is established: 1 if the session is up, 0 if it is down.
gcp.router.bgp_sessions_down_count
(gauge)
Number of BGP sessions on the router that are down.
gcp.router.bgp_sessions_up_count
(gauge)
Number of BGP sessions on the router that are up.
gcp.router.dynamic_routes.learned_routes.any_dropped_unique_destinations
(gauge)
Whether a network region that exceeded a route quota dropped any unique destinations.
gcp.router.dynamic_routes.learned_routes.dropped_unique_destinations
(gauge)
Number of unique destinations dropped in a network region that exceeded a route quota.
gcp.router.dynamic_routes.learned_routes.unique_destinations_limit
(gauge)
Maximum number of unique destinations that the route quota allows in this network region.
gcp.router.dynamic_routes.learned_routes.used_unique_destinations
(gauge)
Number of unique destinations used by learned routes for this network region.
gcp.router.nat.allocated_ports
(gauge)
Number of ports allocated to all VMs by the NAT gateway.
gcp.router.nat.closed_connections_count
(count)
Number of connections closed over the NAT gateway.
Shown as connection
gcp.router.nat.dropped_received_packets_count
(count)
Number of received packets that the NAT gateway dropped.
Shown as packet
gcp.router.nat.dropped_sent_packets_count
(count)
Number of sent packets that the NAT gateway dropped.
Shown as packet
gcp.router.nat.nat_allocation_failed
(gauge)
Whether the NAT gateway failed to allocate NAT IP addresses to any of its VMs.
gcp.router.nat.new_connections_count
(count)
Number of new connections created over the NAT gateway.
Shown as connection
gcp.router.nat.open_connections
(gauge)
Number of connections currently open on the NAT gateway.
gcp.router.nat.port_usage
(gauge)
Maximum number of connections from a VM to a single internet endpoint (IP:port).
gcp.router.nat.received_bytes_count
(count)
Number of bytes that VMs received from destinations through the NAT gateway.
Shown as byte
gcp.router.nat.received_packets_count
(count)
Number of packets that VMs received from destinations through the NAT gateway.
Shown as packet
gcp.router.nat.sent_bytes_count
(count)
Number of bytes that VMs sent to destinations through the NAT gateway.
Shown as byte
gcp.router.nat.sent_packets_count
(count)
Number of packets that VMs sent to destinations through the NAT gateway.
Shown as packet
gcp.router.router_up
(gauge)
Number of router software tasks that are running successfully. A value greater than or equal to 1 indicates that the router is up, although not all software tasks may be running. Compare the returned number to the expected number of software tasks for the router. A value of 0 indicates that the router is down.
Shown as task
gcp.router.sent_routes_count
(gauge)
Current number of routes sent by the router.

Events

The Google Cloud Router integration does not include any events.

Service Checks

The Google Cloud Router integration does not include any service checks.

Troubleshooting

Need help? Contact Datadog support.