sensu-plugins-sidekiq 0.1.0 → 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 +20 -3
- data/README.md +2 -3
- data/bin/check-sidekiq-dead-queue.rb +1 -1
- data/lib/sensu-plugins-sidekiq/version.rb +2 -2
- metadata +15 -51
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3685a14e78f91b1d652517fa41268ed2be24aa95
|
|
4
|
+
data.tar.gz: ceb6d9ac6c747fd529d2c8b711453d017c9a96f9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 448f9fe8f533c637cb86e3b4a4de4c4ca99da87946c1ca81007aea46406ffeea521b72221bc1493ae8291146ae8871438f43e4447bcd4e47436ed4182437fa6c
|
|
7
|
+
data.tar.gz: eeb6f6ca5dd29cf783c1ef3be07a8e73fa8e1dad370c9a112d083a479b5b4f97e188b9f9e3224068b3d685e0b1408b183a894316c17fc82f9b6c769ea5edb741
|
data/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
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-27
|
|
9
|
+
### Added
|
|
10
|
+
- Support for Ruby 2.3 and 2.4 (@eheydrick)
|
|
11
|
+
|
|
12
|
+
### Removed
|
|
13
|
+
- Support for Ruby < 2 (@eheydrick)
|
|
14
|
+
- Unnecessary `json` dependency (@eheydrick)
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
- Loosen `sensu-plugin` dependency to `~> 1.2` (@mattyjones)
|
|
18
|
+
- Update to Rubocop `0.40` and cleanup (@eheydrick)
|
|
7
19
|
|
|
8
20
|
## [0.1.0] - 2015-11-06
|
|
9
21
|
### Added
|
|
@@ -13,6 +25,11 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
13
25
|
### Changed
|
|
14
26
|
- updated sensu-plugin gem to 1.2.0
|
|
15
27
|
|
|
16
|
-
##
|
|
28
|
+
## 0.0.1 - 2015-06-27
|
|
17
29
|
### Added
|
|
18
30
|
- initial release
|
|
31
|
+
|
|
32
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-sidekiq/compare/1.0.0...HEAD
|
|
33
|
+
[1.0.0]: https://github.com/sensu-plugins/sensu-plugins-sidekiq/compare/0.1.0...1.0.0
|
|
34
|
+
[0.1.0]: https://github.com/sensu-plugins/sensu-plugins-sidekiq/compare/0.0.2...0.1.0
|
|
35
|
+
[0.0.2]: https://github.com/sensu-plugins/sensu-plugins-sidekiq/compare/0.0.1...0.0.2
|
data/README.md
CHANGED
|
@@ -5,11 +5,10 @@
|
|
|
5
5
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-sidekiq)
|
|
6
6
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-sidekiq)
|
|
7
7
|
[](https://gemnasium.com/sensu-plugins/sensu-plugins-sidekiq)
|
|
8
|
-
[](https://codeship.com/projects/84126)
|
|
9
8
|
|
|
10
9
|
## Functionality
|
|
11
10
|
|
|
12
|
-
Check
|
|
11
|
+
Check various metrics and checks for Sidekiq.
|
|
13
12
|
The following scripts:
|
|
14
13
|
|
|
15
14
|
* bin/check-sidekiq.rb
|
|
@@ -58,4 +57,4 @@ Checks the dead queue and raises a CRITICAL if it's not empty. Jobs in the dead
|
|
|
58
57
|
|
|
59
58
|
## Notes
|
|
60
59
|
|
|
61
|
-
Thanks to [xxxxxx]() for contributing.
|
|
60
|
+
Thanks to [xxxxxx]() for contributing.
|
|
@@ -46,7 +46,7 @@ class SidekiqCheck < Sensu::Plugin::Check::CLI
|
|
|
46
46
|
end
|
|
47
47
|
dead_queue_size = stats['sidekiq']['dead']
|
|
48
48
|
if !dead_queue_size.zero?
|
|
49
|
-
entry_or_entries =
|
|
49
|
+
entry_or_entries = dead_queue_size > 1 ? 'entries' : 'entry'
|
|
50
50
|
critical 'dead queue not empty (' + dead_queue_size.to_s + ' ' + entry_or_entries + ')'
|
|
51
51
|
else
|
|
52
52
|
ok 'sidekiq dead queue is empty'
|
metadata
CHANGED
|
@@ -1,65 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-sidekiq
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
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/IsZAEZFgh5aWVsZGJvdDETMBEGCgmSJomT8ixkARkW
|
|
15
|
-
A2NvbTAeFw0xNTAxMjgyMTAyNTFaFw0xNjAxMjgyMTAyNTFaMEMxEjAQBgNVBAMM
|
|
16
|
-
CW1hdHRqb25lczEYMBYGCgmSJomT8ixkARkWCHlpZWxkYm90MRMwEQYKCZImiZPy
|
|
17
|
-
LGQBGRYDY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AM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ERTIFICATE-----
|
|
33
|
-
date: 2015-11-06 00:00:00.000000000 Z
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2017-06-28 00:00:00.000000000 Z
|
|
34
12
|
dependencies:
|
|
35
|
-
- !ruby/object:Gem::Dependency
|
|
36
|
-
name: json
|
|
37
|
-
requirement: !ruby/object:Gem::Requirement
|
|
38
|
-
requirements:
|
|
39
|
-
- - '='
|
|
40
|
-
- !ruby/object:Gem::Version
|
|
41
|
-
version: 1.8.2
|
|
42
|
-
type: :runtime
|
|
43
|
-
prerelease: false
|
|
44
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
45
|
-
requirements:
|
|
46
|
-
- - '='
|
|
47
|
-
- !ruby/object:Gem::Version
|
|
48
|
-
version: 1.8.2
|
|
49
13
|
- !ruby/object:Gem::Dependency
|
|
50
14
|
name: sensu-plugin
|
|
51
15
|
requirement: !ruby/object:Gem::Requirement
|
|
52
16
|
requirements:
|
|
53
|
-
- -
|
|
17
|
+
- - "~>"
|
|
54
18
|
- !ruby/object:Gem::Version
|
|
55
|
-
version: 1.2
|
|
19
|
+
version: '1.2'
|
|
56
20
|
type: :runtime
|
|
57
21
|
prerelease: false
|
|
58
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
59
23
|
requirements:
|
|
60
|
-
- -
|
|
24
|
+
- - "~>"
|
|
61
25
|
- !ruby/object:Gem::Version
|
|
62
|
-
version: 1.2
|
|
26
|
+
version: '1.2'
|
|
63
27
|
- !ruby/object:Gem::Dependency
|
|
64
28
|
name: codeclimate-test-reporter
|
|
65
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -78,16 +42,16 @@ dependencies:
|
|
|
78
42
|
name: rubocop
|
|
79
43
|
requirement: !ruby/object:Gem::Requirement
|
|
80
44
|
requirements:
|
|
81
|
-
- -
|
|
45
|
+
- - "~>"
|
|
82
46
|
- !ruby/object:Gem::Version
|
|
83
|
-
version: 0.
|
|
47
|
+
version: 0.40.0
|
|
84
48
|
type: :development
|
|
85
49
|
prerelease: false
|
|
86
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
87
51
|
requirements:
|
|
88
|
-
- -
|
|
52
|
+
- - "~>"
|
|
89
53
|
- !ruby/object:Gem::Version
|
|
90
|
-
version: 0.
|
|
54
|
+
version: 0.40.0
|
|
91
55
|
- !ruby/object:Gem::Dependency
|
|
92
56
|
name: rspec
|
|
93
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -189,9 +153,9 @@ dependencies:
|
|
|
189
153
|
description: Sensu sidekiq plugins
|
|
190
154
|
email: "<sensu-users@googlegroups.com>"
|
|
191
155
|
executables:
|
|
192
|
-
- metrics-sidekiq.rb
|
|
193
|
-
- check-sidekiq.rb
|
|
194
156
|
- check-sidekiq-dead-queue.rb
|
|
157
|
+
- check-sidekiq.rb
|
|
158
|
+
- metrics-sidekiq.rb
|
|
195
159
|
extensions: []
|
|
196
160
|
extra_rdoc_files: []
|
|
197
161
|
files:
|
|
@@ -221,7 +185,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
221
185
|
requirements:
|
|
222
186
|
- - ">="
|
|
223
187
|
- !ruby/object:Gem::Version
|
|
224
|
-
version:
|
|
188
|
+
version: 2.0.0
|
|
225
189
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
190
|
requirements:
|
|
227
191
|
- - ">="
|
|
@@ -229,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
229
193
|
version: '0'
|
|
230
194
|
requirements: []
|
|
231
195
|
rubyforge_project:
|
|
232
|
-
rubygems_version: 2.4.
|
|
196
|
+
rubygems_version: 2.4.5
|
|
233
197
|
signing_key:
|
|
234
198
|
specification_version: 4
|
|
235
199
|
summary: Sensu plugins for sidekiq
|
checksums.yaml.gz.sig
DELETED
|
Binary file
|
data.tar.gz.sig
DELETED
|
Binary file
|
metadata.gz.sig
DELETED