bipbip 0.7.14 → 0.7.15

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: cc3de54f2662efde9b86889c57600b0c4d3834be
4
- data.tar.gz: 7e0efa6da747bdff14099cb94372977f4007922a
3
+ metadata.gz: 41b558704dccb9db809d7dafb2c3c60442d8f93e
4
+ data.tar.gz: 9a87d0fdbe5aac87286d2aa7bfa3224a0c31c085
5
5
  SHA512:
6
- metadata.gz: 746e20f4f91f2be51eec86770dffe7c2e87b1e6a541e7360f022a18cd819fe5cb87fd8b92218da44bcb0b75fa4e569e0f188f0ea3812d342bc0824beb0b78aed
7
- data.tar.gz: 8dd82e10825c5a39855d1379c88e8a09d93cf262ec81337af4e414de0dbf0f5f34e92e65344c32127a4909bdcfac4375c0879fbd1a6e813e61cf97e4e287ed2f
6
+ metadata.gz: 1ece6820ae355f00eb8b92afb0eb79ed9151233125aa50c1e7364b84a505343850dfa8bfd654cf4b17c070fef8d0fab90d5e8ffd29cd836d3425c75081b1c007
7
+ data.tar.gz: 80c461c40878d23aa4621adcf804fc94685e6c66cbe23566842ab40c80277c898515d022a78adbedce35cdcdbe1dbbd075e80942c9a098260a7f69f731397a39
@@ -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: 'gauge', unit: 'Deleted' },
11
+ { name: 'docs_deleted', type: 'counter', unit: 'Deleted' },
12
12
  { name: 'segments_count', type: 'gauge', unit: 'Segments' },
13
13
 
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' },
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' },
18
18
 
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' },
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' },
25
25
 
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' },
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' },
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: 'gauge', unit: 'Connections' },
5
+ { name: 'accepted conn', type: 'counter', 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: 'gauge', unit: 'Misses' },
10
- { name: 'hits', type: 'gauge', unit: 'Hits' },
11
- { name: 'oom_restarts', type: 'gauge', unit: 'Restarts' }
9
+ { name: 'misses', type: 'counter', unit: 'Misses' },
10
+ { name: 'hits', type: 'counter', unit: 'Hits' },
11
+ { name: 'oom_restarts', type: 'counter', 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: 'gauge', unit: 'Packets' },
16
+ { name: 'streams_packet_loss_audio_count', type: 'counter', 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: 'gauge', unit: 'Packets' }
19
+ { name: 'streams_packet_loss_video_count', type: 'counter', 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: 'gauge' },
10
- { name: 'cmd_set', type: 'gauge' },
11
- { name: 'get_misses', type: 'gauge' },
9
+ { name: 'cmd_get', type: 'counter' },
10
+ { name: 'cmd_set', type: 'counter' },
11
+ { name: 'get_misses', type: 'counter' },
12
12
  { name: 'bytes', type: 'gauge', unit: 'b' },
13
- { name: 'evictions', type: 'gauge' }
13
+ { name: 'evictions', type: 'counter' }
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: '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' },
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' },
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: 'gauge', unit: 'faults' },
16
+ { name: 'mem_pagefaults', type: 'counter', 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: 'gauge', unit: 'Connections' },
8
+ { name: 'Connections', type: 'counter', 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: 'gauge', unit: 'Tables' },
14
+ { name: 'Created_tmp_disk_tables', type: 'counter', unit: 'Tables' },
15
15
 
16
- { name: 'Queries', type: 'gauge', unit: 'Queries' },
17
- { name: 'Slow_queries', type: 'gauge', unit: 'Queries' },
16
+ { name: 'Queries', type: 'counter', unit: 'Queries' },
17
+ { name: 'Slow_queries', type: 'counter', unit: 'Queries' },
18
18
 
19
- { name: 'Table_locks_immediate', type: 'gauge', unit: 'Locks' },
20
- { name: 'Table_locks_waited', type: 'gauge', unit: 'Locks' },
19
+ { name: 'Table_locks_immediate', type: 'counter', unit: 'Locks' },
20
+ { name: 'Table_locks_waited', type: 'counter', 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: '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' }
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' }
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: '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' }
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' }
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: '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' },
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' },
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: 'gauge', unit: 'Commands' },
9
+ { name: 'total_commands_processed', type: 'counter', 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: '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' }
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' }
12
12
  ]
13
13
 
14
14
  with_resque_connection do
@@ -1,3 +1,3 @@
1
1
  module Bipbip
2
- VERSION = '0.7.14'.freeze
2
+ VERSION = '0.7.15'.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.14
4
+ version: 0.7.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cargo Media