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 +4 -4
- data/README.md +1 -0
- data/lib/presto/metrics/client.rb +4 -0
- data/lib/presto/metrics/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbbf348083479afcf19bae2f803048d9670ce93e
|
4
|
+
data.tar.gz: 394b1e332c7d5c951194dfa042ca1d48ac5d6f4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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-
|
11
|
+
date: 2015-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|