Skip to content

Commit

Permalink
[GCP] Fix loadbalancing_metrics prefix (#7287)
Browse files Browse the repository at this point in the history
* fix loadbalancing_metrics fields prefix

* bump package version

* fix PR number in changelog

* fix fields in loadbalancing dashboards

* fix sample_event

* fix docs
  • Loading branch information
gpop63 authored and gizas committed Sep 5, 2023
1 parent ba04014 commit 5ba1bcd
Show file tree
Hide file tree
Showing 9 changed files with 95 additions and 90 deletions.
5 changes: 5 additions & 0 deletions packages/gcp/changelog.yml
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "2.26.0"
changes:
- description: Fix GCP loadbalancing_metrics fields prefix.
type: bugfix
link: https://github.com/elastic/integrations/pull/7287
- version: "2.25.1"
changes:
- description: Fix check on gcp.audit.authorization_info[].granted.
Expand Down
@@ -1,4 +1,4 @@
- name: gcp.loadbalancing
- name: gcp.loadbalancing_metrics
description: Google Cloud Load Balancing metrics
type: group
fields:
Expand Down
Expand Up @@ -34,7 +34,7 @@
"region": "us-central1"
}
},
"loadbalancing": {
"loadbalancing_metrics": {
"l3": {
"internal": {
"egress_packets": {
Expand Down
60 changes: 30 additions & 30 deletions packages/gcp/docs/README.md
Expand Up @@ -2164,35 +2164,35 @@ The `loadbalancing_metrics` dataset is designed to fetch HTTPS, HTTP, and Layer
| gcp.labels.resource.\* | | object |
| gcp.labels.system.\* | | object |
| gcp.labels.user.\* | | object |
| gcp.loadbalancing.https.backend_latencies.value | 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. | object |
| gcp.loadbalancing.https.backend_request.bytes | The number of bytes sent as requests from HTTP/S load balancer to backends. | long |
| gcp.loadbalancing.https.backend_request.count | The number of requests served by backends of HTTP/S load balancer. | long |
| gcp.loadbalancing.https.backend_response.bytes | The number of bytes sent as responses from backends (or cache) to external HTTP(S) load balancer. | long |
| gcp.loadbalancing.https.external.regional.backend_latencies.value | 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. | object |
| gcp.loadbalancing.https.external.regional.total_latencies.value | 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. | object |
| gcp.loadbalancing.https.frontend_tcp_rtt.value | A distribution of the RTT measured for each connection between client and proxy. | object |
| gcp.loadbalancing.https.internal.backend_latencies.value | A distribution of the latency calculated from when the request was sent by the internal HTTP/S load balancer proxy to the backend until the proxy received from the backend the last byte of response. | object |
| gcp.loadbalancing.https.internal.total_latencies.value | A distribution of the latency calculated from when the request was received by the internal HTTP/S load balancer proxy until the proxy got ACK from client on last response byte. | object |
| gcp.loadbalancing.https.request.bytes | The number of bytes sent as requests from clients to HTTP/S load balancer. | long |
| gcp.loadbalancing.https.request.count | The number of requests served by HTTP/S load balancer. | long |
| gcp.loadbalancing.https.response.bytes | The number of bytes sent as responses from HTTP/S load balancer to clients. | long |
| gcp.loadbalancing.https.total_latencies.value | A distribution of the latency 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. | object |
| gcp.loadbalancing.l3.external.egress.bytes | The number of bytes sent from external TCP/UDP network load balancer backend to client of the flow. For TCP flows it's counting bytes on application stream only. | long |
| gcp.loadbalancing.l3.external.egress_packets.count | The number of packets sent from external TCP/UDP network load balancer backend to client of the flow. | long |
| gcp.loadbalancing.l3.external.ingress.bytes | The number of bytes sent from client to external TCP/UDP network load balancer backend. For TCP flows it's counting bytes on application stream only. | long |
| gcp.loadbalancing.l3.external.ingress_packets.count | The number of packets sent from client to external TCP/UDP network load balancer backend. | long |
| gcp.loadbalancing.l3.external.rtt_latencies.value | A distribution of the round trip time latency, measured over TCP connections for the external network load balancer. | object |
| gcp.loadbalancing.l3.internal.egress.bytes | The number of bytes sent from ILB backend to client (for TCP flows it's counting bytes on application stream only). | long |
| gcp.loadbalancing.l3.internal.egress_packets.count | The number of packets sent from ILB backend to client of the flow. | long |
| gcp.loadbalancing.l3.internal.ingress.bytes | The number of bytes sent from client to ILB backend (for TCP flows it's counting bytes on application stream only). | long |
| gcp.loadbalancing.l3.internal.ingress_packets.count | The number of packets sent from client to ILB backend. | long |
| gcp.loadbalancing.l3.internal.rtt_latencies.value | A distribution of RTT measured over TCP connections for internal TCP/UDP load balancer flows. | object |
| gcp.loadbalancing.tcp_ssl_proxy.closed_connections.value | Number of connections that were terminated over TCP/SSL proxy. | long |
| gcp.loadbalancing.tcp_ssl_proxy.egress.bytes | Number of bytes sent from VM to client using proxy. | long |
| gcp.loadbalancing.tcp_ssl_proxy.frontend_tcp_rtt.value | 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. | object |
| gcp.loadbalancing.tcp_ssl_proxy.ingress.bytes | Number of bytes sent from client to VM using proxy. | long |
| gcp.loadbalancing.tcp_ssl_proxy.new_connections.value | Number of connections that were created over TCP/SSL proxy. | long |
| gcp.loadbalancing.tcp_ssl_proxy.open_connections.value | Current number of outstanding connections through the TCP/SSL proxy. | long |
| gcp.loadbalancing_metrics.https.backend_latencies.value | 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. | object |
| gcp.loadbalancing_metrics.https.backend_request.bytes | The number of bytes sent as requests from HTTP/S load balancer to backends. | long |
| gcp.loadbalancing_metrics.https.backend_request.count | The number of requests served by backends of HTTP/S load balancer. | long |
| gcp.loadbalancing_metrics.https.backend_response.bytes | The number of bytes sent as responses from backends (or cache) to external HTTP(S) load balancer. | long |
| gcp.loadbalancing_metrics.https.external.regional.backend_latencies.value | 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. | object |
| gcp.loadbalancing_metrics.https.external.regional.total_latencies.value | 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. | object |
| gcp.loadbalancing_metrics.https.frontend_tcp_rtt.value | A distribution of the RTT measured for each connection between client and proxy. | object |
| gcp.loadbalancing_metrics.https.internal.backend_latencies.value | A distribution of the latency calculated from when the request was sent by the internal HTTP/S load balancer proxy to the backend until the proxy received from the backend the last byte of response. | object |
| gcp.loadbalancing_metrics.https.internal.total_latencies.value | A distribution of the latency calculated from when the request was received by the internal HTTP/S load balancer proxy until the proxy got ACK from client on last response byte. | object |
| gcp.loadbalancing_metrics.https.request.bytes | The number of bytes sent as requests from clients to HTTP/S load balancer. | long |
| gcp.loadbalancing_metrics.https.request.count | The number of requests served by HTTP/S load balancer. | long |
| gcp.loadbalancing_metrics.https.response.bytes | The number of bytes sent as responses from HTTP/S load balancer to clients. | long |
| gcp.loadbalancing_metrics.https.total_latencies.value | A distribution of the latency 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. | object |
| gcp.loadbalancing_metrics.l3.external.egress.bytes | The number of bytes sent from external TCP/UDP network load balancer backend to client of the flow. For TCP flows it's counting bytes on application stream only. | long |
| gcp.loadbalancing_metrics.l3.external.egress_packets.count | The number of packets sent from external TCP/UDP network load balancer backend to client of the flow. | long |
| gcp.loadbalancing_metrics.l3.external.ingress.bytes | The number of bytes sent from client to external TCP/UDP network load balancer backend. For TCP flows it's counting bytes on application stream only. | long |
| gcp.loadbalancing_metrics.l3.external.ingress_packets.count | The number of packets sent from client to external TCP/UDP network load balancer backend. | long |
| gcp.loadbalancing_metrics.l3.external.rtt_latencies.value | A distribution of the round trip time latency, measured over TCP connections for the external network load balancer. | object |
| gcp.loadbalancing_metrics.l3.internal.egress.bytes | The number of bytes sent from ILB backend to client (for TCP flows it's counting bytes on application stream only). | long |
| gcp.loadbalancing_metrics.l3.internal.egress_packets.count | The number of packets sent from ILB backend to client of the flow. | long |
| gcp.loadbalancing_metrics.l3.internal.ingress.bytes | The number of bytes sent from client to ILB backend (for TCP flows it's counting bytes on application stream only). | long |
| gcp.loadbalancing_metrics.l3.internal.ingress_packets.count | The number of packets sent from client to ILB backend. | long |
| gcp.loadbalancing_metrics.l3.internal.rtt_latencies.value | A distribution of RTT measured over TCP connections for internal TCP/UDP load balancer flows. | object |
| gcp.loadbalancing_metrics.tcp_ssl_proxy.closed_connections.value | Number of connections that were terminated over TCP/SSL proxy. | long |
| gcp.loadbalancing_metrics.tcp_ssl_proxy.egress.bytes | Number of bytes sent from VM to client using proxy. | long |
| gcp.loadbalancing_metrics.tcp_ssl_proxy.frontend_tcp_rtt.value | 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. | object |
| gcp.loadbalancing_metrics.tcp_ssl_proxy.ingress.bytes | Number of bytes sent from client to VM using proxy. | long |
| gcp.loadbalancing_metrics.tcp_ssl_proxy.new_connections.value | Number of connections that were created over TCP/SSL proxy. | long |
| gcp.loadbalancing_metrics.tcp_ssl_proxy.open_connections.value | Current number of outstanding connections through the TCP/SSL proxy. | long |
| gcp.metrics.\*.\*.\*.\* | Metrics that returned from Google Cloud API query. | object |
| host.architecture | Operating system architecture. | keyword |
| host.containerized | If the host is a container. | boolean |
Expand Down Expand Up @@ -2253,7 +2253,7 @@ An example event for `loadbalancing` looks as following:
"region": "us-central1"
}
},
"loadbalancing": {
"loadbalancing_metrics": {
"l3": {
"internal": {
"egress_packets": {
Expand Down

0 comments on commit 5ba1bcd

Please sign in to comment.