fluent-plugin-k8s-metrics-agg 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/Makefile +1 -0
- data/VERSION +1 -1
- data/docker/Gemfile.lock +1 -1
- data/lib/fluent/plugin/in_kubernetes_metrics_aggregator.rb +2 -2
- metadata +2 -3
- data/docker/FLUENTD_HEC_GEM_VERSION +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9e5776b755e33b3424b6f69fdb6780e258399a14ea14f0240a4c8d9e228950e
|
4
|
+
data.tar.gz: 8c65a1ee8e6638b1df574dd5e93c567692cf449a084a097bd1c9afb70f2b71c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fd7390614b3e3d817d7a6886983b26fc9da16f29d5e890a6d1e99be2c7614cd7ef5ca0779cde3f8f4d54201a0ea752621d95166a90358be97800d13b79c76cc
|
7
|
+
data.tar.gz: 51b3b36d36951a0e82240dba44c5667d1670f6ac1e71bff460d16bef954f3a1e7341a372ab614b13c7f95ee63945e8b3316dd9639f2d12e9abf74fe88d21fcda
|
data/Gemfile.lock
CHANGED
data/Makefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.4
|
data/docker/Gemfile.lock
CHANGED
@@ -575,8 +575,8 @@ module Fluent
|
|
575
575
|
|
576
576
|
node_response = JSON.parse(node_rest_client.get(@client.headers))
|
577
577
|
Array(node_response['pods']).each do |pod_json|
|
578
|
-
pod_cpu_usage = pod_json['cpu']
|
579
|
-
pod_memory_usage = pod_json['memory']
|
578
|
+
pod_cpu_usage = pod_json['cpu'].fetch('usageNanoCores', 0)/ 1_000_000
|
579
|
+
pod_memory_usage = pod_json['memory'].fetch('usageBytes', 0)
|
580
580
|
pod_namespace = pod_json['podRef']['namespace']
|
581
581
|
pod_usage = ResourceUsageMetricsUnit.new
|
582
582
|
pod_usage.add_resource_usage_metrics(pod_cpu_usage, pod_memory_usage)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-k8s-metrics-agg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Splunk Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -164,7 +164,6 @@ files:
|
|
164
164
|
- VERSION
|
165
165
|
- docker/CONTRIBUTING.md
|
166
166
|
- docker/Dockerfile
|
167
|
-
- docker/FLUENTD_HEC_GEM_VERSION
|
168
167
|
- docker/Gemfile
|
169
168
|
- docker/Gemfile.lock
|
170
169
|
- docker/LICENSE
|
@@ -1 +0,0 @@
|
|
1
|
-
1.2.1
|