bipbip 0.1.3 → 0.1.4
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/mysql.rb +2 -1
- 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: 922affca778aa4d53f2fd5cdebdeb4ab2e1dc5a1
|
4
|
+
data.tar.gz: 834ae255344d30bb0dc5787e5d08a42d38a9cecb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 08f62601629c3face8e76a0e0da151c94599d322d68e5d0ea011ba169409f8dad873c19b5e7c2cf4ffc5c6427d0a9ae8c446dd0008f0bbe2561936f4a5502bff
|
7
|
+
data.tar.gz: 944e0e4d1707a0a85ecaf6689acb67e73d3641b522678e9b11f7bca30f87d5cdc755b87de21d771c1635a21064d5766dfacb284af18efff4fdb0554e372cfe01
|
data/lib/bipbip/plugin/mysql.rb
CHANGED
@@ -62,7 +62,8 @@ module Bipbip
|
|
62
62
|
processlist = mysql.query('SHOW PROCESSLIST')
|
63
63
|
stats['Processlist'] = processlist.count
|
64
64
|
processlist.each do |process|
|
65
|
-
|
65
|
+
state = process['State'].to_s
|
66
|
+
stats['Processlist_' + state.sub(' ', '_')] += 1 unless state.empty?
|
66
67
|
end
|
67
68
|
|
68
69
|
data = {}
|
data/lib/bipbip/version.rb
CHANGED