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 +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 +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41b558704dccb9db809d7dafb2c3c60442d8f93e
|
4
|
+
data.tar.gz: 9a87d0fdbe5aac87286d2aa7bfa3224a0c31c085
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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: '
|
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: '
|
15
|
-
{ name: 'search_query_time', type: '
|
16
|
-
{ name: 'search_fetch_total', type: '
|
17
|
-
{ name: 'search_fetch_time', type: '
|
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: '
|
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: '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: '
|
27
|
-
{ name: 'indexing_index_time', type: '
|
28
|
-
{ name: 'indexing_delete_total', type: '
|
29
|
-
{ name: 'indexing_delete_time', type: '
|
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: '
|
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: '
|
10
|
-
{ name: 'hits', type: '
|
11
|
-
{ name: 'oom_restarts', type: '
|
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: '
|
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: '
|
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: '
|
10
|
-
{ name: 'cmd_set', type: '
|
11
|
-
{ name: 'get_misses', type: '
|
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: '
|
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: '
|
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: '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: '
|
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' },
|
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: '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: '
|
14
|
+
{ name: 'Created_tmp_disk_tables', type: 'counter', unit: 'Tables' },
|
15
15
|
|
16
|
-
{ name: 'Queries', type: '
|
17
|
-
{ name: 'Slow_queries', type: '
|
16
|
+
{ name: 'Queries', type: 'counter', unit: 'Queries' },
|
17
|
+
{ name: 'Slow_queries', type: 'counter', unit: 'Queries' },
|
18
18
|
|
19
|
-
{ name: 'Table_locks_immediate', type: '
|
20
|
-
{ name: 'Table_locks_waited', type: '
|
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: '
|
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: '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: '
|
7
|
-
{ name: 'rx_dropped', type: '
|
8
|
-
{ name: 'tx_errors', type: '
|
9
|
-
{ name: 'tx_dropped', type: '
|
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
|
|
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: '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' },
|
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: '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' },
|
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: '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
|
data/lib/bipbip/version.rb
CHANGED