bipbip 0.7.13 → 0.7.14

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: eca44f0dab1044cad06ca736a099f7500255d83b
4
- data.tar.gz: a8312aea00f2ad35aa0faae38087e3810d8e90e1
3
+ metadata.gz: cc3de54f2662efde9b86889c57600b0c4d3834be
4
+ data.tar.gz: 7e0efa6da747bdff14099cb94372977f4007922a
5
5
  SHA512:
6
- metadata.gz: 9c0715d3121533927d6adcf3f38f24c259120c16661bbd8f115dd1cb0d92241ebd1df9337522d51c0d011e72baefaca2565eb7344a228e60c8291bd494bd7d53
7
- data.tar.gz: bf3097282880cb47ac5e593e88ea9b509ff7b31b3e891e2bac1d8f78d1f072578c9c092ba6c60b319a25d9f6f8d2e1b54f81586ffd4fa9147cf1ecb3748a89ed
6
+ metadata.gz: 746e20f4f91f2be51eec86770dffe7c2e87b1e6a541e7360f022a18cd819fe5cb87fd8b92218da44bcb0b75fa4e569e0f188f0ea3812d342bc0824beb0b78aed
7
+ data.tar.gz: 8dd82e10825c5a39855d1379c88e8a09d93cf262ec81337af4e414de0dbf0f5f34e92e65344c32127a4909bdcfac4375c0879fbd1a6e813e61cf97e4e287ed2f
@@ -8,25 +8,25 @@ module Bipbip
8
8
  [
9
9
  { name: 'store_size', type: 'gauge', unit: 'b' },
10
10
  { name: 'docs_count', type: 'gauge', unit: 'Docs' },
11
- { name: 'docs_deleted', type: 'counter', unit: 'Deleted' },
11
+ { name: 'docs_deleted', type: 'gauge', unit: 'Deleted' },
12
12
  { name: 'segments_count', type: 'gauge', unit: 'Segments' },
13
13
 
14
- { name: 'search_query_total', type: 'counter', unit: 'Queries' },
15
- { name: 'search_query_time', type: 'counter', unit: 'Seconds' },
16
- { name: 'search_fetch_total', type: 'counter', unit: 'Fetches' },
17
- { name: 'search_fetch_time', type: 'counter', unit: 'Seconds' },
14
+ { name: 'search_query_total', type: 'gauge', unit: 'Queries' },
15
+ { name: 'search_query_time', type: 'gauge', unit: 'Seconds' },
16
+ { name: 'search_fetch_total', type: 'gauge', unit: 'Fetches' },
17
+ { name: 'search_fetch_time', type: 'gauge', unit: 'Seconds' },
18
18
 
19
- { name: 'get_total', type: 'counter', unit: 'Gets' },
20
- { name: 'get_time', type: 'counter', unit: 'Seconds' },
21
- { name: 'get_exists_total', type: 'counter', unit: 'Exists' },
22
- { name: 'get_exists_time', type: 'counter', unit: 'Seconds' },
23
- { name: 'get_missing_total', type: 'counter', unit: 'Missing' },
24
- { name: 'get_missing_time', type: 'counter', unit: 'Seconds' },
19
+ { name: 'get_total', type: 'gauge', unit: 'Gets' },
20
+ { name: 'get_time', type: 'gauge', unit: 'Seconds' },
21
+ { name: 'get_exists_total', type: 'gauge', unit: 'Exists' },
22
+ { name: 'get_exists_time', type: 'gauge', unit: 'Seconds' },
23
+ { name: 'get_missing_total', type: 'gauge', unit: 'Missing' },
24
+ { name: 'get_missing_time', type: 'gauge', unit: 'Seconds' },
25
25
 
26
- { name: 'indexing_index_total', type: 'counter', unit: 'Indexes' },
27
- { name: 'indexing_index_time', type: 'counter', unit: 'Seconds' },
28
- { name: 'indexing_delete_total', type: 'counter', unit: 'Deletes' },
29
- { name: 'indexing_delete_time', type: 'counter', unit: 'Seconds' },
26
+ { name: 'indexing_index_total', type: 'gauge', unit: 'Indexes' },
27
+ { name: 'indexing_index_time', type: 'gauge', unit: 'Seconds' },
28
+ { name: 'indexing_delete_total', type: 'gauge', unit: 'Deletes' },
29
+ { name: 'indexing_delete_time', type: 'gauge', unit: 'Seconds' },
30
30
 
31
31
  { name: 'cache_filter_size', type: 'gauge', unit: 'b' },
32
32
  { name: 'cache_filter_evictions', type: 'gauge', unit: 'b' },
@@ -2,7 +2,7 @@ module Bipbip
2
2
  class Plugin::FastcgiPhpFpm < Plugin
3
3
  def metrics_schema
4
4
  [
5
- { name: 'accepted conn', type: 'counter', unit: 'Connections' },
5
+ { name: 'accepted conn', type: 'gauge', unit: 'Connections' },
6
6
  { name: 'listen queue', type: 'gauge', unit: 'Connections' },
7
7
  { name: 'active processes', type: 'gauge', unit: 'Processes' }
8
8
  ]
@@ -6,9 +6,9 @@ module Bipbip
6
6
  { name: 'current_wasted_percentage', type: 'gauge', unit: '%' },
7
7
  { name: 'num_cached_keys', type: 'gauge', unit: 'Keys' },
8
8
  { name: 'hit_rate', type: 'gauge', unit: '%' },
9
- { name: 'misses', type: 'counter', unit: 'Misses' },
10
- { name: 'hits', type: 'counter', unit: 'Hits' },
11
- { name: 'oom_restarts', type: 'counter', unit: 'Restarts' }
9
+ { name: 'misses', type: 'gauge', unit: 'Misses' },
10
+ { name: 'hits', type: 'gauge', unit: 'Hits' },
11
+ { name: 'oom_restarts', type: 'gauge', unit: 'Restarts' }
12
12
  ]
