vitals 0.9.1 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +2 -0
- data/lib/vitals/reporters/console_reporter.rb +4 -0
- data/lib/vitals/reporters/multi_reporter.rb +4 -0
- data/lib/vitals/reporters/statsd_reporter.rb +4 -2
- data/lib/vitals/version.rb +1 -1
- data/lib/vitals.rb +4 -0
- 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: ab55c272d50d7ca216629ddd5ba0a49235f29e1e
|
4
|
+
data.tar.gz: f3f0d35aaf47f42951e04644f8aba94aa4d59512
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8036411ce34c3b35b696d9ad604a93c7ffce42361906051db38f4aee99f1430ed03bf9d9f182b8d090b731d3025e06d0d7e92fa7dd4784f10fc2abc68c849432
|
7
|
+
data.tar.gz: c17f2810d26cb435de5bc4b32ec085245c95550a25cb9bc61ef8c625129fd720664df4bfa0d01dbe6acc9ba10d9991621c133d8c60d82ce08ebd125f13b50ae7
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -16,6 +16,10 @@ module Vitals::Reporters
|
|
16
16
|
print "#{@category} GAUGE #{self.format.format(m)} #{v}"
|
17
17
|
end
|
18
18
|
|
19
|
+
def count(m, v)
|
20
|
+
print "#{@category} COUNT #{self.format.format(m)} #{v}"
|
21
|
+
end
|
22
|
+
|
19
23
|
def timing(m, v)
|
20
24
|
print "#{@category} TIME #{self.format.format(m)} #{v}"
|
21
25
|
end
|
data/lib/vitals/version.rb
CHANGED
data/lib/vitals.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vitals
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dotan Nahum
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: statsd-ruby
|