sensu-plugins-docker 3.1.1 → 3.2.0
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/CHANGELOG.md +5 -1
- data/bin/metrics-docker-stats.rb +2 -2
- data/lib/sensu-plugins-docker/version.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd29a0137250e0a676e21716e26d4222b8311b24f9d501d781830fcfb3f3969a
|
4
|
+
data.tar.gz: 331cfdfca2a1d755809b202ae8950b3e46b0cb8ade00650d2090548c1e714a00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 346228a4979df9f3ca31fae77c1ec08f59304ed8a934b7e229dbc9244d9575694cf4f324f5d8e66ff2475fb14351f02c09695b15eae9e183798c43eb3766d3b2
|
7
|
+
data.tar.gz: a329b401b1aa6eb53355a006edef3bfc5685c52395a2e73650809941b75cc11db1a475b6423f36584b4fa1a835adb3f4633463adb00b1bbe7a7627dc50f29d91
|
data/CHANGELOG.md
CHANGED
@@ -6,7 +6,11 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
-
## [3.
|
9
|
+
## [3.2.0] - 2018-11-22
|
10
|
+
### Fixed
|
11
|
+
- metrics-docker-stats.rb: fix #16 -n option causes metrics-docker-stats.rb to fail, in case containers are linked together
|
12
|
+
|
13
|
+
## [3.1.1] - 2018-06-29
|
10
14
|
### Fixed
|
11
15
|
- check-container-logs.rb: fix nil.gsub condition on empty log lines
|
12
16
|
|
data/bin/metrics-docker-stats.rb
CHANGED
@@ -160,9 +160,9 @@ class DockerStatsMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
160
160
|
|
161
161
|
containers.each do |container|
|
162
162
|
list << if config[:friendly_names]
|
163
|
-
container['Names'][
|
163
|
+
container['Names'][-1].delete('/')
|
164
164
|
elsif config[:name_parts]
|
165
|
-
container['Names'][
|
165
|
+
container['Names'][-1].delete('/')
|
166
166
|
else
|
167
167
|
container['Id']
|
168
168
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-docker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sensu-Plugins and contributors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|
@@ -260,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
260
260
|
version: '0'
|
261
261
|
requirements: []
|
262
262
|
rubyforge_project:
|
263
|
-
rubygems_version: 2.7.
|
263
|
+
rubygems_version: 2.7.8
|
264
264
|
signing_key:
|
265
265
|
specification_version: 4
|
266
266
|
summary: Sensu plugins for docker
|