fluent-plugin-jfrog-send-metrics 0.1.10.1 → 0.1.10.3

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: c85fc37f7c250b2960214bf2cc9a127b33df5b5e1ccdd607fc6e234546893c47
4
- data.tar.gz: d60d4162c6d4f18d4883a9db57bf99f7f54b39ce5ebd2e6194b7b9ae236178e2
3
+ metadata.gz: 829d41370811b29114d4de0fe5f509e47dfa1aff52c313920199f51c012e8768
4
+ data.tar.gz: 67fbb478e8bf44bf17d621bea777a0675aa4200b8c104686fa09c95651db2aa2
5
5
  SHA512:
6
- metadata.gz: 98dcfb384ba3dbb9e2b29bfb469f5dedacd404a0aab5a16dbc58a003ab5c9b9990ac3e638ad27d530b815065ad4c18945852d70edae70a1a7459919ac1d6a460
7
- data.tar.gz: 9b7e008c4c98afe1d38bc1e7b3323fc87f6b2b1ce940709d14d49e6643924c490cbe86e312f0f42f187505494ca1c55b14ea0cd92aec7b95c1fd34cb1733a11e
6
+ metadata.gz: 825c3f0b4dba3756cbe0cab7aa27faf0c2d94cf6289b4fe03ac61430ef27fe8d53c4e2bd11d41602365155ae39fa3924f2bad728de4be7185a3634ae6c592bfb
7
+ data.tar.gz: 81d09e26978db6dbf2b6e1df0c2ff2073438959d179d1948a218853e54dfedaeb4fc3e3f90aafe4009031ef9f63b988932b41055d27e79a59926138b7b862601
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-jfrog-send-metrics (0.1.10.1)
4
+ fluent-plugin-jfrog-send-metrics (0.1.10.3)
5
5
  fluentd (>= 0.14.10, < 2)
6
6
  rest-client (~> 2.1.0)
7
7
 
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "fluent-plugin-jfrog-send-metrics"
6
- spec.version = "0.1.10.1"
6
+ spec.version = "0.1.10.3"
7
7
  spec.authors = ["MahithaB", "BenH"]
8
8
  spec.email = ["partner_support@jfrog.com"]
9
9
 
@@ -60,17 +60,15 @@ module Fluent
60
60
  end
61
61
  logger.info("Sending metrics to target platform: #{@target_platform} finished")
62
62
  rescue RestClient::Exceptions::OpenTimeout
63
- logger.info("#{Utility.get_time} The request timed out while trying to open a connection. The configured request timeout is: #{@request_timeout}")
63
+ logger.info("The request timed out while trying to open a connection. The configured request timeout is: #{@request_timeout}")
64
64
  rescue RestClient::Exceptions::ReadTimeout
65
- logger.info("#{Utility.get_time} The request timed out while waiting for a response. The configured request timeout is: #{@request_timeout}")
66
- rescue RestClient::Exceptions::RequestTimeout
67
- logger.info("#{Utility.get_time} The request timed out. The configured request timeout is: #{@request_timeout}")
65
+ logger.info("The request timed out while waiting for a response. The configured request timeout is: #{@request_timeout}")
68
66
  rescue RestClient::ExceptionWithResponse => e
69
- logger.info("#{Utility.get_time} HTTP request failed: #{e.response}")
67
+ logger.info("HTTP request failed: #{e.response}")
70
68
  rescue Net::HTTPClientException => e
71
- logger.info("#{Utility.get_time} An HTTP client error occurred when sending metrics to #{@target_platform}: #{e.message}")
69
+ logger.info("An HTTP client error occurred when sending metrics to #{@target_platform}: #{e.message}")
72
70
  rescue StandardError => e
73
- logger.info("#{Utility.get_time} An error occurred when sending metrics to #{@target_platform}: #{e.message}")
71
+ logger.info("An error occurred when sending metrics to #{@target_platform}: #{e.message}")
74
72
  end
75
73
  end
76
74
  end
@@ -18,8 +18,8 @@ class Utility
18
18
  # convert the compressed data to a string
19
19
  compressed_data = compressed_payload.string
20
20
 
21
- logger.info("Original metrics payload size: #{json_payload.bytesize} bytes")
22
- logger.info("Compressed metrics payload size: #{compressed_data.bytesize} bytes")
21
+ logger.debug("Original metrics payload size: #{json_payload.bytesize} bytes")
22
+ logger.debug("Compressed metrics payload size: #{compressed_data.bytesize} bytes")
23
23
 
24
24
  return compressed_data
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-jfrog-send-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10.1
4
+ version: 0.1.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - MahithaB
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-11-15 00:00:00.000000000 Z
12
+ date: 2024-11-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler