meter 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/meter/backends/datadog.rb +2 -2
- data/lib/meter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9476661d434f9769d38e42d874daa3ab0561a46a06bc11c35fdd914c440e396f
|
4
|
+
data.tar.gz: 3be994a160d65fbb5c189b785ade69be7d0f74d72cbe91a6bb4d4c7142a3cd3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78d139ec17af40fc8f1bc1c82428f6378f8c6547e17348ffa38bd3c1957f5298350675503ce8f05a49d9bed3ea03db06e7cb835f829fbc37c20031bfeac87811
|
7
|
+
data.tar.gz: ad7d717a4e2717dffe12389749d30e50c4bc8e6afdb811b4db4f67441b6ee0f55704e7e3e342dea62a1278ee6eafe1acd91b1ec8da602ca195fa7cfdbe80af1c
|
@@ -5,7 +5,7 @@ module Meter
|
|
5
5
|
class Datadog < ::Meter::Backends::Statsd
|
6
6
|
|
7
7
|
def self.supported_metrics
|
8
|
-
[:
|
8
|
+
[:counter, :gauge, :timing, :histogram]
|
9
9
|
end
|
10
10
|
|
11
11
|
def convert_to_backend_format(metric)
|
@@ -19,7 +19,7 @@ module Meter
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def statsd_type(metric)
|
22
|
-
types = {
|
22
|
+
types = {counter: 'c', gauge: 'g', timing: 'ms', histogram: 'h'}
|
23
23
|
types[metric.type]
|
24
24
|
end
|
25
25
|
|
data/lib/meter/version.rb
CHANGED