bipbip 0.7.6 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bipbip/plugin/gearman.rb +4 -2
- data/lib/bipbip/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f941fb989afaa352100d0f5abb6db11979061f1a
|
4
|
+
data.tar.gz: 02155b7336f3b851c825f35c7daa59c8f083e5fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7691f2ff5ec9333e7ad52b33261a9bf1815741dab78b4bbc560a1d867a16942156b890ab89869876f6f17d984a4397f056b7e29aac5e70bc0f3d3f406317e52e
|
7
|
+
data.tar.gz: 614662716ef0d44b25e17dd93a0274cfe2dac73fbc19c3d3546b6c7196930c9ecda70c6eed83e4dbf32780a6e790e94dd90e81a964da3a2afda6ee2f6787dbdd
|
@@ -7,7 +7,8 @@ module Bipbip
|
|
7
7
|
def metrics_schema
|
8
8
|
[
|
9
9
|
{ name: 'jobs_queued_total', type: 'gauge', unit: 'Jobs' },
|
10
|
-
{ name: 'jobs_active_total', type: 'gauge', unit: 'Jobs' }
|
10
|
+
{ name: 'jobs_active_total', type: 'gauge', unit: 'Jobs' },
|
11
|
+
{ name: 'jobs_waiting_total', type: 'gauge', unit: 'Jobs' }
|
11
12
|
]
|
12
13
|
end
|
13
14
|
|
@@ -24,7 +25,8 @@ module Bipbip
|
|
24
25
|
|
25
26
|
{
|
26
27
|
jobs_queued_total: jobs_queued_total,
|
27
|
-
jobs_active_total: jobs_active_total
|
28
|
+
jobs_active_total: jobs_active_total,
|
29
|
+
jobs_waiting_total: (jobs_queued_total - jobs_active_total)
|
28
30
|
}
|
29
31
|
end
|
30
32
|
end
|
data/lib/bipbip/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bipbip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cargo Media
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-11-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: copperegg-revealmetrics
|
@@ -343,7 +343,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
343
343
|
version: '0'
|
344
344
|
requirements: []
|
345
345
|
rubyforge_project:
|
346
|
-
rubygems_version: 2.
|
346
|
+
rubygems_version: 2.6.7
|
347
347
|
signing_key:
|
348
348
|
specification_version: 4
|
349
349
|
summary: Gather services data and store in CopperEgg
|