sensu-plugins-dcos 0.0.3 → 0.0.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/CHANGELOG.md +7 -1
- data/bin/metrics-dcos-containers.rb +1 -0
- data/bin/metrics-dcos-host.rb +1 -0
- data/lib/sensu-plugins-dcos/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e641b486db1fdbd31fee74ee0c387e933620b921
|
|
4
|
+
data.tar.gz: eae619c43de2f034d0c27afabec03088ac22d0b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: edd252484d0ef12ec1a7f5f526846aac2863439ca371c6ae48fa1b06f9016c37fa33e56bdd9f4c5d03324ddfa392e7b12c99f41227fd05db7be0e482c8597979
|
|
7
|
+
data.tar.gz: f5742383acd0212edb5f57a964d7aeffcc9112f84ad691ed207710f4ebcef42355bc0be96e0feb556c316b7f5d6d1ba965057e93091ec7dc704c28f42761c713
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
4
4
|
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
|
+
|
|
8
|
+
## [0.0.4]
|
|
9
|
+
### Added
|
|
10
|
+
- Rakefile now inclutes kitchen integration tests
|
|
11
|
+
- Fixes metric collection scripts to cover the cases when an app sets unit as an empty string (@luisdavim)
|
|
12
|
+
|
|
7
13
|
### [0.0.3] - 2017-08-12
|
|
8
14
|
### Changed
|
|
9
15
|
- switched from vagrant to docker testing as it's lighter weight (@majormoses)
|
|
@@ -21,11 +27,11 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
21
27
|
- Extending get_value function to provide the ability to override field names
|
|
22
28
|
|
|
23
29
|
## [0.0.1] - 2017-04-18
|
|
24
|
-
|
|
25
30
|
### Added
|
|
26
31
|
- Initial release
|
|
27
32
|
|
|
28
33
|
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-dcos/compare/0.0.3...HEAD
|
|
34
|
+
[0.0.4]: https://github.com/sensu-plugins/sensu-plugins-dcos/compare/0.0.3...0.0.4
|
|
29
35
|
[0.0.3]: https://github.com/sensu-plugins/sensu-plugins-dcos/compare/0.0.2...0.0.3
|
|
30
36
|
[0.0.2]: https://github.com/sensu-plugins/sensu-plugins-dcos/compare/0.0.1...0.0.2
|
|
31
37
|
[0.0.1]:https://github.com/sensu-plugins/sensu-plugins-dcos/compare/9c72afb596622f6c1a51f95281f52bd53791ede9...0.0.1
|
|
@@ -99,6 +99,7 @@ class DCOSMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
|
99
99
|
end
|
|
100
100
|
metric['name'].tr!('/', '.')
|
|
101
101
|
metric['name'].squeeze!('.')
|
|
102
|
+
metric['unit'] = 'na' if metric['unit'].empty?
|
|
102
103
|
output([config[:scheme], container, 'app', metric['unit'], metric['name']].join('.'), metric['value'])
|
|
103
104
|
end
|
|
104
105
|
end
|
data/bin/metrics-dcos-host.rb
CHANGED
|
@@ -88,6 +88,7 @@ class DCOSMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
|
88
88
|
end
|
|
89
89
|
metric['name'].tr!('/', '.')
|
|
90
90
|
metric['name'].squeeze!('.')
|
|
91
|
+
metric['unit'] = 'na' if metric['unit'].empty?
|
|
91
92
|
output([config[:scheme], metric['unit'], metric['name']].join('.'), metric['value'])
|
|
92
93
|
end
|
|
93
94
|
end
|