Google Cloud 로드밸런싱

개요

Google Cloud 로드밸런싱으로 단일 또는 여러 지역에 로드 밸런싱 컴퓨팅 리소스를 분산하여 고가용성 요구 사항을 충족할 수 있습니다. 아울러 단일 애니캐스트(Anycast) IP 뒤에 리소스를 배치하고, 지능형 자동 확장 기능(Autoscaling)으로 리소스를 늘리거나 줄일 수 있습니다.

Datadog Google Cloud Platform 통합을 사용하여 Google Cloud 로드밸런싱에서 메트릭을 수집합니다.

설정

메트릭 수집

설치

아직 설치하지 않았다면 먼저 Google 클라우드 플랫폼 통합을 설정합니다. 그 외 다른 설치가 필요하지 않습니다.

로그 수집

Google Cloud HTTP Loadbalancer 로그는 Google Cloud Logging으로 수집하여 클라우드 Pub/Sub 토픽을 통해 데이터 플로우 작업으로 전송됩니다. 아직 설정하지 않았다면 Datadog 데이터 플로우 템플릿으로 로깅을 설정하세요.

해당 작업이 완료되면 Google Cloud Logging에서 Google Cloud HTTP Loadbalancer 로그를 다음 Pub/Sub 주제로 내보냅니다.

  1. Google Cloud Logging 페이지로 이동해 Google Cloud HTTP Loadbalancer 로그를 필터링하세요.
  2. Create Sink를 클릭하고 그에 따라 싱크 이름을 지정합니다.
  3. “Cloud Pub/Sub"를 대상으로 선택하고 해당 목적으로 생성된 Pub/Sub 주제를 선택합니다. 참고: Pub/Sub 주제는 다른 프로젝트에 있을 수 있습니다.
  4. Create를 클릭하고 확인 메시지가 나타날 때까지 기다립니다.

수집한 데이터

메트릭

