New Relic integrations with the Google Cloud Platform (GCP) include one that reports Google Cloud Load Balancing data to New Relic. This document explains how to activate the GCP Cloud Load Balancing integration and describes the data it reports.
Features
Cloud Load Balancing is Google Cloud's software-based managed service for distributing traffic across regions, with support for HTTP(S), TCP/SSL proxy, and L4 (network) load balancing. New Relic Load Balancing integration collects request rate, latency, byte-throughput, and connection metrics for each load balancer variant.
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 Load Balancing is 5 minutes. The resolution is 1 data point every minute.
Important
Cloud Load Balancing supports 1-minute polling intervals for WIF integrations in limited preview. To request access, contact New Relic support.
Workload Identity Federation
Find and use data
After you enable the integration, your Cloud Load Balancing 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 Load Balancing 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 Load Balancing metrics documentation for the complete list.
Entities
Metric data
Key metrics — HTTP(S) Load Balancer
Metric name | Unit | Description |
|---|---|---|
| Count | Number of HTTP(S) requests handled by the load balancer, faceted by |
| Count | Number of requests forwarded to the load balancer's backends. |
| Milliseconds | Backend response latency distribution for the load balancer. |
| Milliseconds | End-to-end request latency distribution for the load balancer. |
| Bytes | Request bytes received by the load balancer. |
| Bytes | Response bytes sent by the load balancer. |
Key metrics — Internal HTTP(S) Load Balancer
Metric name | Unit | Description |
|---|---|---|
| Count | Number of requests forwarded to the internal HTTP(S) load balancer's backends. |
| Milliseconds | Backend response latency distribution for the internal HTTP(S) load balancer. |
| Milliseconds | End-to-end request latency distribution for the internal HTTP(S) load balancer. |
| Bytes | Request bytes received by the internal HTTP(S) load balancer. |
| Bytes | Response bytes sent by the internal HTTP(S) load balancer. |
Key metrics — External Regional HTTP(S) Load Balancer
Metric name | Unit | Description |
|---|---|---|
| Count | Number of requests served by the external regional HTTP(S) load balancer, faceted by |
| Milliseconds | Backend response latency distribution for the external regional HTTP(S) load balancer. |
| Milliseconds | End-to-end request latency distribution for the external regional HTTP(S) load balancer. |
| Bytes | Request bytes received by the external regional HTTP(S) load balancer. |
| Bytes | Response bytes sent by the external regional HTTP(S) load balancer. |
Key metrics — External Network Load Balancer
Metric name | Unit | Description |
|---|---|---|
| Bytes | Ingress bytes received by the external network load balancer. |
| Bytes | Egress bytes sent by the external network load balancer. |
| Count | Ingress packets received by the external network load balancer. |
| Count | Egress packets sent by the external network load balancer. |
| Milliseconds | Round-trip latency distribution measured by the external network load balancer. |
Key metrics — Internal Network Load Balancer
Metric name | Unit | Description |
|---|---|---|
| Bytes | Ingress bytes received by the internal L3 load balancer. |
| Bytes | Egress bytes sent by the internal L3 load balancer. |
| Count | Ingress packets received by the internal L3 load balancer. |
| Count | Egress packets sent by the internal L3 load balancer. |
| Milliseconds | Round-trip latency distribution measured by the internal L3 load balancer. |
Key metrics — L4 Proxy Load Balancer
Metric name | Unit | Description |
|---|---|---|
| Count | New TCP connections opened through the L4 proxy load balancer. |
| Count | TCP connections closed by the L4 proxy load balancer. |
| Bytes | Ingress bytes received by the L4 proxy load balancer. |
| Bytes | Egress bytes sent by the L4 proxy load balancer. |
Key metrics — TCP/SSL Proxy Load Balancer
Metric name | Unit | Description |
|---|---|---|
| Count | New TCP/SSL connections opened through the proxy load balancer. |
| Count | TCP/SSL connections closed by the proxy load balancer. |
| Bytes | Ingress bytes received by the TCP/SSL proxy load balancer. |
| Bytes | Egress bytes sent by the TCP/SSL proxy load balancer. |
| Milliseconds | Round-trip time measured between the client and the TCP/SSL proxy front-end. |
For the complete list of Cloud Load Balancing metrics, see Google's Cloud Load Balancing metrics documentation.
Service account or user account
Find and use data
After activating the integration and waiting a few minutes (based on the polling frequency), data will appear in the New Relic UI. To find and use your data, including links to your and alert settings, go to one.newrelic.com > All capabilities > Infrastructure > GCP > (select an integration).
To view metric data for your GCP Load Balancing integration in New Relic, create NRQL queries for GcpHttpLoadBalancerSample, GcpHttpExternalRegionalLoadBalancerSample, GcpInternalHttpLoadBalancerSample, GcpTcpSslProxyLoadBalancerSample and GcpInternalLoadBalancerSample events and their related attributes.
GcpHttpLoadBalancerSample
Query GcpHttpLoadBalancerSample events in New Relic to view data for the following attributes:
Attribute | Description |
|---|---|
| Mean latency (in milliseconds) calculated from when the request was sent by the External HTTP/S load balancer proxy to the backend until the proxy received from the backend the last byte of response. |
| The number of bytes sent as requests from External HTTP/S load balancer to backends. |
| The number of requests served by backends of External HTTP/S load balancer. |
| The number of bytes sent as responses from backends (or cache) to External HTTP/S load balancer. |
| Mean of the Round-Trip Time (RTT) measured for each connection between client and proxy. |
| The number of bytes sent as requests from clients to External HTTP/S load balancer. |
| The number of requests served by External HTTP/S load balancer. |
| The number of bytes sent as responses from External HTTP/S load balancer to clients. |
| Mean of the latency (in milliseconds) calculated from when the request was received by the External HTTP/S load balancer proxy until the proxy got ACK from client on last response byte. |
GcpHttpExternalRegionalLoadBalancerSample
Query GcpHttpExternalRegionalLoadBalancerSample events in New Relic to view data for the following attributes:
Attribute | Description |
|---|---|
| Mean latency (in milliseconds) calculated from when the request was sent by the Regional External HTTP/S load balancer proxy to the backend until the proxy received from the backend the last byte of response. |
| The number of bytes sent as requests from Regional External HTTP/S load balancer to backends. |
| The number of requests served by backends of Regional External HTTP/S load balancer. |
| The number of bytes sent as responses from backends (or cache) to Regional External HTTP/S load balancer. |
| The number of bytes sent as requests from clients to Regional External HTTP/S load balancer. |
| The number of requests served by Regional External HTTP/S load balancer. |
| The number of bytes sent as responses from Regional External HTTP/S load balancer to clients. |
| Mean of the latency (in milliseconds) calculated from when the request was received by the Regional External HTTP/S load balancer proxy until the proxy got ACK from client on last response byte. |
GcpInternalHttpLoadBalancerSample
Query GcpInternalHttpLoadBalancerSample events in New Relic to view data for the following attributes:
Attribute | Description |
|---|---|
| Mean latency (in milliseconds) calculated from when the request was sent by the Internal Application Load Balancer proxy to the backend until the proxy received from the backend the last byte of response. |
| The number of bytes sent as requests from Internal HTTP/S load balancer to backends. |
| The number of requests served by backends of Internal HTTP/S load balancer. |
| The number of bytes sent as responses from backends (or cache) to Internal HTTP/S load balancer. |
| The number of bytes sent as requests from clients to Internal HTTP/S load balancer. |
| The number of requests served by Internal HTTP/S load balancer. |
| The number of bytes sent as responses from Internal HTTP/S load balancer to clients. |
| Mean of the latency (in milliseconds) calculated from when the request was received by the Internal Application Load Balancer proxy until the proxy got ACK from client on last response byte. |
GcpTcpSslProxyLoadBalancerSample
Query GcpTcpSslProxyLoadBalancerSample events in New Relic to view data for the following attributes:
Attribute | Description |
|---|---|
| Number of connections that were terminated over TCP/SSL proxy. |
| Number of bytes sent from VM to client using proxy. |
| Mean of the smoothed RTT (in milliseconds) measured by the proxy's TCP stack, each minute application layer bytes pass from proxy to client. |
| Number of bytes sent from client to VM using proxy. |
| Number of connections that were created over TCP/SSL proxy. |
| Current number of outstanding connections through the TCP/SSL proxy. |
GcpInternalLoadBalancerSample
Query GcpInternalLoadBalancerSample events in New Relic to view data for the following attributes:
Attribute | Description |
|---|---|
| The number of bytes sent from Internal Load Balancing (ILB) backend to client (for TCP flows it only counts bytes on the application stream). |
| The number of packets sent from ILB backend to client. |
| The number of bytes sent from client to ILB backend (for TCP flows it only counts bytes on the application stream). |
| The number of packets sent from client to ILB backend. |
| Mean of the RTT (in milliseconds) measured over TCP connections for ILB flows. |