datadog_metrics 1.0.0 → 1.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c4854b755cf8dfd6d6cb3c0ddc83c368a8733efb6d99ad6dbfddcd83e706677
4
- data.tar.gz: 1b0168cb2249f4b2191b0d68b3cd52cd311d860f848e0e03e607094c12cbb9a0
3
+ metadata.gz: a6c33c6e944a8a9b7ebf7bebc05fcae8c744c8fc268e938ab8cd1558b07366df
4
+ data.tar.gz: cb2520c9eaaed8c0d2734ff5438d92052247647672ce02ca344a76b6792f71dd
5
5
  SHA512:
6
- metadata.gz: 4c82ea521485affcfc97f9ba8845716b3260aabf20c861ef356d88f2b0b45fd79b9d5262185b167fd391e1c66ceaef0f4d24369c05037d1027228bc1f282fcae
7
- data.tar.gz: a651fb8a9d560c8aea596ae534ed9da1138e7a9280f4668a919f235e43bf512b178193370a21e8c4ff2d4e99b3bb630e94acaecd439f6e4db418b744549f55bb
6
+ metadata.gz: 12c21c49062cdc25655cc74f9d6b3e940b62221e0dd312c3ec749591f2acd3ea57e62a7d073b51d30581b07bc2a5e9bad1e805031a57a607494b00bc43741ea3
7
+ data.tar.gz: f7b9d603c49171c7f49febe7b96543c47fd6c82e5e0082f4f85e62228f9206b281fc5be813e057fc751296af2bb09d6bcb1573805a071e87118e9b274b3c020e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.1.0
2
+
3
+ Add ting_with_tags method
4
+
1
5
  # 1.0.0
2
6
 
3
7
  Initial release
@@ -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
@@ -1,3 +1,3 @@
1
1
  class DatadogMetrics
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  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.0.0
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 00:00:00.000000000 Z
11
+ date: 2020-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dogstatsd-ruby