Skip to content

Commit

Permalink
Change kubernetes.node.cpu.allocatable.cores to float
Browse files Browse the repository at this point in the history
Closes #6123
  • Loading branch information
ruflin committed Jan 22, 2018
1 parent bc1a68e commit edb5a91
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 25 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ https://github.com/elastic/beats/compare/v6.0.0-beta2...master[Check the HEAD di
- Fix error collecting network_names in Vsphere module. {pull}5962[5962]
- Fix process cgroup memory metrics for memsw, kmem, and kmem_tcp. {issue}6033[6033]
- Fix kafka OffsetFetch request missing topic and partition parameters. {pull}5880[5880]
- Change kubernetes.node.cpu.allocatable.cores to float. {pull}6130[6130]

*Packetbeat*

Expand Down
46 changes: 23 additions & 23 deletions libbeat/kibana/testdata/extensive/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2105,7 +2105,7 @@
type: long
description: >
Requests denied because of security concerns.
* For TCP this is because of a matched tcp-request content rule.
* For HTTP this is because of a matched http-request or tarpit rule.
Expand All @@ -2124,7 +2124,7 @@
type: long
description: >
Request errors. Some of the possible causes are:
* early termination from the client, before the request has been sent
* read error from the client
* client timeout
Expand Down Expand Up @@ -2175,7 +2175,7 @@
type: long
description: >
Number of response errors. This value includes the number of data
transfers aborted by the server (haproxy.stat.server.aborted).
transfers aborted by the server (haproxy.stat.server.aborted).
Some other errors are:
* write errors on the client socket (won't be counted for the server stat)
Expand Down Expand Up @@ -2276,7 +2276,7 @@
type: keyword
description: >
Status of the last health check. One of:
UNK -> unknown
INI -> initializing
SOCKERR -> socket error
Expand Down Expand Up @@ -2356,7 +2356,7 @@
type: integer
description: >
Number of backend servers that are active, meaning that they are
healthy and can receive requests from the load balancer.
healthy and can receive requests from the load balancer.
- name: backup
type: integer
Expand Down Expand Up @@ -3272,7 +3272,7 @@
type: group
fields:
- name: allocatable.cores
type: long
type: float
description: >
Node CPU allocatable cores
- name: capacity.cores
Expand Down Expand Up @@ -4635,7 +4635,7 @@
title: "Prometheus"
description: >
beta[]
Stats collected from Prometheus.
short_config: false
fields:
Expand Down Expand Up @@ -4705,7 +4705,7 @@
type: long
description: >
Used file descriptors.
- name: gc.num.count
- name: gc.num.count
type: long
description: >
Number of GC operations.
Expand Down Expand Up @@ -4771,12 +4771,12 @@
- name: mem.limit.bytes
type: long
description: >
Point at which the memory alarm will go off.
Point at which the memory alarm will go off.
format: bytes
- name: mem.used.bytes
type: long
description: >
Memory used in bytes.
Memory used in bytes.
- name: mnesia.disk.tx.count
type: long
description: >
Expand All @@ -4785,14 +4785,14 @@
type: long
description: >
Number of Mnesia transactions which have been performed that did not require writes to disk.
- name: msg.store_read.count
- name: msg.store_read.count
type: long
description: >
Number of messages which have been read from the message store.
Number of messages which have been read from the message store.
- name: msg.store_write.count
type: long
description: >
Number of messages which have been written to the message store.
Number of messages which have been written to the message store.
- name: name
type: keyword
description: >
Expand All @@ -4809,26 +4809,26 @@
type: long
description: >
Number of cores detected and usable by Erlang.
- name: queue.index.journal_write.count
- name: queue.index.journal_write.count
type: long
description: >
Number of records written to the queue index journal.
- name: queue.index.read.count
type: long
description: >
Number of records read from the queue index.
- name: queue.index.write.count
Number of records read from the queue index.
- name: queue.index.write.count
type: long
description: >
Number of records written to the queue index.
- name: run.queue
Number of records written to the queue index.
- name: run.queue
type: long
description: >
Average number of Erlang processes waiting to run.
Average number of Erlang processes waiting to run.
- name: socket.total
type: long
description: >
File descriptors available for use as sockets.
File descriptors available for use as sockets.
- name: socket.used
type: long
description: >
Expand Down Expand Up @@ -5882,7 +5882,7 @@
description: >
Actual used memory in bytes. It represents the difference between the total and the available memory. The
available memory depends on the OS. For more details, please check `system.actual.free`.
- name: free
type: long
format: bytes
Expand Down Expand Up @@ -6643,7 +6643,7 @@
description: >
Filesystem type
- name: capacity.total.bytes
type: long
type: long
description: >
Total bytes of the datastore
format: bytes
Expand Down Expand Up @@ -6746,7 +6746,7 @@
type: object
object_type: keyword
description: >
Custom fields
Custom fields
- key: windows
title: "Windows"
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5876,7 +5876,7 @@ Node unschedulable status
[float]
=== `kubernetes.node.cpu.allocatable.cores`
type: long
type: float
Node CPU allocatable cores
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/kubernetes/state_node/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
type: group
fields:
- name: allocatable.cores
type: long
type: float
description: >
Node CPU allocatable cores
- name: capacity.cores
Expand Down

0 comments on commit edb5a91

Please sign in to comment.