bipbip 0.5.12 → 0.5.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3a0e4fc979f113befef4e0725d3cba8c33154a03
4
- data.tar.gz: e27b171296c1a042ffb36d66e75d0126635c11ce
3
+ metadata.gz: 290a0ee2638d2bbcc58de86a92d71b580f79150f
4
+ data.tar.gz: 6e17c85ccf63b06131e441039558f59cc9156eab
5
5
  SHA512:
6
- metadata.gz: ef55f273e5067c06b916dfe23042ec26219e05dd487d1603bdcfd4ea10e5b1e8adaf07ccd8f20d5f615dfe4ed22599d26c4996322872384e734f63f74b970cf4
7
- data.tar.gz: 03c72dc3aced0fa75575c8bbc95e863c60ef8de00fab94f452bd38dd6e5c11bd6fa730367b2904228609b7e3cb3fbbb96c055df92eddbabed120bf8e529ad8c7
6
+ metadata.gz: 024f1c30cfe0a47870956ac792dd5caee74a4da6a1dd7b90a462d39073bc4431f79ffd4ba620162e9fe19096039fb3bdd08f6d2955a025cefef951580bfad5b4
7
+ data.tar.gz: b3b3c2f989cc14bc5e105d8bb8ade3d74fa80c5c3b40e452d61c1976f86331631c0a285ebea055947159adeb842227f49fffe855ddf0440fb63857f43e3112af
@@ -62,7 +62,7 @@ module Bipbip
62
62
  data['replication_lag'] = replication_lag
63
63
  end
64
64
 
65
- data['slow_queries_count'] = fetch_slow_queries_count
65
+ data['slow_queries'] = fetch_slow_queries
66
66
 
67
67
  data
68
68
  end
@@ -103,7 +103,7 @@ module Bipbip
103
103
  old
104
104
  end
105
105
 
106
- def fetch_slow_queries_count
106
+ def fetch_slow_queries
107
107
  query = {'millis' => {'$gte' => slow_query_threshold}, 'ts' => {'$gte' => slow_query_last_check}}
108
108
  database_names_ignore = ['admin', 'system']
109
109
 
@@ -1,3 +1,3 @@
1
1
  module Bipbip
2
- VERSION = '0.5.12'
2
+ VERSION = '0.5.13'
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.5.12
4
+ version: 0.5.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cargo Media