Skip to content

Commit

Permalink
gcp: revert fields naming
Browse files Browse the repository at this point in the history
In elastic#27231 I discovered that all `gcp` metricsets do not respect the
Beats naming conventions.

In order to preserve consistency across metricset this commit reverts
the changes that aligned the newly added metrics to naming conventions.
  • Loading branch information
endorama committed Aug 17, 2021
1 parent 455f3fb commit fb42de3
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions x-pack/metricbeat/module/gcp/gke/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,58 +9,58 @@
- name: cpu
type: group
fields:
- name: core_usage_time.sec
- name: core_usage_time.value
type: double
description: Cumulative CPU usage on all cores used by the container in seconds. Sampled every 60 seconds.
- name: limit_cores.value
type: double
description: CPU cores limit of the container. Sampled every 60 seconds.
- name: limit_utilization.pct
- name: limit_utilization.value
type: double
description: The fraction of the CPU limit that is currently in use on the instance. This value cannot exceed 1 as usage cannot exceed the limit. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
- name: request_cores.value
type: double
description: Number of CPU cores requested by the container. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
- name: request_utilization.pct
- name: request_utilization.value
type: double
description: The fraction of the requested CPU that is currently in use on the instance. This value can be greater than 1 as usage can exceed the request. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
- name: ephemeral_storage
type: group
fields:
- name: limit.bytes
- name: limit_bytes.value
type: long
description: Local ephemeral storage limit in bytes. Sampled every 60 seconds.
- name: request.bytes
- name: request_bytes.value
type: long
description: Local ephemeral storage request in bytes. Sampled every 60 seconds.
- name: used.bytes
- name: used_bytes.value
type: long
description: Local ephemeral storage usage in bytes. Sampled every 60 seconds.
- name: memory
type: group
fields:
- name: limit.bytes
- name: limit_bytes.value
type: long
description: Memory limit of the container in bytes. Sampled every 60 seconds.
- name: limit_utilization.pct
- name: limit_utilization.value
type: double
description: The fraction of the memory limit that is currently in use on the instance. This value cannot exceed 1 as usage cannot exceed the limit. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
- name: page_fault.count
- name: page_fault_count.value
type: long
description: Number of page faults, broken down by type, major and minor.
- name: request.bytes
- name: request_bytes.value
type: long
description: Memory request of the container in bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
- name: request_utilization.pct
- name: request_utilization.value
type: double
description: The fraction of the requested memory that is currently in use on the instance. This value can be greater than 1 as usage can exceed the request. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
- name: used.bytes
- name: used_bytes.value
type: long
description: Memory usage in bytes. Sampled every 60 seconds.
- name: restart.count
- name: restart_count.value
type: long
description: Number of times the container has restarted. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
- name: uptime.sec
- name: uptime.value
type: double
description: Time in seconds that the container has been running. Sampled every 60 seconds.
- name: node
Expand All @@ -72,10 +72,10 @@
- name: allocatable_cores.value
type: double
description: Number of allocatable CPU cores on the node. Sampled every 60 seconds.
- name: allocatable_utilization.pct
- name: allocatable_utilization.value
type: double
description: The fraction of the allocatable CPU that is currently in use on the instance. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
- name: core_usage_time.sec
- name: core_usage_time.value
type: double
description: Cumulative CPU usage on all cores used on the node in seconds. Sampled every 60 seconds.
- name: total_cores.value
Expand All @@ -84,7 +84,7 @@
- name: ephemeral_storage
type: group
fields:
- name: allocatable.bytes
- name: allocatable_bytes.value
type: long
description: Local ephemeral storage bytes allocatable on the node. Sampled every 60 seconds.
- name: inodes_free.value
Expand All @@ -93,34 +93,34 @@
- name: inodes_total.value
type: long
description: Total number of inodes on local ephemeral storage. Sampled every 60 seconds.
- name: total.bytes
- name: total_bytes.value
type: long
description: Total ephemeral storage bytes on the node. Sampled every 60 seconds.
- name: used.bytes
- name: used_bytes.value
type: long
description: Local ephemeral storage bytes used by the node. Sampled every 60 seconds.
- name: memory
type: group
fields:
- name: allocatable.bytes
- name: allocatable_bytes.value
type: long
description: Cumulative memory bytes used by the node. Sampled every 60 seconds.
- name: allocatable_utilization.pct
- name: allocatable_utilization.value
type: double
description: The fraction of the allocatable memory that is currently in use on the instance. This value cannot exceed 1 as usage cannot exceed allocatable memory bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
- name: total.bytes
- name: total_bytes.value
type: long
description: Number of bytes of memory allocatable on the node. Sampled every 60 seconds.
- name: used.bytes
- name: used_bytes.value
type: long
description: Cumulative memory bytes used by the node. Sampled every 60 seconds.
- name: network
type: group
fields:
- name: received_bytes.count
- name: received_bytes_count.value
type: long
description: Cumulative number of bytes received by the node over the network. Sampled every 60 seconds.
- name: sent_bytes.count
- name: sent_bytes_count.value
type: long
description: Cumulative number of bytes transmitted by the node over the network. Sampled every 60 seconds.
- name: pid_limit.value
Expand All @@ -135,13 +135,13 @@
- name: cpu
type: group
fields:
- name: core_usage_time.sec
- name: core_usage_time.value
type: double
description: Cumulative CPU usage on all cores used by the node level system daemon in seconds. Sampled every 60 seconds.
- name: memory
type: group
fields:
- name: used.bytes
- name: used_bytes.value
type: long
description: Memory usage by the system daemon in bytes. Sampled every 60 seconds.
- name: pod
Expand All @@ -150,21 +150,21 @@
- name: network
type: group
fields:
- name: received_bytes.count
- name: received_bytes_count.value
type: long
description: Cumulative number of bytes received by the pod over the network. Sampled every 60 seconds.
- name: sent_bytes.count
- name: sent_bytes_count.value
type: long
description: Cumulative number of bytes transmitted by the pod over the network. Sampled every 60 seconds.
- name: volume
type: group
fields:
- name: total.bytes
- name: total_bytes.value
type: long
description: Total number of disk bytes available to the pod. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
- name: used.bytes
- name: used_bytes.value
type: long
description: Number of disk bytes used by the pod. Sampled every 60 seconds.
- name: utilization.pct
- name: utilization.value
type: double
description: The fraction of the volume that is currently being used by the instance. This value cannot be greater than 1 as usage cannot exceed the total available volume space. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.

0 comments on commit fb42de3

Please sign in to comment.