Google VPN

Overview

Google Cloud VPN securely connects your existing network to your Google Cloud Platform network.

Get metrics from Google VPN to:

  • Visualize the performance of your VPNs.
  • Correlate the performance of your VPNs with your applications.

Setup

Installation

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

Log collection

Google Cloud VPN 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 VPN logs from Google Cloud Logging to the Pub/Sub topic:

  1. Go to the Google Cloud Logging page and filter the Google Cloud VPN 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.vpn.gateway.connections
(gauge)
Indicates the number of HA connections per VPN gateway.
gcp.vpn.network.dropped_received_packets_count
(count)
Ingress packets dropped for tunnel.
Shown as packet
gcp.vpn.network.dropped_sent_packets_count
(count)
Egress packets dropped for tunnel.
Shown as packet
gcp.vpn.network.received_bytes_count
(count)
Ingress bytes for tunnel.
Shown as byte
gcp.vpn.network.received_packets_count
(count)
Ingress (received from peer VPN) packets for tunnel.
Shown as packets
gcp.vpn.network.sent_bytes_count
(count)
Egress bytes for tunnel.
Shown as byte
gcp.vpn.network.sent_packets_count
(count)
Egress (directed to peer VPN) packets for tunnel.
Shown as packets
gcp.vpn.tunnel_established
(gauge)
Indicates successful tunnel establishment if greater than 0.
gcp.vpn.vpn_tunnel.gateway_ip_version
(gauge)
The IP version of the HA VPN gateway.

Events

The Google Cloud VPN integration does not include any events.

Service Checks

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

Troubleshooting

Need help? Contact Datadog support.