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 +4 -4
- data/lib/bipbip/plugin/elasticsearch.rb +15 -15
- data/lib/bipbip/plugin/fastcgi_php_fpm.rb +1 -1
- data/lib/bipbip/plugin/fastcgi_php_opcache.rb +3 -3
- data/lib/bipbip/plugin/janus_rtpbroadcast.rb +2 -2
- data/lib/bipbip/plugin/memcached.rb +4 -4
- data/lib/bipbip/plugin/mongodb.rb +7 -7
- data/lib/bipbip/plugin/mysql.rb +11 -11
- data/lib/bipbip/plugin/network.rb +4 -4
- data/lib/bipbip/plugin/nginx.rb +4 -4
- data/lib/bipbip/plugin/redis.rb +1 -1
- data/lib/bipbip/plugin/resque.rb +4 -4
- 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: cc3de54f2662efde9b86889c57600b0c4d3834be
|
4
|
+
data.tar.gz: 7e0efa6da747bdff14099cb94372977f4007922a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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: '
|
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: '
|
15
|
-
{ name: 'search_query_time', type: '
|
16
|
-
{ name: 'search_fetch_total', type: '
|
17
|
-
{ name: 'search_fetch_time', type: '
|
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: '
|
20
|
-
{ name: 'get_time', type: '
|
21
|
-
{ name: 'get_exists_total', type: '
|
22
|
-
{ name: 'get_exists_time', type: '
|
23
|
-
{ name: 'get_missing_total', type: '
|
24
|
-
{ name: 'get_missing_time', type: '
|
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: '
|
27
|
-
{ name: 'indexing_index_time', type: '
|
28
|
-
{ name: 'indexing_delete_total', type: '
|
29
|
-
{ name: 'indexing_delete_time', type: '
|
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: '
|
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: '
|
10
|
-
{ name: 'hits', type: '
|
11
|
-
{ name: 'oom_restarts', type: '
|
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: '
|
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: '
|
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: '
|
10
|
-
{ name: 'cmd_set', type: '
|
11
|
-
{ name: 'get_misses', type: '
|
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: '
|
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: '
|
8
|
-
{ name: 'op_queries', type: '
|
9
|
-
{ name: 'op_updates', type: '
|
10
|
-
{ name: 'op_deletes', type: '
|
11
|
-
{ name: 'op_getmores', type: '
|
12
|
-
{ name: 'op_commands', type: '
|
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: '
|
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' },
|
data/lib/bipbip/plugin/mysql.rb
CHANGED
@@ -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: '
|
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: '
|
14
|
+
{ name: 'Created_tmp_disk_tables', type: 'gauge', unit: 'Tables' },
|
15
15
|
|
16
|
-
{ name: 'Queries', type: '
|
17
|
-
{ name: 'Slow_queries', type: '
|
16
|
+
{ name: 'Queries', type: 'gauge', unit: 'Queries' },
|
17
|
+
{ name: 'Slow_queries', type: 'gauge', unit: 'Queries' },
|
18
18
|
|
19
|
-
{ name: 'Table_locks_immediate', type: '
|
20
|
-
{ name: 'Table_locks_waited', type: '
|
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: '
|
26
|
-
{ name: 'Com_delete', type: '
|
27
|
-
{ name: 'Com_insert', type: '
|
28
|
-
{ name: 'Com_update', type: '
|
29
|
-
{ name: 'Com_replace', type: '
|
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: '
|
7
|
-
{ name: 'rx_dropped', type: '
|
8
|
-
{ name: 'tx_errors', type: '
|
9
|
-
{ name: 'tx_dropped', type: '
|
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
|
|
data/lib/bipbip/plugin/nginx.rb
CHANGED
@@ -2,10 +2,10 @@ module Bipbip
|
|
2
2
|
class Plugin::Nginx < Plugin
|
3
3
|
def metrics_schema
|
4
4
|
[
|
5
|
-
{ name: 'connections_accepts', type: '
|
6
|
-
{ name: 'connections_handled', type: '
|
7
|
-
{ name: 'connections_dropped', type: '
|
8
|
-
{ name: 'connections_requests', type: '
|
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' },
|
data/lib/bipbip/plugin/redis.rb
CHANGED
@@ -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: '
|
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' },
|
data/lib/bipbip/plugin/resque.rb
CHANGED
@@ -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: '
|
9
|
-
{ name: 'num_idle_workers', type: '
|
10
|
-
{ name: 'num_active_workers', type: '
|
11
|
-
{ name: 'num_failures', type: '
|
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
|
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.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-
|
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.
|
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
|