presto-metrics 0.3.7 → 0.3.8

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: 20f88464eb58713f773bc24d7f516f3f4a31f819
4
- data.tar.gz: 8d1598547abeaf89260ef9d20b87824bb379bd25
3
+ metadata.gz: dbbf348083479afcf19bae2f803048d9670ce93e
4
+ data.tar.gz: 394b1e332c7d5c951194dfa042ca1d48ac5d6f4d
5
5
  SHA512:
6
- metadata.gz: b22ce44ca5bca80e2b23054afa1eb7d95a04e60f8badad6140bd657d5df0a0f8c17bf48e04fe5bc28afebf62d40478cabc77c508c7e0c973c8483aaba2239b14
7
- data.tar.gz: af635b4094ab5fe5f7c1d026ffc295ad35594f11e0b70620decac778420779956ac9118a16ac1bda5152a71a4a826ae1106f7859c4e64ab01695aafbcb4921c5
6
+ metadata.gz: 5fb347c82a24cdd4ba8852784903ab788ea353475e5e1ae808f673895bcd09e6b5f92c2e6e1fc0d52270d1918e7fc671b8e61b85c63d08ad698549ccbff4edb1
7
+ data.tar.gz: 53bcaf2db51f5076a071b8eca41685158af78a8d4a215de271c867241466f53eb612b5370d0d12b65fc2e9491c84db8e4b49ebf2c6e8da1c1814a71f34c4cabb
data/README.md CHANGED
@@ -61,6 +61,7 @@ client.memory_usage_metrics # java.lang:Type=Memory
61
61
  client.os_metrics # java.lang:type=OperatingSystm
62
62
  client.gc_cms_metrics # java.lang:type=GarbageCollector,name=ConcurrentMarkSweep
63
63
  client.gc_parnew_metrics # java.lang:type=GarbageCollector,name=ParNew
64
+ client.gc_g1_metrics # java.lang:type=GarbageCollector,name=G1
64
65
  client.query_manager_metrics # com.facebook.presto.execution:name=QueryManager
65
66
  client.query_execution_metrics # com.facebook.presto.execution:name=QueryExecution
66
67
  client.node_scheduler_metrics # com.facebook.presto.execution:name=NodeScheduler
@@ -144,6 +144,10 @@ module Presto
144
144
  get_metrics('java.lang:type=GarbageCollector,name=ParNew', target_attr)
145
145
  end
146
146
 
147
+ def gc_g1_metrics(target_attr=[])
148
+ get_metrics('java.lang:type=GarbageCollector,name=G1', target_attr)
149
+ end
150
+
147
151
  def os_metrics(target_attr=[])
148
152
  get_metrics('java.lang:type=OperatingSystem', target_attr)
149
153
  end
@@ -1,5 +1,5 @@
1
1
  module Presto
2
2
  module Metrics
3
- VERSION = '0.3.7'
3
+ VERSION = '0.3.8'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: presto-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taro L. Saito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-19 00:00:00.000000000 Z
11
+ date: 2015-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler