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:
- Go to the Google Cloud Logging page and filter the Google Cloud Router logs.
- Click Create Export and name the sink.
- 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.
- 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 router. Shown as route |
gcp.router.bgp.received_routes_count (gauge) | Current number of routes received on a bgp session. Shown as route |
gcp.router.bgp.sent_routes_count (gauge) | Current number of routes sent on a bgp session. Shown as route |
gcp.router.bgp.session_up (gauge) | Indicator for successful bgp session establishment. |
gcp.router.bgp_sessions_down_count (gauge) | Number of BGP sessions on the router that are down. Shown as session |
gcp.router.bgp_sessions_up_count (gauge) | Number of BGP sessions on the router that are up. Shown as session |
gcp.router.nat.allocated_ports (gauge) | The number of ports allocated to all VMs by the NAT gateway |
gcp.router.nat.closed_connections_count (count) | The number of connections to the NAT gateway that are closed Shown as connection |
gcp.router.nat.dropped_received_packets_count (count) | The number of received packets dropped by the NAT gateway Shown as packet |
gcp.router.nat.new_connections_count (count) | The number of new connections to the NAT gateway Shown as connection |
gcp.router.nat.open_connections (gauge) | The number of connections open to the NAT gateway Shown as connection |
gcp.router.nat.port_usage (gauge) | The highest port usage among all VMs connected to the NAT gateway |
gcp.router.nat.received_bytes_count (count) | The number of bytes received by the NAT gateway Shown as byte |
gcp.router.nat.received_packets_count (count) | The number of packets received by the NAT gateway Shown as packet |
gcp.router.nat.sent_bytes_count (count) | The number of bytes sent by the NAT gateway Shown as byte |
gcp.router.nat.sent_packets_count (count) | The number of packets sent by the NAT gateway Shown as packet |
gcp.router.router_up (gauge) | Router status, up or down |
gcp.router.sent_routes_count (gauge) | Current number of routes sent by router. Shown as route |
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.