statsd-instrument 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/statsd/instrument/assertions.rb +12 -0
- data/lib/statsd/instrument/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 240e3752c38f5c2f02f186943f4ccc13d4718388
|
4
|
+
data.tar.gz: c484c1d88e937d987132a82976f080a9d3a3c4bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd2dab9c51b8d18cf132908212cb3576252863896ed51a7bdf3bb0886f9a32c72c7352e4a5df9f5265aeb62177f3e80822c283b82b2f1196d5ff09158add8acc
|
7
|
+
data.tar.gz: 6dc43d662fbf635a6414c74fdb34e87bcf2462376eab014a5f728d0846e4436432b01111746bdb1659683a26df28ffa29b75f14746313032fc6e300d12ff4a03
|
@@ -27,6 +27,18 @@ module StatsD::Instrument::Assertions
|
|
27
27
|
assert_statsd_call(:g, metric_name, options, &block)
|
28
28
|
end
|
29
29
|
|
30
|
+
def assert_statsd_histogram(metric_name, options = {}, &block)
|
31
|
+
assert_statsd_call(:h, metric_name, options, &block)
|
32
|
+
end
|
33
|
+
|
34
|
+
def assert_statsd_set(metric_name, options = {}, &block)
|
35
|
+
assert_statsd_call(:s, metric_name, options, &block)
|
36
|
+
end
|
37
|
+
|
38
|
+
def assert_statsd_key_value(metric_name, options = {}, &block)
|
39
|
+
assert_statsd_call(:kv, metric_name, options, &block)
|
40
|
+
end
|
41
|
+
|
30
42
|
private
|
31
43
|
|
32
44
|
def assert_statsd_call(metric_type, metric_name, options = {}, &block)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: statsd-instrument
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jesse Storimer
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-05-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.0.
|
112
|
+
rubygems_version: 2.0.14
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: A StatsD client for Ruby apps
|
@@ -124,3 +124,4 @@ test_files:
|
|
124
124
|
- test/statsd_test.rb
|
125
125
|
- test/test_helper.rb
|
126
126
|
- test/udp_backend_test.rb
|
127
|
+
has_rdoc:
|