New Relic integrations with the Google Cloud Platform (GCP) include one that reports Google Cloud Router data to New Relic. This document explains how to activate the GCP Cloud Router integration and describes the data it reports.
Features
Cloud Router is Google Cloud's fully managed BGP-speaking routing service for Cloud VPN, Cloud Interconnect, and Cloud NAT. New Relic Cloud Router integration collects BGP session, route advertisement, and NAT gateway metrics (open connections, traffic, dropped packets) for each Cloud Router and NAT Gateway.
Activate integration
To enable the integration, follow standard procedures to connect your GCP service to New Relic:
Polling frequency
New Relic integrations query your GCP services according to a polling interval that varies by integration. The polling frequency for Google Cloud Router is 5 minutes. The resolution is 1 data point every minute.
Workload Identity Federation
Find and use data
After you enable the integration, your Cloud Router resources appear as entities in the New Relic entity explorer. To see dashboards and manage services, go to one.newrelic.com > All capabilities > Infrastructure > GCP.
All Cloud Router metrics available in GCP Cloud Monitoring are collected as dimensional metrics in the Metric event type. Additional metrics beyond this table are collected automatically. See Google's Cloud Router metrics documentation for the complete list.
Entities
Metric data
Key metrics — Router
Metric name | Unit | Description |
|---|---|---|
| Count | Number of BGP sessions currently up on the Cloud Router. |
| Count | Number of BGP sessions currently down on the Cloud Router. |
| Count | Number of routes advertised by the Cloud Router, faceted by BGP peer. |
| Count | Number of routes received by the Cloud Router, faceted by BGP peer. |
| Count | Number of best routes received by the Cloud Router across all peers. |
| Count | Number of ports allocated to all VMs by the NAT gateway. |
| Count | Maximum number of connections from a VM to a single internet endpoint (IP:port) on the NAT gateway. |
Key metrics — NAT Gateway
Metric name | Unit | Description |
|---|---|---|
| Count | Number of open connections currently tracked by the NAT gateway. |
| Count | Number of new connections opened through the NAT gateway. |
| Count | Number of connections closed by the NAT gateway. |
| Bytes | Outbound bytes translated by the NAT gateway. |
| Bytes | Inbound bytes translated by the NAT gateway. |
| Count | Outbound packets translated by the NAT gateway. |
| Count | Inbound packets translated by the NAT gateway. |
| Count | Outbound packets dropped by the NAT gateway, faceted by reason. |
| Count | Inbound packets dropped by the NAT gateway, faceted by reason. |
| Count | Maximum number of connections from a VM to a single internet endpoint (IP:port) on the NAT gateway. |
| Boolean | Indicates if there is a failure in allocating NAT IPs to any VM in the NAT gateway. |
For the complete list of Cloud Router metrics, see Google's Cloud Router metrics documentation.
Service account or user account
Find and use data
To find your integration data, go to one.newrelic.com > All capabilities > Infrastructure > GCP and select an integration.
Data is attached to the following event type:
Entity | Event Type | Provider |
|---|---|---|
CloudRouter |
|
|
NatGateway |
|
|
For more on how to use your data, see Understand and use integration data.
Metric data
This integration collects GCP Router data for CloudRouter and NatGateway.
Router CloudRouter data
Metric | Unit | Description |
|---|---|---|
| Count | Current number of best routes received by router. |
| Milliseconds | BFD control packets receive intervals. |
| Count | Number of control packets received from this BFD session. |
| Count | Number of control packets rejected, from this BFD session. |
| Milliseconds | BFD control packets transmit intervals. |
| Count | Number of control packets transmitted from this BFD session. |
| Count | Indicator for successful BFD session establishment. |
| Count | Current number of routes received on a bgp session. |
| Count | Current number of routes sent on a bgp session. |
| Count | Indicator for successful bgp session establishment. |
| Count | Number of BGP sessions on the router that are down. |
| Count | Number of BGP sessions on the router that are up. |
| Count | Router status, up or down. |
| Count | Current number of routes sent by router. |
Router NatGateway data
Metric | Unit | Description |
|---|---|---|
| Count | Number of ports allocated to all VMs by the NAT gateway. |
| Count | Count of connections closed over the NAT gateway. |
| Count | Count of received packets dropped by the NAT gateway. |
| Count | Count of new connections created over the NAT gateway. |
| Count | Maximum number of connections from VM to a single internet endpoint (IP:port). |
| Bytes | Count of bytes received (Internet -> VMs) via the NAT gateway. |
| Count | Count of packets received (Internet -> VMs) via the NAT gateway. |
| Bytes | Count of bytes sent (VMs -> Internet) over the NAT gateway. |
| Count | Count of packets sent (VMs -> Internet) over the NAT gateway. |