sensu-plugins-resque 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +15 -3
- data/README.md +1 -1
- data/bin/metrics-resque.rb +7 -1
- data/lib/sensu-plugins-resque/version.rb +1 -1
- metadata +28 -28
- 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: 2cf9a7674e8b50dc0d7b30ded450f9dd54182144
|
4
|
+
data.tar.gz: d7c112594aa7ab46f8fd3e64a8bbd90b8ca8fa0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24a23b2587e4aaf0801e4e36804d7c5c55342009afeaeee9b0591c28d6c2e9a9e7f096de6392981af0bdb8c96f9b6767f848610da1086eb555eb2e2a2cc7a124
|
7
|
+
data.tar.gz: f3606b9a5f1cd69898bea2044bd5ecab05137b716efc583ba98e19f4eda88134b3153e267b7e8e155b54f0a93504da967c7d96fdc6376a4f8f612f0172db43fd
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -5,15 +5,27 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
5
5
|
|
6
6
|
## Unreleased][unreleased]
|
7
7
|
|
8
|
-
|
8
|
+
|
9
|
+
## [0.0.3] - [2015-07-10]
|
10
|
+
### Added
|
11
|
+
- enabled to specify db number for the redis connection with `-d` option
|
9
12
|
|
13
|
+
### Fixed
|
14
|
+
- fix binstub to only be created for ruby binaries
|
15
|
+
|
16
|
+
### Changed
|
17
|
+
- update documentation links in CONTRIBUTING and README
|
18
|
+
- set deps to alpha order in Rakefile
|
19
|
+
- clean unused tasks from Rakefile
|
20
|
+
- set deps to alphs order in gemspec
|
21
|
+
|
22
|
+
## [0.0.2] - [2015-06-03]
|
10
23
|
### Fixed
|
11
24
|
- added binstubs
|
12
25
|
|
13
26
|
### Changed
|
14
27
|
- removed cruft from /lib
|
15
28
|
|
16
|
-
## 0.0.1 - 2015-05-21
|
17
|
-
|
29
|
+
## [0.0.1] - [2015-05-21]
|
18
30
|
### Added
|
19
31
|
- initial release
|
data/README.md
CHANGED
data/bin/metrics-resque.rb
CHANGED
@@ -45,6 +45,12 @@ class ResqueMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
45
45
|
description: 'Redis port',
|
46
46
|
default: '6379'
|
47
47
|
|
48
|
+
option :db,
|
49
|
+
short: '-d DB',
|
50
|
+
long: '--db DB',
|
51
|
+
description: 'Redis DB',
|
52
|
+
default: '0'
|
53
|
+
|
48
54
|
option :namespace,
|
49
55
|
description: 'Resque namespace',
|
50
56
|
short: '-n NAMESPACE',
|
@@ -58,7 +64,7 @@ class ResqueMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
58
64
|
default: "#{Socket.gethostname}.resque"
|
59
65
|
|
60
66
|
def run
|
61
|
-
redis = Redis.new(host: config[:hostname], port: config[:port])
|
67
|
+
redis = Redis.new(host: config[:hostname], port: config[:port], db: config[:db])
|
62
68
|
Resque.redis = redis
|
63
69
|
Resque.redis.namespace = config[:namespace]
|
64
70
|
count = Resque::Failure::Redis.count
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-resque
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sensu-Plugins and contributors
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
|
31
31
|
HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2015-
|
33
|
+
date: 2015-07-11 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: resque
|
@@ -61,61 +61,61 @@ dependencies:
|
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: 1.1.0
|
63
63
|
- !ruby/object:Gem::Dependency
|
64
|
-
name:
|
64
|
+
name: bundler
|
65
65
|
requirement: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
69
|
+
version: '1.7'
|
70
70
|
type: :development
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
76
|
+
version: '1.7'
|
77
77
|
- !ruby/object:Gem::Dependency
|
78
|
-
name:
|
78
|
+
name: codeclimate-test-reporter
|
79
79
|
requirement: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '0.
|
83
|
+
version: '0.4'
|
84
84
|
type: :development
|
85
85
|
prerelease: false
|
86
86
|
version_requirements: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
88
|
- - "~>"
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version: '0.
|
90
|
+
version: '0.4'
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
|
-
name:
|
92
|
+
name: github-markup
|
93
93
|
requirement: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
95
|
- - "~>"
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: '3
|
97
|
+
version: '1.3'
|
98
98
|
type: :development
|
99
99
|
prerelease: false
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: '3
|
104
|
+
version: '1.3'
|
105
105
|
- !ruby/object:Gem::Dependency
|
106
|
-
name:
|
106
|
+
name: pry
|
107
107
|
requirement: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: '
|
111
|
+
version: '0.10'
|
112
112
|
type: :development
|
113
113
|
prerelease: false
|
114
114
|
version_requirements: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
116
|
- - "~>"
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: '
|
118
|
+
version: '0.10'
|
119
119
|
- !ruby/object:Gem::Dependency
|
120
120
|
name: rake
|
121
121
|
requirement: !ruby/object:Gem::Requirement
|
@@ -131,61 +131,61 @@ dependencies:
|
|
131
131
|
- !ruby/object:Gem::Version
|
132
132
|
version: '10.0'
|
133
133
|
- !ruby/object:Gem::Dependency
|
134
|
-
name:
|
134
|
+
name: redcarpet
|
135
135
|
requirement: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
137
|
- - "~>"
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version: '
|
139
|
+
version: '3.2'
|
140
140
|
type: :development
|
141
141
|
prerelease: false
|
142
142
|
version_requirements: !ruby/object:Gem::Requirement
|
143
143
|
requirements:
|
144
144
|
- - "~>"
|
145
145
|
- !ruby/object:Gem::Version
|
146
|
-
version: '
|
146
|
+
version: '3.2'
|
147
147
|
- !ruby/object:Gem::Dependency
|
148
|
-
name:
|
148
|
+
name: rspec
|
149
149
|
requirement: !ruby/object:Gem::Requirement
|
150
150
|
requirements:
|
151
151
|
- - "~>"
|
152
152
|
- !ruby/object:Gem::Version
|
153
|
-
version: '3.
|
153
|
+
version: '3.1'
|
154
154
|
type: :development
|
155
155
|
prerelease: false
|
156
156
|
version_requirements: !ruby/object:Gem::Requirement
|
157
157
|
requirements:
|
158
158
|
- - "~>"
|
159
159
|
- !ruby/object:Gem::Version
|
160
|
-
version: '3.
|
160
|
+
version: '3.1'
|
161
161
|
- !ruby/object:Gem::Dependency
|
162
|
-
name:
|
162
|
+
name: rubocop
|
163
163
|
requirement: !ruby/object:Gem::Requirement
|
164
164
|
requirements:
|
165
|
-
- -
|
165
|
+
- - '='
|
166
166
|
- !ruby/object:Gem::Version
|
167
|
-
version: '0.
|
167
|
+
version: '0.30'
|
168
168
|
type: :development
|
169
169
|
prerelease: false
|
170
170
|
version_requirements: !ruby/object:Gem::Requirement
|
171
171
|
requirements:
|
172
|
-
- -
|
172
|
+
- - '='
|
173
173
|
- !ruby/object:Gem::Version
|
174
|
-
version: '0.
|
174
|
+
version: '0.30'
|
175
175
|
- !ruby/object:Gem::Dependency
|
176
|
-
name:
|
176
|
+
name: yard
|
177
177
|
requirement: !ruby/object:Gem::Requirement
|
178
178
|
requirements:
|
179
179
|
- - "~>"
|
180
180
|
- !ruby/object:Gem::Version
|
181
|
-
version: '0.
|
181
|
+
version: '0.8'
|
182
182
|
type: :development
|
183
183
|
prerelease: false
|
184
184
|
version_requirements: !ruby/object:Gem::Requirement
|
185
185
|
requirements:
|
186
186
|
- - "~>"
|
187
187
|
- !ruby/object:Gem::Version
|
188
|
-
version: '0.
|
188
|
+
version: '0.8'
|
189
189
|
description: Sensu plugins for resque
|
190
190
|
email: "<sensu-users@googlegroups.com>"
|
191
191
|
executables:
|
metadata.gz.sig
CHANGED
Binary file
|