13
13
  end
14
14
 
@@ -13,10 +13,10 @@ module Bipbip
13
13
  { name: 'streams_zero_bitrate_count', type: 'gauge', unit: 'Streams' },
14
14
  { name: 'streams_packet_loss_audio_max', type: 'gauge', unit: '%' },
15
15
  { name: 'streams_packet_loss_audio_avg', type: 'gauge', unit: '%' },
16
- { name: 'streams_packet_loss_audio_count', type: 'counter', unit: 'Packets' },
16
+ { name: 'streams_packet_loss_audio_count', type: 'gauge', unit: 'Packets' },
17
17
  { name: 'streams_packet_loss_video_max', type: 'gauge', unit: '%' },
18
18
  { name: 'streams_packet_loss_video_avg', type: 'gauge', unit: '%' },
19
- { name: 'streams_packet_loss_video_count', type: 'counter', unit: 'Packets' }
19
+ { name: 'streams_packet_loss_video_count', type: 'gauge', unit: 'Packets' }
20
20
  ]
21
21
  end
22
22
 
@@ -6,11 +6,11 @@ module Bipbip
6
6
  class Plugin::Memcached < Plugin
7
7
  def metrics_schema
8
8
  [
9
- { name: 'cmd_get', type: 'counter' },
10
- { name: 'cmd_set', type: 'counter' },
11
- { name: 'get_misses', type: 'counter' },
9
+ { name: 'cmd_get', type: 'gauge' },
10
+ { name: 'cmd_set', type: 'gauge' },
11
+ { name: 'get_misses', type: 'gauge' },
12
12
  { name: 'bytes', type: 'gauge', unit: 'b' },
13
- { name: 'evictions', type: 'counter' }
13
+ { name: 'evictions', type: 'gauge' }
14
14
  ]
15
15
  end
16
16
 
@@ -4,16 +4,16 @@ module Bipbip
4
4
  class Plugin::Mongodb < Plugin
5
5
  def metrics_schema
