metriks-opentsdb 1.1.0 → 1.1.1
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 +4 -4
- data/lib/metriks-opentsdb.rb +1 -1
- data/lib/metriks/opentsdb_reporter.rb +1 -0
- data/metriks-opentsdb.gemspec +1 -1
- data/spec/opentsdb_spec.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 24c5cd57ab5c2e1a20198517c8e548210630b6b5
|
|
4
|
+
data.tar.gz: 8beac0c4dddfb9220a6916349aba9a877040f50d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f04b63379a7de32cfcc32a273cee00427749967766aa31bf9e76dc0f16df2c7a94481654ca4d04b723c66a2412f4075a5e2f4a16270be8cc74266c025879b364
|
|
7
|
+
data.tar.gz: 803f1cd94f17b46b042ef4c9709b1f7ed8183a14601203f235a5db6fcb1414e5b293db7637bcad5d90ce7807f637f3365b8faf0b72b7b986be48afc9055deca9
|
data/lib/metriks-opentsdb.rb
CHANGED
data/metriks-opentsdb.gemspec
CHANGED
|
@@ -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.
|
|
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
|
data/spec/opentsdb_spec.rb
CHANGED
|
@@ -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
|
|
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..
|
|
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
|