metriks-opentsdb 1.1.0 → 1.1.1

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: fd1aa05e0163e37b01dd3f16c60f1a63d58c1ec8
4
- data.tar.gz: 9939d0f12a964a885f635089f05827ed15251a31
3
+ metadata.gz: 24c5cd57ab5c2e1a20198517c8e548210630b6b5
4
+ data.tar.gz: 8beac0c4dddfb9220a6916349aba9a877040f50d
5
5
  SHA512:
6
- metadata.gz: 546c454b8151635f70bfb53ba164282ff2ae806a02bfc772309d1a75cf7611230d726e638c9b12d6523c8c24125a5d8d457644f626e419976d1932b51535d38b
7
- data.tar.gz: 00f1181babe382a7bdef39bedc3748e0a7506f065e0eeb93bec7e593e09bf8256b2e73a982bd690ee0d428c142fc623473fc0975714b109bf785e376e598b777
6
+ metadata.gz: f04b63379a7de32cfcc32a273cee00427749967766aa31bf9e76dc0f16df2c7a94481654ca4d04b723c66a2412f4075a5e2f4a16270be8cc74266c025879b364
7
+ data.tar.gz: 803f1cd94f17b46b042ef4c9709b1f7ed8183a14601203f235a5db6fcb1414e5b293db7637bcad5d90ce7807f637f3365b8faf0b72b7b986be48afc9055deca9
@@ -1,5 +1,5 @@
1
1
  require 'metriks/opentsdb_reporter'
2
2
 
3
3
  module MetriksOpenTSDB
4
- VERSION = '1.1.0'
4
+ VERSION = '1.1.1'
5
5
  end
@@ -75,6 +75,7 @@ module Metriks
75
75
  rescue Exception => ex
76
76
  if !@logger.nil?
77
77
  @logger.error(ex.message)
78
+ @logger.error(ex.stacktrace)
78
79
  end
79
80
  @on_error[ex] rescue nil
80
81
  end
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'metriks-opentsdb'
16
- s.version = '1.1.0'
16
+ s.version = '1.1.1'
17
17
  s.date = '2015-08-02'
18
18
 
19
19
  ## Make sure your summary is short. The description may be as long
@@ -147,7 +147,7 @@ describe "Rest Client" do
147
147
  @reporter = Metriks::OpenTSDBReporter.new(
148
148
  'http://localhost:4242',
149
149
  {:env => "test"},
150
- { :registry => @registry, :batch_size => 3 })
150
+ { :registry => @registry})
151
151
  stub_request(:post, "http://localhost:4242/api/put").
152
152
  with(:body => /^\[.*\]$/).
153
153
  to_return(:status => 200, :body => "", :headers => {})
@@ -183,7 +183,7 @@ describe "Rest Client" do
183
183
  end
184
184
 
185
185
  it "Send a five metric" do
186
- for i in 0..4 do
186
+ for i in 0..24 do
187
187
  @registry.counter("counter.testing.#{i}").increment
188
188
  end
189
189
  @reporter.submit @reporter.get_datapoints
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metriks-opentsdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rajat Venkatesh