deimos-ruby 1.23.1.pre.beta5 → 1.23.1.pre.beta6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/deimos/instrumentation.rb +1 -0
- data/lib/deimos/metrics/datadog.rb +2 -0
- data/lib/deimos/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: ea07999ebe98551b3c7385d81762e9ece4515cfb48391eff869cb866762168a0
|
4
|
+
data.tar.gz: c36e82b2c8ade6b661d4626904495742dfe2f79b31d7f9bd1c544b9da7808f4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f4776b1a3e8bc229e1c772d0cba605f25614d8ef2eb633bd8a726e0e8717ec35dcabd84e6079dde466dfe01267a1107d6ee5ed401b6cb60b05424486e3cb18c
|
7
|
+
data.tar.gz: d525504e4e188f13713fac265df69d011f64f4b4cbd1f01bf8508c047632b2b010cc5277ee928fbc5daed1e01849adf5fe3000166bbefabb730e7db8a3b80b2c
|
@@ -14,6 +14,7 @@ module Deimos
|
|
14
14
|
raise 'Metrics config must specify namespace' if config[:namespace].nil?
|
15
15
|
|
16
16
|
logger.info("DatadogMetricsProvider configured with: #{config}")
|
17
|
+
|
17
18
|
@client = ::Datadog::Statsd.new(
|
18
19
|
config[:host_ip],
|
19
20
|
config[:host_port],
|
@@ -24,6 +25,7 @@ module Deimos
|
|
24
25
|
|
25
26
|
# :nodoc:
|
26
27
|
def increment(metric_name, options={})
|
28
|
+
Rails.logger.info("Incrementing #{metric_name} #{options}")
|
27
29
|
@client.increment(metric_name, options)
|
28
30
|
end
|
29
31
|
|
data/lib/deimos/version.rb
CHANGED