diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index c6f179cee78..9fab96287e7 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -124,6 +124,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - Use ingress/egress instead of inbound/outbound for system/socket metricset. {pull}22992[22992] - Add new dashboard for VSphere host cluster and virtual machine {pull}14135[14135] - kubernetes.container.cpu.limit.cores and kubernetes.container.cpu.requests.cores are now floats. {issue}11975[11975] +- Change types of numeric metrics from Kubelet summary api to double so as to cover big numbers. {pull}23335[23335] *Packetbeat* diff --git a/metricbeat/docs/fields.asciidoc b/metricbeat/docs/fields.asciidoc index bcb4524186f..b47f7d09ca8 100644 --- a/metricbeat/docs/fields.asciidoc +++ b/metricbeat/docs/fields.asciidoc @@ -27883,7 +27883,7 @@ CPU usage metrics Container CPU Core usage nanoseconds -type: long +type: double -- @@ -27893,7 +27893,7 @@ type: long CPU used nanocores -type: long +type: double -- @@ -27935,7 +27935,7 @@ Logs info Logs available capacity in bytes -type: long +type: double format: bytes @@ -27948,7 +27948,7 @@ format: bytes Logs total capacity in bytes -type: long +type: double format: bytes @@ -27961,7 +27961,7 @@ format: bytes Logs used capacity in bytes -type: long +type: double format: bytes @@ -27974,7 +27974,7 @@ format: bytes Total available inodes -type: long +type: double -- @@ -27984,7 +27984,7 @@ type: long Total free inodes -type: long +type: double -- @@ -27994,7 +27994,7 @@ type: long Total used inodes -type: long +type: double -- @@ -28006,7 +28006,7 @@ type: long Total available memory -type: long +type: double format: bytes @@ -28019,7 +28019,7 @@ format: bytes Total memory usage -type: long +type: double format: bytes @@ -28056,7 +28056,7 @@ format: percent RSS memory usage -type: long +type: double format: bytes @@ -28069,7 +28069,7 @@ format: bytes Working set memory usage -type: long +type: double format: bytes @@ -28081,7 +28081,7 @@ format: bytes Number of page faults -type: long +type: double -- @@ -28091,7 +28091,7 @@ type: long Number of major page faults -type: long +type: double -- @@ -28103,7 +28103,7 @@ type: long Root filesystem total capacity in bytes -type: long +type: double format: bytes @@ -28116,7 +28116,7 @@ format: bytes Root filesystem total available in bytes -type: long +type: double format: bytes @@ -28129,7 +28129,7 @@ format: bytes Root filesystem total used in bytes -type: long +type: double format: bytes @@ -28142,7 +28142,7 @@ format: bytes Used inodes -type: long +type: double -- @@ -28723,7 +28723,7 @@ CPU usage metrics Node CPU Core usage nanoseconds -type: long +type: double -- @@ -28733,7 +28733,7 @@ type: long CPU used nanocores -type: long +type: double -- @@ -28745,7 +28745,7 @@ type: long Total available memory -type: long +type: double format: bytes @@ -28758,7 +28758,7 @@ format: bytes Total memory usage -type: long +type: double format: bytes @@ -28771,7 +28771,7 @@ format: bytes RSS memory usage -type: long +type: double format: bytes @@ -28784,7 +28784,7 @@ format: bytes Working set memory usage -type: long +type: double format: bytes @@ -28796,7 +28796,7 @@ format: bytes Number of page faults -type: long +type: double -- @@ -28806,7 +28806,7 @@ type: long Number of major page faults -type: long +type: double -- @@ -28818,7 +28818,7 @@ type: long Received bytes -type: long +type: double format: bytes @@ -28830,7 +28830,7 @@ format: bytes Rx errors -type: long +type: double -- @@ -28841,7 +28841,7 @@ type: long Transmitted bytes -type: long +type: double format: bytes @@ -28853,7 +28853,7 @@ format: bytes Tx errors -type: long +type: double -- @@ -28865,7 +28865,7 @@ type: long Filesystem total capacity in bytes -type: long +type: double format: bytes @@ -28878,7 +28878,7 @@ format: bytes Filesystem total available in bytes -type: long +type: double format: bytes @@ -28891,7 +28891,7 @@ format: bytes Filesystem total used in bytes -type: long +type: double format: bytes @@ -28904,7 +28904,7 @@ format: bytes Number of used inodes -type: long +type: double -- @@ -28914,7 +28914,7 @@ type: long Number of inodes -type: long +type: double -- @@ -28924,7 +28924,7 @@ type: long Number of free inodes -type: long +type: double -- @@ -28937,7 +28937,7 @@ type: long Image filesystem total capacity in bytes -type: long +type: double format: bytes @@ -28950,7 +28950,7 @@ format: bytes Image filesystem total available in bytes -type: long +type: double format: bytes @@ -28963,7 +28963,7 @@ format: bytes Image filesystem total used in bytes -type: long +type: double format: bytes @@ -28994,7 +28994,7 @@ type: date Received bytes -type: long +type: double format: bytes @@ -29006,7 +29006,7 @@ format: bytes Rx errors -type: long +type: double -- @@ -29017,7 +29017,7 @@ type: long Transmitted bytes -type: long +type: double format: bytes @@ -29029,7 +29029,7 @@ format: bytes Tx errors -type: long +type: double -- @@ -29047,7 +29047,7 @@ CPU usage metrics CPU used nanocores -type: long +type: double -- @@ -29083,7 +29083,7 @@ format: percent Total memory usage -type: long +type: double format: bytes @@ -29120,7 +29120,7 @@ format: percent Total memory available -type: long +type: double format: bytes @@ -29133,7 +29133,7 @@ format: bytes Total working set memory -type: long +type: double format: bytes @@ -29146,7 +29146,7 @@ format: bytes Total resident set size memory -type: long +type: double format: bytes @@ -29158,7 +29158,7 @@ format: bytes Total page faults -type: long +type: double -- @@ -29168,7 +29168,7 @@ type: long Total major page faults -type: long +type: double -- @@ -30742,7 +30742,7 @@ CPU usage metrics CPU Core usage nanoseconds -type: long +type: double -- @@ -30752,7 +30752,7 @@ type: long CPU used nanocores -type: long +type: double -- @@ -30764,7 +30764,7 @@ type: long Total memory usage -type: long +type: double format: bytes @@ -30777,7 +30777,7 @@ format: bytes RSS memory usage -type: long +type: double format: bytes @@ -30790,7 +30790,7 @@ format: bytes Working set memory usage -type: long +type: double format: bytes @@ -30802,7 +30802,7 @@ format: bytes Number of page faults -type: long +type: double -- @@ -30812,7 +30812,7 @@ type: long Number of major page faults -type: long +type: double -- @@ -30841,7 +30841,7 @@ type: keyword Filesystem total capacity in bytes -type: long +type: double format: bytes @@ -30854,7 +30854,7 @@ format: bytes Filesystem total available in bytes -type: long +type: double format: bytes @@ -30867,7 +30867,7 @@ format: bytes Filesystem total used in bytes -type: long +type: double format: bytes @@ -30880,7 +30880,7 @@ format: bytes Used inodes -type: long +type: double -- @@ -30890,7 +30890,7 @@ type: long Free inodes -type: long +type: double -- @@ -30900,7 +30900,7 @@ type: long Total inodes -type: long +type: double -- diff --git a/metricbeat/module/kubernetes/_meta/test/stats_summary.json b/metricbeat/module/kubernetes/_meta/test/stats_summary.json index dfb105133fd..1372d24dcfc 100644 --- a/metricbeat/module/kubernetes/_meta/test/stats_summary.json +++ b/metricbeat/module/kubernetes/_meta/test/stats_summary.json @@ -47,7 +47,7 @@ "availableBytes": 98727014400, "capacityBytes": 101258067968, "usedBytes": 2514276352, - "inodesFree": 6120096, + "inodesFree": 18446744073709551615, "inodes": 6258720, "inodesUsed": 138624 }, @@ -56,7 +56,7 @@ "availableBytes": 98727014400, "capacityBytes": 101258067968, "usedBytes": 860204379, - "inodesFree": 6120096, + "inodesFree": 18446744073709551615, "inodes": 6258720, "inodesUsed": 138624 } diff --git a/metricbeat/module/kubernetes/container/_meta/fields.yml b/metricbeat/module/kubernetes/container/_meta/fields.yml index 52d6eddc2d6..8bd8bd6449a 100644 --- a/metricbeat/module/kubernetes/container/_meta/fields.yml +++ b/metricbeat/module/kubernetes/container/_meta/fields.yml @@ -20,11 +20,11 @@ type: group fields: - name: ns - type: long + type: double description: > Container CPU Core usage nanoseconds - name: nanocores - type: long + type: double description: > CPU used nanocores - name: node.pct @@ -46,7 +46,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Logs available capacity in bytes @@ -54,7 +54,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Logs total capacity in bytes @@ -62,7 +62,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Logs used capacity in bytes @@ -70,15 +70,15 @@ type: group fields: - name: count - type: long + type: double description: > Total available inodes - name: free - type: long + type: double description: > Total free inodes - name: used - type: long + type: double description: > Total used inodes - name: memory @@ -88,7 +88,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Total available memory @@ -96,7 +96,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Total memory usage @@ -114,7 +114,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > RSS memory usage @@ -122,16 +122,16 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Working set memory usage - name: pagefaults - type: long + type: double description: > Number of page faults - name: majorpagefaults - type: long + type: double description: > Number of major page faults - name: rootfs @@ -141,7 +141,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Root filesystem total capacity in bytes @@ -149,7 +149,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Root filesystem total available in bytes @@ -157,7 +157,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Root filesystem total used in bytes @@ -165,6 +165,6 @@ type: group fields: - name: used - type: long + type: double description: > Used inodes diff --git a/metricbeat/module/kubernetes/fields.go b/metricbeat/module/kubernetes/fields.go index f574bc21d8e..bc7f92ad298 100644 --- a/metricbeat/module/kubernetes/fields.go +++ b/metricbeat/module/kubernetes/fields.go @@ -32,5 +32,5 @@ func init() { // AssetKubernetes returns asset data. // This is the base64 encoded gzipped contents of module/kubernetes. func AssetKubernetes() string { - return "eJzsXU9zHKmSv/tTED55NjR92NjYgw8bMSO/t08xtp9WsseHjY0eVJXdzagKaoCS3O/Tb0D9o6qAorrolix1HybGkjp/PzITSBJIfkb3sH+P7ss74BQkiDcISSIzeI/e/tb+8O0bhFIQCSeFJIy+R//1BiGEuj9AOUhOEvVtDhlgAe/RFr9BSICUhG7Fe/S/b4XI3l6gtzspi7f/p363Y1yuE0Y3ZPsebXAm4A1CGwJZKt5rgJ8RxTkM6KmP3BcKgbOyqH9ioac+V3TDeI7VjxGmKRISSyIkSQRiG1SwVKAcU7yFFN3tDZxVLcFkYzLCBRHAH4C3v7GR8hAb6O+X6ytUCTRU2Xz6Km0+Q2omPQ5/lSDkKskIUNn7k4bnPewfGU8Hv/OwVZ9LLQ/Bd0hKZdcGSHhZcBCs5AnE43FTSYYUWWUPCYjy7pgcXOJHNBJWxCeAtFj0LslKIYFfaFBR4AQuWu385OX1APwuHq1/fPlyjUYiR57J0oiq0JgjkWNMKoHKtQKKb4aag4ZAI4ghl5Tv17yk8Wh8A7k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XDb7Gsv3pFznjnIsrCb7nwOksTltef2isq7qsZJ35U7k28bZUwfvxHK0cNFsdsJh9bDLzUi2ppXzIOtcgppo5WFAOUL+WZryMdajo/49QD/fqfXbm5vQ0TRf1Yzet/m+fr6FWeCckUeAtHfPGlu10X/ArNyRBNv0MT9ShZ//zYswXoY6kYJ8es3EZPcx/uoT3Pcb+mWTh6bH/6se3wSu0rFVHAM9rdOu/Z0r9S8dgfyB4OwPJqv4l+iWwm3y2PETd+qUbpGIThkjj4g/oYYP7OAULA2JvExEZTBX41nP8PAAD//4Df+K8=" } diff --git a/metricbeat/module/kubernetes/node/_meta/fields.yml b/metricbeat/module/kubernetes/node/_meta/fields.yml index bf0b8c26957..4d649f66040 100644 --- a/metricbeat/module/kubernetes/node/_meta/fields.yml +++ b/metricbeat/module/kubernetes/node/_meta/fields.yml @@ -20,11 +20,11 @@ type: group fields: - name: ns - type: long + type: double description: > Node CPU Core usage nanoseconds - name: nanocores - type: long + type: double description: > CPU used nanocores - name: memory @@ -34,7 +34,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Total available memory @@ -42,7 +42,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Total memory usage @@ -50,7 +50,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > RSS memory usage @@ -58,16 +58,16 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Working set memory usage - name: pagefaults - type: long + type: double description: > Number of page faults - name: majorpagefaults - type: long + type: double description: > Number of major page faults - name: network @@ -77,24 +77,24 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Received bytes - name: errors - type: long + type: double description: > Rx errors - name: tx type: group fields: - name: bytes - type: long + type: double format: bytes description: > Transmitted bytes - name: errors - type: long + type: double description: > Tx errors - name: fs @@ -104,7 +104,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Filesystem total capacity in bytes @@ -112,7 +112,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Filesystem total available in bytes @@ -120,7 +120,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Filesystem total used in bytes @@ -128,15 +128,15 @@ type: group fields: - name: used - type: long + type: double description: > Number of used inodes - name: count - type: long + type: double description: > Number of inodes - name: free - type: long + type: double description: > Number of free inodes - name: runtime @@ -149,7 +149,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Image filesystem total capacity in bytes @@ -157,7 +157,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Image filesystem total available in bytes @@ -165,7 +165,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Image filesystem total used in bytes diff --git a/metricbeat/module/kubernetes/node/node_test.go b/metricbeat/module/kubernetes/node/node_test.go index e240c31d174..9951c42bcd8 100644 --- a/metricbeat/module/kubernetes/node/node_test.go +++ b/metricbeat/module/kubernetes/node/node_test.go @@ -58,7 +58,7 @@ func TestEventMapping(t *testing.T) { "fs.capacity.bytes": 101258067968, "fs.used.bytes": 2514276352, "fs.inodes.used": 138624, - "fs.inodes.free": 6120096, + "fs.inodes.free": uint64(18446744073709551615), "fs.inodes.count": 6258720, "network.rx.bytes": 1115133198, diff --git a/metricbeat/module/kubernetes/pod/_meta/fields.yml b/metricbeat/module/kubernetes/pod/_meta/fields.yml index 1c46d4432b9..0537faab52a 100644 --- a/metricbeat/module/kubernetes/pod/_meta/fields.yml +++ b/metricbeat/module/kubernetes/pod/_meta/fields.yml @@ -15,24 +15,24 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Received bytes - name: errors - type: long + type: double description: > Rx errors - name: tx type: group fields: - name: bytes - type: long + type: double format: bytes description: > Transmitted bytes - name: errors - type: long + type: double description: > Tx errors - name: cpu @@ -44,7 +44,7 @@ type: group fields: - name: nanocores - type: long + type: double description: > CPU used nanocores - name: node.pct @@ -64,7 +64,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Total memory usage @@ -82,7 +82,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Total memory available @@ -90,7 +90,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Total working set memory @@ -98,15 +98,15 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Total resident set size memory - name: page_faults - type: long + type: double description: > Total page faults - name: major_page_faults - type: long + type: double description: > Total major page faults diff --git a/metricbeat/module/kubernetes/pod/data.go b/metricbeat/module/kubernetes/pod/data.go index ff53f4dbb1d..306ba1c06b3 100644 --- a/metricbeat/module/kubernetes/pod/data.go +++ b/metricbeat/module/kubernetes/pod/data.go @@ -40,7 +40,7 @@ func eventMapping(content []byte, perfMetrics *util.PerfMetricsCache) ([]common. nodeCores := perfMetrics.NodeCoresAllocatable.Get(node.NodeName) nodeMem := perfMetrics.NodeMemAllocatable.Get(node.NodeName) for _, pod := range summary.Pods { - var usageNanoCores, usageMem, availMem, rss, workingSet, pageFaults, majorPageFaults int64 + var usageNanoCores, usageMem, availMem, rss, workingSet, pageFaults, majorPageFaults uint64 var coresLimit, memLimit float64 for _, cont := range pod.Containers { diff --git a/metricbeat/module/kubernetes/state_daemonset/_meta/data.json b/metricbeat/module/kubernetes/state_daemonset/_meta/data.json index 27a03cb7d97..5856069d568 100644 --- a/metricbeat/module/kubernetes/state_daemonset/_meta/data.json +++ b/metricbeat/module/kubernetes/state_daemonset/_meta/data.json @@ -25,4 +25,4 @@ "address": "127.0.0.1:55555", "type": "kubernetes" } -} +} \ No newline at end of file diff --git a/metricbeat/module/kubernetes/system/_meta/fields.yml b/metricbeat/module/kubernetes/system/_meta/fields.yml index 9495b8ed2d6..1b5efe612c9 100644 --- a/metricbeat/module/kubernetes/system/_meta/fields.yml +++ b/metricbeat/module/kubernetes/system/_meta/fields.yml @@ -24,11 +24,11 @@ type: group fields: - name: ns - type: long + type: double description: > CPU Core usage nanoseconds - name: nanocores - type: long + type: double description: > CPU used nanocores - name: memory @@ -38,7 +38,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Total memory usage @@ -46,7 +46,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > RSS memory usage @@ -54,15 +54,15 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Working set memory usage - name: pagefaults - type: long + type: double description: > Number of page faults - name: majorpagefaults - type: long + type: double description: > Number of major page faults diff --git a/metricbeat/module/kubernetes/types.go b/metricbeat/module/kubernetes/types.go index a85e62f06d6..e1915b9602b 100644 --- a/metricbeat/module/kubernetes/types.go +++ b/metricbeat/module/kubernetes/types.go @@ -21,55 +21,55 @@ type Summary struct { Node struct { CPU struct { Time string `json:"time"` - UsageCoreNanoSeconds int64 `json:"usageCoreNanoSeconds"` - UsageNanoCores int64 `json:"usageNanoCores"` + UsageCoreNanoSeconds uint64 `json:"usageCoreNanoSeconds"` + UsageNanoCores uint64 `json:"usageNanoCores"` } `json:"cpu"` Fs struct { - AvailableBytes int64 `json:"availableBytes"` - CapacityBytes int64 `json:"capacityBytes"` - Inodes int64 `json:"inodes"` - InodesFree int64 `json:"inodesFree"` - InodesUsed int64 `json:"inodesUsed"` - UsedBytes int64 `json:"usedBytes"` + AvailableBytes uint64 `json:"availableBytes"` + CapacityBytes uint64 `json:"capacityBytes"` + Inodes uint64 `json:"inodes"` + InodesFree uint64 `json:"inodesFree"` + InodesUsed uint64 `json:"inodesUsed"` + UsedBytes uint64 `json:"usedBytes"` } `json:"fs"` Memory struct { - AvailableBytes int64 `json:"availableBytes"` - MajorPageFaults int64 `json:"majorPageFaults"` - PageFaults int64 `json:"pageFaults"` - RssBytes int64 `json:"rssBytes"` + AvailableBytes uint64 `json:"availableBytes"` + MajorPageFaults uint64 `json:"majorPageFaults"` + PageFaults uint64 `json:"pageFaults"` + RssBytes uint64 `json:"rssBytes"` Time string `json:"time"` - UsageBytes int64 `json:"usageBytes"` - WorkingSetBytes int64 `json:"workingSetBytes"` + UsageBytes uint64 `json:"usageBytes"` + WorkingSetBytes uint64 `json:"workingSetBytes"` } `json:"memory"` Network struct { - RxBytes int64 `json:"rxBytes"` - RxErrors int64 `json:"rxErrors"` + RxBytes uint64 `json:"rxBytes"` + RxErrors uint64 `json:"rxErrors"` Time string `json:"time"` - TxBytes int64 `json:"txBytes"` - TxErrors int64 `json:"txErrors"` + TxBytes uint64 `json:"txBytes"` + TxErrors uint64 `json:"txErrors"` } `json:"network"` NodeName string `json:"nodeName"` Runtime struct { ImageFs struct { - AvailableBytes int64 `json:"availableBytes"` - CapacityBytes int64 `json:"capacityBytes"` - UsedBytes int64 `json:"usedBytes"` + AvailableBytes uint64 `json:"availableBytes"` + CapacityBytes uint64 `json:"capacityBytes"` + UsedBytes uint64 `json:"usedBytes"` } `json:"imageFs"` } `json:"runtime"` StartTime string `json:"startTime"` SystemContainers []struct { CPU struct { Time string `json:"time"` - UsageCoreNanoSeconds int64 `json:"usageCoreNanoSeconds"` - UsageNanoCores int64 `json:"usageNanoCores"` + UsageCoreNanoSeconds uint64 `json:"usageCoreNanoSeconds"` + UsageNanoCores uint64 `json:"usageNanoCores"` } `json:"cpu"` Memory struct { - MajorPageFaults int64 `json:"majorPageFaults"` - PageFaults int64 `json:"pageFaults"` - RssBytes int64 `json:"rssBytes"` + MajorPageFaults uint64 `json:"majorPageFaults"` + PageFaults uint64 `json:"pageFaults"` + RssBytes uint64 `json:"rssBytes"` Time string `json:"time"` - UsageBytes int64 `json:"usageBytes"` - WorkingSetBytes int64 `json:"workingSetBytes"` + UsageBytes uint64 `json:"usageBytes"` + WorkingSetBytes uint64 `json:"workingSetBytes"` } `json:"memory"` Name string `json:"name"` StartTime string `json:"startTime"` @@ -80,42 +80,42 @@ type Summary struct { Containers []struct { CPU struct { Time string `json:"time"` - UsageCoreNanoSeconds int64 `json:"usageCoreNanoSeconds"` - UsageNanoCores int64 `json:"usageNanoCores"` + UsageCoreNanoSeconds uint64 `json:"usageCoreNanoSeconds"` + UsageNanoCores uint64 `json:"usageNanoCores"` } `json:"cpu"` Logs struct { - AvailableBytes int64 `json:"availableBytes"` - CapacityBytes int64 `json:"capacityBytes"` - Inodes int64 `json:"inodes"` - InodesFree int64 `json:"inodesFree"` - InodesUsed int64 `json:"inodesUsed"` - UsedBytes int64 `json:"usedBytes"` + AvailableBytes uint64 `json:"availableBytes"` + CapacityBytes uint64 `json:"capacityBytes"` + Inodes uint64 `json:"inodes"` + InodesFree uint64 `json:"inodesFree"` + InodesUsed uint64 `json:"inodesUsed"` + UsedBytes uint64 `json:"usedBytes"` } `json:"logs"` Memory struct { - AvailableBytes int64 `json:"availableBytes"` - MajorPageFaults int64 `json:"majorPageFaults"` - PageFaults int64 `json:"pageFaults"` - RssBytes int64 `json:"rssBytes"` + AvailableBytes uint64 `json:"availableBytes"` + MajorPageFaults uint64 `json:"majorPageFaults"` + PageFaults uint64 `json:"pageFaults"` + RssBytes uint64 `json:"rssBytes"` Time string `json:"time"` - UsageBytes int64 `json:"usageBytes"` - WorkingSetBytes int64 `json:"workingSetBytes"` + UsageBytes uint64 `json:"usageBytes"` + WorkingSetBytes uint64 `json:"workingSetBytes"` } `json:"memory"` Name string `json:"name"` Rootfs struct { - AvailableBytes int64 `json:"availableBytes"` - CapacityBytes int64 `json:"capacityBytes"` - InodesUsed int64 `json:"inodesUsed"` - UsedBytes int64 `json:"usedBytes"` + AvailableBytes uint64 `json:"availableBytes"` + CapacityBytes uint64 `json:"capacityBytes"` + InodesUsed uint64 `json:"inodesUsed"` + UsedBytes uint64 `json:"usedBytes"` } `json:"rootfs"` StartTime string `json:"startTime"` UserDefinedMetrics interface{} `json:"userDefinedMetrics"` } `json:"containers"` Network struct { - RxBytes int64 `json:"rxBytes"` - RxErrors int64 `json:"rxErrors"` + RxBytes uint64 `json:"rxBytes"` + RxErrors uint64 `json:"rxErrors"` Time string `json:"time"` - TxBytes int64 `json:"txBytes"` - TxErrors int64 `json:"txErrors"` + TxBytes uint64 `json:"txBytes"` + TxErrors uint64 `json:"txErrors"` } `json:"network"` PodRef struct { Name string `json:"name"` @@ -124,13 +124,13 @@ type Summary struct { } `json:"podRef"` StartTime string `json:"startTime"` Volume []struct { - AvailableBytes int64 `json:"availableBytes"` - CapacityBytes int64 `json:"capacityBytes"` - Inodes int64 `json:"inodes"` - InodesFree int64 `json:"inodesFree"` - InodesUsed int64 `json:"inodesUsed"` + AvailableBytes uint64 `json:"availableBytes"` + CapacityBytes uint64 `json:"capacityBytes"` + Inodes uint64 `json:"inodes"` + InodesFree uint64 `json:"inodesFree"` + InodesUsed uint64 `json:"inodesUsed"` Name string `json:"name"` - UsedBytes int64 `json:"usedBytes"` + UsedBytes uint64 `json:"usedBytes"` } `json:"volume"` } `json:"pods"` } diff --git a/metricbeat/module/kubernetes/volume/_meta/fields.yml b/metricbeat/module/kubernetes/volume/_meta/fields.yml index 5479b63c23a..93b6204d53e 100644 --- a/metricbeat/module/kubernetes/volume/_meta/fields.yml +++ b/metricbeat/module/kubernetes/volume/_meta/fields.yml @@ -15,7 +15,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Filesystem total capacity in bytes @@ -23,7 +23,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Filesystem total available in bytes @@ -31,7 +31,7 @@ type: group fields: - name: bytes - type: long + type: double format: bytes description: > Filesystem total used in bytes @@ -39,14 +39,14 @@ type: group fields: - name: used - type: long + type: double description: > Used inodes - name: free - type: long + type: double description: > Free inodes - name: count - type: long + type: double description: > Total inodes