datadog_metrics 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/datadog_metrics.rb +4 -0
- data/lib/datadog_metrics/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6c33c6e944a8a9b7ebf7bebc05fcae8c744c8fc268e938ab8cd1558b07366df
|
4
|
+
data.tar.gz: cb2520c9eaaed8c0d2734ff5438d92052247647672ce02ca344a76b6792f71dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12c21c49062cdc25655cc74f9d6b3e940b62221e0dd312c3ec749591f2acd3ea57e62a7d073b51d30581b07bc2a5e9bad1e805031a57a607494b00bc43741ea3
|
7
|
+
data.tar.gz: f7b9d603c49171c7f49febe7b96543c47fd6c82e5e0082f4f85e62228f9206b281fc5be813e057fc751296af2bb09d6bcb1573805a071e87118e9b274b3c020e
|
data/CHANGELOG.md
CHANGED
data/lib/datadog_metrics.rb
CHANGED
@@ -52,6 +52,10 @@ class DatadogMetrics
|
|
52
52
|
@endpoint.count(metric, count, tags: format_tags(tags))
|
53
53
|
end
|
54
54
|
|
55
|
+
def timing_with_tags(metric, ms, tags)
|
56
|
+
@endpoint.timing(metric, ms, tags: format_tags(tags))
|
57
|
+
end
|
58
|
+
|
55
59
|
def increment_with_tags(metric, tags)
|
56
60
|
@endpoint.increment(metric, tags: format_tags(tags))
|
57
61
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: datadog_metrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Will Jessop
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dogstatsd-ruby
|