Google Cloud Platform loadbalancing metricsetedit

This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.

Load Balancing metricset to fetch metrics from Load Balancing in Google Cloud Platform.

The loadbalancing metricset contains all metrics exported from the Stackdriver API. The field names have been left untouched for people already familiar with them.

Fieldsedit

  • loadbalancing.https.backend_latencies: A distribution of the latency calculated from when the request was sent by the proxy to the backend until the proxy received from the backend the last byte of response.
  • loadbalancing.https.backend_request_bytes_count: The number of bytes sent as requests from HTTP/S load balancer to backends.
  • loadbalancing.https.backend_request_count: The number of requests served by backends of HTTP/S load balancer.
  • loadbalancing.https.backend_response_bytes_count: The number of bytes sent as responses from backends (or cache) to HTTP/S load balancer.
  • loadbalancing.https.frontend_tcp_rtt: A distribution of the RTT measured for each connection between client and proxy.
  • loadbalancing.https.request_bytes_count: The number of bytes sent as requests from clients to HTTP/S load balancer.
  • loadbalancing.https.request_count: The number of requests served by HTTP/S load balancer.
  • loadbalancing.https.response_bytes_count: The number of bytes sent as responses from HTTP/S load balancer to clients.
  • loadbalancing.https.total_latencies: A distribution of the latency calculated from when the request was received by the proxy until the proxy got ACK from client on last response byte.
  • loadbalancing.l3.internal.egress_bytes_count: The number of bytes sent from ILB backend to client (for TCP flows it’s counting bytes on application stream only).
  • loadbalancing.l3.internal.egress_packets_count: The number of packets sent from ILB backend to client of the flow.
  • loadbalancing.l3.internal.ingress_bytes_count: The number of bytes sent from client to ILB backend (for TCP flows it’s counting bytes on application stream only).
  • loadbalancing.l3.internal.ingress_packets_count: The number of packets sent from client to ILB backend.
  • loadbalancing.l3.internal.rtt_latencies: A distribution of RTT measured over TCP connections for ILB flows.
  • loadbalancing.tcp_ssl_proxy.closed_connections: Number of connections that were terminated over TCP/SSL proxy.
  • loadbalancing.tcp_ssl_proxy.egress_bytes_count: Number of bytes sent from VM to client using proxy.
  • loadbalancing.tcp_ssl_proxy.frontend_tcp_rtt: A distribution of the smoothed RTT (in ms) measured by the proxy’s TCP stack, each minute application layer bytes pass from proxy to client.
  • loadbalancing.tcp_ssl_proxy.ingress_bytes_count: Number of bytes sent from client to VM using proxy.
  • loadbalancing.tcp_ssl_proxy.new_connections: Number of connections that were created over TCP/SSL proxy.
  • loadbalancing.tcp_ssl_proxy.open_connections: Current number of outstanding connections through the TCP/SSL proxy.

Fieldsedit

For a description of each field in the metricset, see the exported fields section.

Here is an example document generated by this metricset:

{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "cloud": {
        "account": {
            "id": "elastic-observability"
        },
        "provider": "googlecloud"
    },
    "event": {
        "dataset": "googlecloud.loadbalancing",
        "duration": 115000,
        "module": "googlecloud"
    },
    "googlecloud": {
        "labels": {
            "metrics": {
                "cache_result": "DISABLED",
                "proxy_continent": "Europe",
                "response_code": "502",
                "response_code_class": "500"
            },
            "resource": {
                "backend_name": "INVALID_BACKEND",
                "backend_scope": "INVALID_BACKEND",
                "backend_scope_type": "INVALID_BACKEND",
                "backend_target_name": "test1-backend-ks",
                "backend_target_type": "BACKEND_SERVICE",
                "backend_type": "INVALID_BACKEND",
                "forwarding_rule_name": "test-lb-ks-forwarding-rule",
                "matched_url_path_rule": "UNMATCHED",
                "region": "global",
                "target_proxy_name": "test-lb-ks-target-proxy",
                "url_map_name": "test-lb-ks"
            }
        },
        "loadbalancing": {
            "https": {
                "backend_latencies": {
                    "count": 4,
                    "mean": 97.927,
                    "bucket_options": {
                        "Options": {
                            "ExponentialBuckets": {
                                "num_finite_buckets": 66,
                                "growth_factor": 1.4,
                                "scale": 1
                            }
                        }
                    },
                    "bucket_counts": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        4
                    ]
                },
                "backend_request_bytes_count": 736,
                "backend_request_count": 4,
                "backend_response_bytes_count": 1952,
                "frontend_tcp_rtt": {
                    "count": 4,
                    "mean": 50,
                    "bucket_options": {
                        "Options": {
                            "ExponentialBuckets": {
                                "num_finite_buckets": 66,
                                "growth_factor": 1.4,
                                "scale": 1
                            }
                        }
                    },
                    "bucket_counts": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        4
                    ]
                },
                "request_bytes_count": 736,
                "request_count": 4,
                "response_bytes_count": 1952,
                "total_latencies": {
                    "count": 4,
                    "mean": 98.423,
                    "bucket_options": {
                        "Options": {
                            "ExponentialBuckets": {
                                "num_finite_buckets": 66,
                                "growth_factor": 1.4,
                                "scale": 1
                            }
                        }
                    },
                    "bucket_counts": [
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        0,
                        4
                    ]
                }
            }
        }
    },
    "metricset": {
        "name": "loadbalancing",
        "period": 10000
    },
    "service": {
        "type": "googlecloud"
    }
}