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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 696b01837feaa687ba9e02fe71a5ad70421c9234ce97117f20d31ba7555ac4ae
4
- data.tar.gz: 4569a0be36909365621cfa9835f998d72da34dffd9214ff0c4ac9f6bee6650d2
3
+ metadata.gz: ea07999ebe98551b3c7385d81762e9ece4515cfb48391eff869cb866762168a0
4
+ data.tar.gz: c36e82b2c8ade6b661d4626904495742dfe2f79b31d7f9bd1c544b9da7808f4c
5
5
  SHA512:
6
- metadata.gz: 62f9d3c9f8bdf74c3b1b9039c45d893f709cf70772d41e7c27287a990e4e5c4c3256d108bd9ed62b62ddd45c7be8e6f96953b13b87e9af790bbb948cf71c4232
7
- data.tar.gz: '008829c8e8b217934c4ba28049e66191e9bd1f228035745e9f5811f567665ab2f95de20dd39860fb79ec910b8b766cafe2fb363a71e29c960727fed7d24ddf84'
6
+ metadata.gz: 5f4776b1a3e8bc229e1c772d0cba605f25614d8ef2eb633bd8a726e0e8717ec35dcabd84e6079dde466dfe01267a1107d6ee5ed401b6cb60b05424486e3cb18c
7
+ data.tar.gz: d525504e4e188f13713fac265df69d011f64f4b4cbd1f01bf8508c047632b2b010cc5277ee928fbc5daed1e01849adf5fe3000166bbefabb730e7db8a3b80b2c
@@ -76,6 +76,7 @@ module Deimos
76
76
  )
77
77
  end
78
78
  else
79
+ Rails.logger.info(Deimos.config.metrics)
79
80
  Deimos.config.metrics&.increment(
80
81
  'publish_error',
81
82
  by: event.payload[:message_count] || 1
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deimos
4
- VERSION = '1.23.1-beta5'
4
+ VERSION = '1.23.1-beta6'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deimos-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.23.1.pre.beta5
4
+ version: 1.23.1.pre.beta6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner