hbase-metrics 0.0.2 → 0.0.3

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: 9b3c0c57d6307e139d9cb53c6059fdc6750590f2
4
- data.tar.gz: 79d639addbabbae39926bdf360aaced9e7c92712
3
+ metadata.gz: 829b23230ecb241acdf1030e70fedb73ec7ae504
4
+ data.tar.gz: 469f7698eca60301595360b0582b8d218909d5f0
5
5
  SHA512:
6
- metadata.gz: 12b9fd1b051e3f54e8f429ec10364fe126767e7f2d22344bf12e7111f6d1a887a10f836603024682b93a7bd983215abe5fa34c91ef2edf9ba6155e49b657ad6a
7
- data.tar.gz: 0aacc000de0f9e90349b25df73c1a9046beb9c0d6ffdae67d12351608a36c58d034af46e81f47a7903334df62a55b3b86ed2c4c7512c7d0c123ee86c1c40620f
6
+ metadata.gz: 57bfe65018b2d827856e0c48358f2b00cf4576b1be442998793c045fe1cb062664cc632dbb1a280144e8360e80daa383f25a7c632c0fd61e9f4d23449cf6a9f6
7
+ data.tar.gz: 3aec94743b1daf3dcae5a46b2f383f0180ca60b4fc11ec09f638b04dc5a232f9d4f3a07e87b6a13b2ed9c1d73e21115ddf55e1914ff8dde3dfe7faac37d380a0
@@ -41,5 +41,9 @@ module HBaseMetrics
41
41
  query_jmx('Hadoop:service=HBase,name=RegionServer,sub=IPC').first
42
42
  end
43
43
 
44
+ def replication
45
+ query_jmx("Hadoop:service=HBase,name=RegionServer,sub=Replication").first
46
+ end
47
+
44
48
  end
45
49
  end
@@ -1,3 +1,3 @@
1
1
  module HBaseMetrics
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hbase-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hironori Ogibayashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-06 00:00:00.000000000 Z
11
+ date: 2016-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler