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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 829d41370811b29114d4de0fe5f509e47dfa1aff52c313920199f51c012e8768
|
4
|
+
data.tar.gz: 67fbb478e8bf44bf17d621bea777a0675aa4200b8c104686fa09c95651db2aa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 825c3f0b4dba3756cbe0cab7aa27faf0c2d94cf6289b4fe03ac61430ef27fe8d53c4e2bd11d41602365155ae39fa3924f2bad728de4be7185a3634ae6c592bfb
|
7
|
+
data.tar.gz: 81d09e26978db6dbf2b6e1df0c2ff2073438959d179d1948a218853e54dfedaeb4fc3e3f90aafe4009031ef9f63b988932b41055d27e79a59926138b7b862601
|
data/Gemfile.lock
CHANGED
@@ -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.
|
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("
|
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("
|
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("
|
67
|
+
logger.info("HTTP request failed: #{e.response}")
|
70
68
|
rescue Net::HTTPClientException => e
|
71
|
-
logger.info("
|
69
|
+
logger.info("An HTTP client error occurred when sending metrics to #{@target_platform}: #{e.message}")
|
72
70
|
rescue StandardError => e
|
73
|
-
logger.info("
|
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.
|
22
|
-
logger.
|
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.
|
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-
|
12
|
+
date: 2024-11-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|