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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16fdb7060fac95aa36861da6c0ef00e2cf93ea8a
4
- data.tar.gz: b83c498c93518cf3e00c213f83adc802c32cf065
3
+ metadata.gz: f941fb989afaa352100d0f5abb6db11979061f1a
4
+ data.tar.gz: 02155b7336f3b851c825f35c7daa59c8f083e5fb
5
5
  SHA512:
6
- metadata.gz: b8c7e298b384f8073141186e410e998e4729ab8f06c0e7b97b8970b854fdf41ba169033c57ea5ca9e15941e2bbe49d43a7c73bbc9143a91cd0646101807074e6
7
- data.tar.gz: ddc205d79f1aa89fc6009fb3131687a41a6e11dde8476b6273bd81fb8fb1951c43059cc75864a7cea7dcdb1290274d4b7e01aa0e3a0c238bc669b28edb04a90e
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
@@ -1,3 +1,3 @@
1
1
  module Bipbip
2
- VERSION = '0.7.6'.freeze
2
+ VERSION = '0.7.7'.freeze
3
3
  end
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.6
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-10-12 00:00:00.000000000 Z
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.5.1
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