gcp.loadbalancing.https.backend_latencies.avg
(gauge)
Average latency of request sent by the proxy to backend until proxy receives last byte of response from backend.
Shown as millisecond
gcp.loadbalancing.https.backend_latencies.p95
(gauge)
95th percentile of latency of request sent by the proxy to backend until proxy receives last byte of response from backend.
Shown as millisecond
gcp.loadbalancing.https.backend_latencies.p99
(gauge)
99th percentile of latency of request sent by the proxy to backend until proxy receives last byte of response from backend.
Shown as millisecond
gcp.loadbalancing.https.backend_latencies.samplecount
(count)
Sample count of latency of request sent by the proxy to backend until proxy receives last byte of response from backend.
Shown as sample
gcp.loadbalancing.https.backend_latencies.sumsqdev
(gauge)
Sum of squared deviation for latency of request sent by the proxy to backend until proxy receives last byte of response from backend.
Shown as millisecond
gcp.loadbalancing.https.backend_request_bytes_count
(count)
The number of bytes sent as requests from external HTTP/S load balancer to backends.
Shown as byte
gcp.loadbalancing.https.backend_request_count
(count)
The number of requests served by backends of HTTP/S load balancer.
Shown as request
gcp.loadbalancing.https.backend_response_bytes_count
(count)
The number of bytes sent as responses from backends (or cache) to HTTP/S load balancer.
Shown as byte
gcp.loadbalancing.https.frontend_tcp_rtt.avg
(gauge)
Average RTT for each connection between client and proxy.
Shown as millisecond
gcp.loadbalancing.https.frontend_tcp_rtt.p95
(gauge)
95th percentile of RTT for each connection between client and proxy.
Shown as millisecond
gcp.loadbalancing.https.frontend_tcp_rtt.p99
(gauge)
99th percentile RTT for each connection between client and proxy.
Shown as millisecond
gcp.loadbalancing.https.frontend_tcp_rtt.samplecount
(count)
Sample count of RTT for each connection between client and proxy.
Shown as sample
gcp.loadbalancing.https.frontend_tcp_rtt.sumsqdev
(gauge)
Sum of squared deviation of RTT for each connection between client and proxy.
Shown as millisecond
gcp.loadbalancing.https.internal.backend_latencies.avg
(gauge)
Average of latency calculated from request sent by proxy to the backend until proxy received last byte of response from backend.
Shown as millisecond
gcp.loadbalancing.https.internal.backend_latencies.p95
(gauge)
95th percentile of latency calculated from request sent by proxy to the backend until proxy received last byte of response from backend.
Shown as millisecond
gcp.loadbalancing.https.internal.backend_latencies.p99
(gauge)
99th percentile of latency calculated from request sent by proxy to the backend until proxy received last byte of response from backend.
Shown as millisecond
gcp.loadbalancing.https.internal.backend_latencies.samplecount
(count)
Sample count of latency calculated from request sent by proxy to the backend until proxy received last byte of response from backend.
Shown as sample
gcp.loadbalancing.https.internal.backend_latencies.sumsqdev
(gauge)
Sum of squared deviation of latency calculated from request sent by proxy to the backend until proxy received last byte of response from backend.
Shown as millisecond
gcp.loadbalancing.https.internal.request_bytes_count
(count)
The number of bytes sent as requests from clients to HTTP/S load balancer.
Shown as byte
gcp.loadbalancing.https.internal.request_count
(count)
The number of requests served by HTTP/S load balancer.
Shown as request
gcp.loadbalancing.https.internal.response_bytes_count
(count)
The number of bytes sent as responses from HTTP/S load balancer to clients.
Shown as byte
gcp.loadbalancing.https.internal.total_latencies.avg
(gauge)
Average of the latency calculated from when request received by proxy until the proxy sees ACK from client on last response byte.
Shown as millisecond
gcp.loadbalancing.https.internal.total_latencies.p95
(gauge)
95th percentile of the latency calculated from when request received by proxy until the proxy sees ACK from client on last response byte.
Shown as millisecond
gcp.loadbalancing.https.internal.total_latencies.p99
(gauge)
99th percentile of the latency calculated from when request received by proxy until the proxy sees ACK from client on last response byte.
Shown as millisecond
gcp.loadbalancing.https.internal.total_latencies.samplecount
(count)
Sample count of the latency calculated from when request received by proxy until the proxy sees ACK from client on last response byte.
Shown as sample
gcp.loadbalancing.https.internal.total_latencies.sumsqdev
(gauge)
Sum of squared deviation of the latency calculated from when request received by proxy until the proxy sees ACK from client on last response byte.
Shown as millisecond
gcp.loadbalancing.https.request_bytes_count
(count)
Bytes sent as requests from clients to L7 load balancer.
Shown as byte
gcp.loadbalancing.https.request_count
(count)
Number of requests served by L7 load balancer.
Shown as request
gcp.loadbalancing.https.response_bytes_count
(count)
Bytes sent as responses from L7 load balancer to clients.
Shown as byte
gcp.loadbalancing.https.total_latencies.avg
(gauge)
Average latency calculated from request received by proxy until proxy sees ACK from client on last response byte.
Shown as millisecond
gcp.loadbalancing.https.total_latencies.p95
(gauge)
95th percentile of latency calculated from request received by proxy until proxy sees ACK from client on last response byte.
Shown as millisecond
gcp.loadbalancing.https.total_latencies.p99
(gauge)
99th percentile of latency calculated from request received by proxy until proxy sees ACK from client on last response byte.
Shown as millisecond
gcp.loadbalancing.https.total_latencies.samplecount
(count)
Sample count of latency calculated from request received by proxy until proxy sees ACK from client on last response byte.
Shown as sample
gcp.loadbalancing.https.total_latencies.sumsqdev
(gauge)
Sum of squared deviation of latency calculated from request received by proxy until proxy sees ACK from client on last response byte.
Shown as millisecond
gcp.loadbalancing.l3.external.egress_bytes_count
(count)
The number of bytes sent from NetLB backend to client of the flow. For TCP flows it's counting bytes on application stream only.
Shown as byte
gcp.loadbalancing.l3.external.egress_packets_count
(count)
The number of packets sent from NetLB backend to client of the flow.
Shown as packet
gcp.loadbalancing.l3.external.ingress_bytes_count
(count)
The number of bytes sent from client to NetLB backend. For TCP flows it's counting bytes on application stream only.
Shown as byte
gcp.loadbalancing.l3.external.ingress_packets_count
(count)
The number of packets sent from client to NetLB backend.
Shown as packet
gcp.loadbalancing.l3.external.rtt_latencies.avg
(gauge)
Average RTT measured over TCP connections for NetLB flows.
Shown as millisecond
gcp.loadbalancing.l3.external.rtt_latencies.p95
(gauge)
95th percentile of RTT measured over TCP connections for NetLB flows.
Shown as millisecond
gcp.loadbalancing.l3.external.rtt_latencies.p99
(gauge)
99th percentile of RTT measured over TCP connections for NetLB flows.
Shown as millisecond
gcp.loadbalancing.l3.external.rtt_latencies.samplecount
(count)
Sample count of RTT measured over TCP connections for NetLB flows.
Shown as sample
gcp.loadbalancing.l3.external.rtt_latencies.sumsqdev
(gauge)
Sum of squared deviation for RTT measured over TCP connections for NetLB flows.
Shown as millisecond
gcp.loadbalancing.l3.internal.egress_bytes_count
(count)
The number of bytes sent from ILB backend to client (for TCP flows it's counting bytes on application stream only).
Shown as byte
gcp.loadbalancing.l3.internal.egress_packets_count
(count)
The number of packets sent from ILB backend to client of the flow.
Shown as packet
gcp.loadbalancing.l3.internal.ingress_bytes_count
(count)
The number of bytes sent from client to ILB backend (for TCP flows it's counting bytes on application stream only).
Shown as byte
gcp.loadbalancing.l3.internal.ingress_packets_count
(count)
The number of packets sent from client to ILB backend.
Shown as packet
gcp.loadbalancing.l3.internal.rtt_latencies.avg
(gauge)
Average RTT measured over TCP connections for ILB flows.
Shown as millisecond
gcp.loadbalancing.l3.internal.rtt_latencies.p95
(gauge)
95th percentile of RTT measured over TCP connections for ILB flows.
Shown as millisecond
gcp.loadbalancing.l3.internal.rtt_latencies.p99
(gauge)
99th percentile of RTT measured over TCP connections for ILB flows.
Shown as millisecond
gcp.loadbalancing.l3.internal.rtt_latencies.samplecount
(count)
Sample count for RTT latencies
Shown as sample
gcp.loadbalancing.l3.internal.rtt_latencies.sumsqdev
(gauge)
Sum of squared deviation for RTT latencies
Shown as millisecond
gcp.loadbalancing.tcp_ssl_proxy.closed_connections
(count)
Number of connections that were terminated over TCP/SSL proxy.
Shown as connection
gcp.loadbalancing.tcp_ssl_proxy.egress_bytes_count
(count)
Number of bytes sent from VM to client using proxy.
Shown as byte
gcp.loadbalancing.tcp_ssl_proxy.frontend_tcp_rtt.avg
(gauge)
Average smoothed RTT measured by the proxy's TCP stack. Each minute application layer bytes pass from proxy to client.
Shown as millisecond
gcp.loadbalancing.tcp_ssl_proxy.frontend_tcp_rtt.p95
(gauge)
95th percentile of smoothed RTT measured by the proxy's TCP stack. Each minute application layer bytes pass from proxy to client.
Shown as millisecond
gcp.loadbalancing.tcp_ssl_proxy.frontend_tcp_rtt.p99
(gauge)
99th percentile of smoothed RTT measured by the proxy's TCP stack. Each minute application layer bytes pass from proxy to client.
Shown as millisecond
gcp.loadbalancing.tcp_ssl_proxy.frontend_tcp_rtt.samplecount
(count)
Sample count of smoothed RTT measured by the proxy's TCP stack. Each minute application layer bytes pass from proxy to client.
Shown as sample
gcp.loadbalancing.tcp_ssl_proxy.frontend_tcp_rtt.sumsqdev
(gauge)
Sum of squared deviation of smoothed RTT measured by the proxy's TCP stack. Each minute application layer bytes pass from proxy to client.
Shown as millisecond
gcp.loadbalancing.tcp_ssl_proxy.ingress_bytes_count
(count)
Number of bytes sent from client to VM using proxy.
Shown as byte
gcp.loadbalancing.tcp_ssl_proxy.new_connections
(count)
Number of connections that were created over TCP/SSL proxy.
Shown as connection
gcp.loadbalancing.tcp_ssl_proxy.open_connections
(count)
Current number of outstanding connections through the TCP/SSL proxy.
Shown as connection

이벤트

Google Cloud 로드밸런싱 통합은 이벤트를 포함하지 않습니다.

서비스 점검

Google Cloud 로드밸런싱 통합은 서비스 점검을 포함하지 않습니다.

트러블슈팅

도움이 필요하신가요? Datadog 지원팀에 문의하세요.

PREVIEWING: rtrieu/product-analytics-ui-changes