sensu-plugins-springboot 0.0.3 → 1.0.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 +18 -4
- data/README.md +1 -2
- data/bin/metrics-springboot.rb +3 -3
- data/lib/sensu-plugins-springboot/version.rb +2 -2
- metadata +13 -35
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 78660b6bf3362072c108d5833b34ab5a88376776
|
|
4
|
+
data.tar.gz: ffb2081ef012ada80b9ca302af1379dca7f9e133
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2162df394c59d47362f4955b0f1becfc88415d8b79b7786de68d0ad15090cbd07c9a04b5d700673e53a2daeaa4a27497d5a713f59309d4b8a768d117aa18efb7
|
|
7
|
+
data.tar.gz: 06b6b0c0d1abaf0b415ab14a62716655af2483706693e61583398007371e6db39a4fec7001f81bd27cf126e1a0c57c8e171c3954781ff0828b4e5a657204c6bf
|
data/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,26 @@
|
|
|
1
|
-
#Change Log
|
|
1
|
+
# Change Log
|
|
2
2
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
3
3
|
|
|
4
4
|
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
|
|
5
5
|
|
|
6
|
-
## Unreleased]
|
|
6
|
+
## [Unreleased]
|
|
7
|
+
|
|
8
|
+
## [1.0.0] - 2017-06-25
|
|
9
|
+
### Added
|
|
10
|
+
- Support for Ruby 2.3 and 2.4 (@eheydrick)
|
|
11
|
+
|
|
12
|
+
### Removed
|
|
13
|
+
- Support for Ruby < 2 (@eheydrick)
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- Loosen `sensu-plugin` dependency to `~> 1.2` (@mattyjones)
|
|
17
|
+
- Update to Rubocop `0.40` and cleanup (@eheydrick)
|
|
7
18
|
|
|
8
19
|
## [0.0.3] - 2015-07-14
|
|
9
20
|
### Changed
|
|
10
21
|
- updated sensu-plugin gem to 1.2.0
|
|
11
22
|
|
|
12
23
|
## [0.0.2] - 2015-06-03
|
|
13
|
-
|
|
14
24
|
### Fixed
|
|
15
25
|
- added binstubs
|
|
16
26
|
|
|
@@ -18,6 +28,10 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
18
28
|
- removed cruft from /lib
|
|
19
29
|
|
|
20
30
|
## 0.0.1 - 2015-05-20
|
|
21
|
-
|
|
22
31
|
### Added
|
|
23
32
|
- initial release
|
|
33
|
+
|
|
34
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-springboot/compare/1.0.0...HEAD
|
|
35
|
+
[1.0.0]: https://github.com/sensu-plugins/sensu-plugins-springboot/compare/0.0.3...1.0.0
|
|
36
|
+
[0.0.3]: https://github.com/sensu-plugins/sensu-plugins-springboot/compare/0.0.2...0.0.3
|
|
37
|
+
[0.0.2]: https://github.com/sensu-plugins/sensu-plugins-springboot/compare/0.0.1...0.0.2
|
data/README.md
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-springboot)
|
|
6
6
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-springboot)
|
|
7
7
|
[](https://gemnasium.com/sensu-plugins/sensu-plugins-springboot)
|
|
8
|
-
[ ](https://codeship.com/projects/79566)
|
|
9
8
|
|
|
10
9
|
## Functionality
|
|
11
10
|
|
|
@@ -16,6 +15,6 @@
|
|
|
16
15
|
|
|
17
16
|
## Installation
|
|
18
17
|
|
|
19
|
-
[Installation and Setup](
|
|
18
|
+
[Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
|
|
20
19
|
|
|
21
20
|
## Notes
|
data/bin/metrics-springboot.rb
CHANGED
|
@@ -105,7 +105,7 @@ class SpringBootMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
|
105
105
|
return false
|
|
106
106
|
end
|
|
107
107
|
|
|
108
|
-
def run
|
|
108
|
+
def run
|
|
109
109
|
endpoint = "http://#{config[:host]}:#{config[:port]}"
|
|
110
110
|
url = URI.parse(endpoint)
|
|
111
111
|
|
|
@@ -127,9 +127,9 @@ class SpringBootMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
|
127
127
|
if json_valid?(res.body)
|
|
128
128
|
json = JSON.parse(res.body)
|
|
129
129
|
json.each do |key, val|
|
|
130
|
-
if key.to_s
|
|
130
|
+
if key.to_s =~ /^counter\.(.+)/
|
|
131
131
|
output(config[:scheme] + '.' + key, val) if config[:counters]
|
|
132
|
-
elsif key.to_s
|
|
132
|
+
elsif key.to_s =~ /^gauge\.(.+)/
|
|
133
133
|
output(config[:scheme] + '.' + key, val) if config[:gauges]
|
|
134
134
|
else
|
|
135
135
|
output(config[:scheme] + '.' + key, val)
|
metadata
CHANGED
|
@@ -1,51 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-springboot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sensu-Plugins and contributors
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
|
-
cert_chain:
|
|
11
|
-
-
|
|
12
|
-
-----BEGIN CERTIFICATE-----
|
|
13
|
-
MIIDgDCCAmigAwIBAgIBATANBgkqhkiG9w0BAQUFADBDMRIwEAYDVQQDDAltYXR0
|
|
14
|
-
am9uZXMxGDAWBgoJkiaJk/IsZAEZFgh5aWVsZGJvdDETMBEGCgmSJ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
|
29
|
-
JKP4hVvbc1d+oS925B1lcBiqn2aYvElbyNAVmQPywNNqkWmvtlqj9ZVJfV5HQLdu
|
|
30
|
-
8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
|
|
31
|
-
HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
|
|
32
|
-
-----END CERTIFICATE-----
|
|
33
|
-
date: 2015-07-14 00:00:00.000000000 Z
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2017-06-26 00:00:00.000000000 Z
|
|
34
12
|
dependencies:
|
|
35
13
|
- !ruby/object:Gem::Dependency
|
|
36
14
|
name: sensu-plugin
|
|
37
15
|
requirement: !ruby/object:Gem::Requirement
|
|
38
16
|
requirements:
|
|
39
|
-
- -
|
|
17
|
+
- - "~>"
|
|
40
18
|
- !ruby/object:Gem::Version
|
|
41
|
-
version: 1.2
|
|
19
|
+
version: '1.2'
|
|
42
20
|
type: :runtime
|
|
43
21
|
prerelease: false
|
|
44
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
45
23
|
requirements:
|
|
46
|
-
- -
|
|
24
|
+
- - "~>"
|
|
47
25
|
- !ruby/object:Gem::Version
|
|
48
|
-
version: 1.2
|
|
26
|
+
version: '1.2'
|
|
49
27
|
- !ruby/object:Gem::Dependency
|
|
50
28
|
name: codeclimate-test-reporter
|
|
51
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -78,16 +56,16 @@ dependencies:
|
|
|
78
56
|
name: rubocop
|
|
79
57
|
requirement: !ruby/object:Gem::Requirement
|
|
80
58
|
requirements:
|
|
81
|
-
- -
|
|
59
|
+
- - "~>"
|
|
82
60
|
- !ruby/object:Gem::Version
|
|
83
|
-
version:
|
|
61
|
+
version: 0.40.0
|
|
84
62
|
type: :development
|
|
85
63
|
prerelease: false
|
|
86
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
87
65
|
requirements:
|
|
88
|
-
- -
|
|
66
|
+
- - "~>"
|
|
89
67
|
- !ruby/object:Gem::Version
|
|
90
|
-
version:
|
|
68
|
+
version: 0.40.0
|
|
91
69
|
- !ruby/object:Gem::Dependency
|
|
92
70
|
name: bundler
|
|
93
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -203,7 +181,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
203
181
|
requirements:
|
|
204
182
|
- - ">="
|
|
205
183
|
- !ruby/object:Gem::Version
|
|
206
|
-
version:
|
|
184
|
+
version: 2.0.0
|
|
207
185
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
208
186
|
requirements:
|
|
209
187
|
- - ">="
|
|
@@ -211,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
211
189
|
version: '0'
|
|
212
190
|
requirements: []
|
|
213
191
|
rubyforge_project:
|
|
214
|
-
rubygems_version: 2.4.
|
|
192
|
+
rubygems_version: 2.4.5
|
|
215
193
|
signing_key:
|
|
216
194
|
specification_version: 4
|
|
217
195
|
summary: Sensu plugins for Springboot
|
checksums.yaml.gz.sig
DELETED
|
Binary file
|
data.tar.gz.sig
DELETED
|
Binary file
|
metadata.gz.sig
DELETED
|
Binary file
|