zuora_connect 1.7.62 → 1.7.63

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
  SHA1:
3
- metadata.gz: 9b7e94e56358bce8673571ad585555bf2537e9d6
4
- data.tar.gz: 24e445662c99ccbe81c5308b0955fcf4348282c1
3
+ metadata.gz: dc3ad9b53c63ee42960247013dce936598cc7576
4
+ data.tar.gz: f09e336ce4bf00330a4100056263083f4bd8634b
5
5
  SHA512:
6
- metadata.gz: 4ec810a7084cfae739ca89f07ea082d6fe31e5a91aad6f0f043144d318dc61f8d291dcb1f9750c0a0e811f19a0a77a9dd41193435b1ba992ea5571352dce4cb6
7
- data.tar.gz: 2bdc6019b1a1b55263c41d3e7b6d7c8395d102cde07164e765001b6b12835441e19a8840c0f4eb5153f18c126b7c17cba459cf7fcf9e6bf7897972389a55da57
6
+ metadata.gz: 9a52c4e9c35904a06453865856f47c13410a6d7b67560c89bb25c71f5fdf2a68cb08c5c8bb89a7c135f016259e74e3a66c297feb2c3857d7400183334de5aa69
7
+ data.tar.gz: e72cd458ca1d99e7c28c32d34eb8fb999afb2f6eaff2a043f088fbf9a90fdc6f37ce5d61e74be40801d3e26bc5a7e29995062335c0718d41cff1d2c6b60a4171
@@ -19,9 +19,7 @@ module ZuoraConnect
19
19
  end
20
20
  rescue => ex
21
21
  self.host = nil
22
- Rails.logger.warn(self.format_metric_log('Telegraf', 'Failed to connect'))
23
- Rails.logger.warn(self.format_metric_log('Telegraf', ex.class))
24
- Rails.logger.warn(self.format_metric_log('Telegraf', ex.message))
22
+ Rails.logger.warn(self.format_metric_log('Telegraf', "Failed to connect: #{ex.class}"))
25
23
  end
26
24
 
27
25
  def write(direction: 'Unknown', tags: {}, values: {})
@@ -55,13 +53,10 @@ module ZuoraConnect
55
53
 
56
54
  def write_udp(series: '', tags: {}, values: {})
57
55
  return if !values.present?
58
-
59
56
  self.host.write InfluxDB::PointValue.new({series: series, tags: tags, values: values}).dump
60
57
  rescue => ex
61
58
  self.connect
62
- Rails.logger.warn(self.format_metric_log('Telegraf','Failed to write udp'))
63
- Rails.logger.warn(self.format_metric_log('Telegraf', ex.class))
64
- Rails.logger.warn(self.format_metric_log('Telegraf', ex.message))
59
+ Rails.logger.warn(self.format_metric_log('Telegraf',"Failed to write udp: #{ex.class}"))
65
60
  end
66
61
 
67
62
  def format_metric_log(message, dump = nil)
@@ -1,4 +1,4 @@
1
1
  module ZuoraConnect
2
- VERSION = "1.7.62"
2
+ VERSION = "1.7.63"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.62
4
+ version: 1.7.63
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team