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 fetches 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.

Metricsedit

Here is a list of metrics collected by loadbalancing metricset:

httpsedit

  • 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.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.

l3edit

  • 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.

tcp_ssl_proxyedit

  • 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.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": {
                "client_network": "ocp-be-c5kjr-network",
                "client_subnetwork": "ocp-be-c5kjr-worker-subnet",
                "client_zone": "us-central1-a"
            },
            "resource": {
                "backend_name": "ocp-be-c5kjr-master-us-central1-a",
                "backend_scope": "us-central1-a",
                "backend_scope_type": "ZONE",
                "backend_subnetwork_name": "ocp-be-c5kjr-master-subnet",
                "backend_target_name": "ocp-be-c5kjr-api-internal",
                "backend_target_type": "BACKEND_SERVICE",
                "backend_type": "INSTANCE_GROUP",
                "forwarding_rule_name": "ocp-be-c5kjr-api-internal",
                "load_balancer_name": "ocp-be-c5kjr-api-internal",
                "network_name": "ocp-be-c5kjr-network",
                "region": "us-central1"
            }
        },
        "loadbalancing": {
            "l3": {
                "internal": {
                    "egress_packets_count": {
                        "value": 0
                    }
                }
            }
        }
    },
    "metricset": {
        "name": "loadbalancing",
        "period": 10000
    },
    "service": {
        "type": "googlecloud"
    }
}