6
6
  [
7
- { name: 'op_inserts', type: 'counter' },
8
- { name: 'op_queries', type: 'counter' },
9
- { name: 'op_updates', type: 'counter' },
10
- { name: 'op_deletes', type: 'counter' },
11
- { name: 'op_getmores', type: 'counter' },
12
- { name: 'op_commands', type: 'counter' },
7
+ { name: 'op_inserts', type: 'gauge' },
8
+ { name: 'op_queries', type: 'gauge' },
9
+ { name: 'op_updates', type: 'gauge' },
10
+ { name: 'op_deletes', type: 'gauge' },
11
+ { name: 'op_getmores', type: 'gauge' },
12
+ { name: 'op_commands', type: 'gauge' },
13
13
  { name: 'connections_current', type: 'gauge' },
14
14
  { name: 'mem_resident', type: 'gauge', unit: 'MB' },
15
15
  { name: 'mem_mapped', type: 'gauge', unit: 'MB' },
16
- { name: 'mem_pagefaults', type: 'counter', unit: 'faults' },
16
+ { name: 'mem_pagefaults', type: 'gauge', unit: 'faults' },
17
17
  { name: 'globalLock_currentQueue', type: 'gauge' },
18
18
  { name: 'replication_lag', type: 'gauge', unit: 'Seconds' },
19
19
  { name: 'slow_queries_count', type: 'gauge_f', unit: 'Queries' },
@@ -5,28 +5,28 @@ module Bipbip
5
5
  def metrics_schema
6
6
  [
7
7
  { name: 'Max_used_connections', type: 'gauge', unit: 'Connections' },
8
- { name: 'Connections', type: 'counter', unit: 'Connections' },
8
+ { name: 'Connections', type: 'gauge', unit: 'Connections' },
9
9
  { name: 'Threads_connected', type: 'gauge', unit: 'Threads' },
10
10
 
11
11
  { name: 'Slave_running', type: 'gauge', unit: 'Boolean' },
12
12
  { name: 'Seconds_Behind_Master', type: 'gauge', unit: 'Seconds' },
13
13
 
14
- { name: 'Created_tmp_disk_tables', type: 'counter', unit: 'Tables' },
14
+ { name: 'Created_tmp_disk_tables', type: 'gauge', unit: 'Tables' },
15
15
 
16
- { name: 'Queries', type: 'counter', unit: 'Queries' },
17
- { name: 'Slow_queries', type: 'counter', unit: 'Queries' },
16
+ { name: 'Queries', type: 'gauge', unit: 'Queries' },
17
+ { name: 'Slow_queries', type: 'gauge', unit: 'Queries' },
18
18
 
19
- { name: 'Table_locks_immediate', type: 'counter', unit: 'Locks' },
20
- { name: 'Table_locks_waited', type: 'counter', unit: 'Locks' },
19
+ { name: 'Table_locks_immediate', type: 'gauge', unit: 'Locks' },
20
+ { name: 'Table_locks_waited', type: 'gauge', unit: 'Locks' },
21
21
 
22
22
  { name: 'Processlist', type: 'gauge', unit: 'Processes' },
23
23
  { name: 'Processlist_Locked', type: 'gauge', unit: 'Processes' },
24
24
 
25
- { name: 'Com_select', type: 'counter', unit: 'Commands' },
26
- { name: 'Com_delete', type: 'counter', unit: 'Commands' },
27
- { name: 'Com_insert', type: 'counter', unit: 'Commands' },
28
- { name: 'Com_update', type: 'counter', unit: 'Commands' },
29
- { name: 'Com_replace', type: 'counter', unit: 'Commands' }
25
+ { name: 'Com_select', type: 'gauge', unit: 'Commands' },
26
+ { name: 'Com_delete', type: 'gauge', unit: 'Commands' },
27
+ { name: 'Com_insert', type: 'gauge', unit: 'Commands' },
28
+ { name: 'Com_update', type: 'gauge', unit: 'Commands' },
29
+ { name: 'Com_replace', type: 'gauge', unit: 'Commands' }
30
30
  ]
31
31
  end
32
32
 
@@ -3,10 +3,10 @@ module Bipbip
3
3
  def metrics_schema
4
4
  [
5
5
  { name: 'connections_total', type: 'gauge', unit: 'Connections' },
6
- { name: 'rx_errors', type: 'counter', unit: 'Errors' },
7
- { name: 'rx_dropped', type: 'counter', unit: 'Packets' },
8
- { name: 'tx_errors', type: 'counter', unit: 'Errors' },
9
- { name: 'tx_dropped', type: 'counter', unit: 'Packets' }
6
+ { name: 'rx_errors', type: 'gauge', unit: 'Errors' },
7
+ { name: 'rx_dropped', type: 'gauge', unit: 'Packets' },
8
+ { name: 'tx_errors', type: 'gauge', unit: 'Errors' },
9
+ { name: 'tx_dropped', type: 'gauge', unit: 'Packets' }
10
10
  ]
11
11
  end
12
12
 
@@ -2,10 +2,10 @@ module Bipbip
2
2
  class Plugin::Nginx < Plugin
3
3
  def metrics_schema
4
4
  [
5
- { name: 'connections_accepts', type: 'counter', unit: 'Connections' },
6
- { name: 'connections_handled', type: 'counter', unit: 'Connections' },
7
- { name: 'connections_dropped', type: 'counter', unit: 'Connections' },
8
- { name: 'connections_requests', type: 'counter', unit: 'Requests' },
5
+ { name: 'connections_accepts', type: 'gauge', unit: 'Connections' },
6
+ { name: 'connections_handled', type: 'gauge', unit: 'Connections' },
7
+ { name: 'connections_dropped', type: 'gauge', unit: 'Connections' },
8
+ { name: 'connections_requests', type: 'gauge', unit: 'Requests' },
9
9
  { name: 'active_total', type: 'gauge', unit: 'Connections' },
10
10
  { name: 'active_reading', type: 'gauge', unit: 'Connections' },
11
11
  { name: 'active_writing', type: 'gauge', unit: 'Connections' },
@@ -6,7 +6,7 @@ module Bipbip
6
6
  class Plugin::Redis < Plugin
7
7
  def metrics_schema
8
8
  [
9
- { name: 'total_commands_processed', type: 'counter', unit: 'Commands' },
9
+ { name: 'total_commands_processed', type: 'gauge', unit: 'Commands' },
10
10
  { name: 'used_memory', type: 'gauge', unit: 'b' },
11
11
  { name: 'used_memory_rss', type: 'gauge', unit: 'b' },
12
12
  { name: 'mem_fragmentation_ratio', type: 'gauge', unit: 'Frag' },
@@ -5,10 +5,10 @@ module Bipbip
5
5
  class Plugin::Resque < Plugin
6
6
  def metrics_schema
7
7
  schema_list = [
8
- { name: 'num_workers', type: 'counter', unit: 'Workers' },
9
- { name: 'num_idle_workers', type: 'counter', unit: 'Workers' },
10
- { name: 'num_active_workers', type: 'counter', unit: 'Workers' },
11
- { name: 'num_failures', type: 'counter', unit: 'Jobs' }
8
+ { name: 'num_workers', type: 'gauge', unit: 'Workers' },
9
+ { name: 'num_idle_workers', type: 'gauge', unit: 'Workers' },
10
+ { name: 'num_active_workers', type: 'gauge', unit: 'Workers' },
11
+ { name: 'num_failures', type: 'gauge', unit: 'Jobs' }
12
12
  ]
13
13
 
14
14
  with_resque_connection do
@@ -1,3 +1,3 @@
1
1
  module Bipbip
2
- VERSION = '0.7.13'.freeze
2
+ VERSION = '0.7.14'.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.13
4
+ version: 0.7.14
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: 2017-03-03 00:00:00.000000000 Z
13
+ date: 2017-04-19 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.6.8
346
+ rubygems_version: 2.2.2
347
347
  signing_key:
348
348
  specification_version: 4
349
349
  summary: Gather services data and store in CopperEgg