fluent-plugin-jfrog-metrics 0.2.12 → 0.2.12.2

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: 28f317687267209cdc5e43c874fa40503c6ab86d970ec1509ff1d3e1af7cf26f
4
- data.tar.gz: 4ab7a27eeee244cb9b497c2d4d3b97553049ba859cdbda3b194c7cf4d81b3cdf
3
+ metadata.gz: 38cfa0bcb5a231e76d279f77fcc986f593d0b3419a382db75b7fbbced8462afd
4
+ data.tar.gz: 569d77cf394b138961124c823e90672d941e1c207acdfcf2eb682632d29b5e05
5
5
  SHA512:
6
- metadata.gz: ebd57e01c5255ec2bd69201919c05069d90cb9847653cc8b620b89034e75bce2f06fe378897f0756f2c6aee257ae463ea32a1ccdc17b9ee7fd0f89a88eabdab2
7
- data.tar.gz: 30a48056fda84ab46678855b9fa84270c6618518c5835e7ae3b853d3a27fd6dd8ee8b5dab907c00fd84c83a59e6bfaf551fec8ca3a8447fd0741f5a3a8656aa8
6
+ metadata.gz: bcca22a3705f8d6c7b711748203ba7bd3ea06d9779b9dfe4082e1990a19af5d2ed74926e91150f624c9023b830209080594514459dc05ca9faf65c930a568713
7
+ data.tar.gz: a218f823e45bf3ff3ac0674d1384c69342fb1e6bffd96ed3fc98b6fb8b3f8d1259af492632f1af7d80d0f0585741858adeedb02c0afb9faae3feae6ea17d28c7
data/Gemfile CHANGED
@@ -7,5 +7,5 @@ gemspec
7
7
  group :test do
8
8
  gem 'minitest'
9
9
  gem 'minitest-reporters', '>= 0.5.0'
10
- gem 'rest-client', '>= 2.1.0'
10
+ gem 'rest-client', '~> 2.1.0'
11
11
  end
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-jfrog-metrics (0.2.12)
4
+ fluent-plugin-jfrog-metrics (0.2.12.2)
5
5
  fluentd (>= 0.14.10, < 2)
6
- rest-client (>= 2.1.0)
6
+ rest-client (~> 2.1.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
@@ -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-metrics'
6
- spec.version = '0.2.12'
6
+ spec.version = '0.2.12.2'
7
7
  spec.authors = ['MahithaB, BenHarosh']
8
8
  spec.email = ['cpe-support@jfrog.com']
9
9
 
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency 'bundler', '~> 1.14'
25
25
  spec.add_development_dependency 'rake', '~> 12.0'
26
26
  spec.add_development_dependency 'test-unit', '~> 3.0'
27
- spec.add_development_dependency "rest-client", ">= 2.1.0"
27
+ spec.add_development_dependency "rest-client", "~> 2.1.0"
28
28
  spec.add_runtime_dependency 'fluentd', ['>= 0.14.10', '< 2']
29
- spec.add_runtime_dependency "rest-client", ">= 2.1.0"
29
+ spec.add_runtime_dependency "rest-client", "~> 2.1.0"
30
30
  end
@@ -128,15 +128,13 @@ module Fluent
128
128
  $logger.debug("Emitting collected metrics finished")
129
129
 
130
130
  rescue RestClient::Exceptions::OpenTimeout
131
- $logger.info("The request timed out while trying to open a connection. The configured request timeout is: #{@request_timeout}")
131
+ $logger.error("The request timed out while trying to open a connection. The configured request timeout is: #{@request_timeout}")
132
132
  rescue RestClient::Exceptions::ReadTimeout
133
- $logger.info("The request timed out while waiting for a response. The configured request timeout is: #{@request_timeout}")
134
- rescue RestClient::Exceptions::RequestTimeout
135
- $logger.info("The request timed out. The configured request timeout is: #{@request_timeout}")
133
+ $logger.error("The request timed out while waiting for a response. The configured request timeout is: #{@request_timeout}")
136
134
  rescue RestClient::ExceptionWithResponse => e
137
- $logger.info("HTTP request failed: #{e.response}")
135
+ $logger.error("HTTP request failed: #{e.response}")
138
136
  rescue StandardError => e
139
- $logger.info("An unexpected error occurred during metrics collection: #{e.message}")
137
+ $logger.error("An unexpected error occurred during metrics collection: #{e.message}")
140
138
  else
141
139
  $logger.debug("Metrics collection and emission do_execute finished with no errors")
142
140
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-jfrog-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.12
4
+ version: 0.2.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - MahithaB, BenHarosh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-15 00:00:00.000000000 Z
11
+ date: 2024-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -56,14 +56,14 @@ dependencies:
56
56
  name: rest-client
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: 2.1.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 2.1.0
69
69
  - !ruby/object:Gem::Dependency
@@ -90,14 +90,14 @@ dependencies:
90
90
  name: rest-client
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - ">="
93
+ - - "~>"
94
94
  - !ruby/object:Gem::Version
95
95
  version: 2.1.0
96
96
  type: :runtime
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - ">="
100
+ - - "~>"
101
101
  - !ruby/object:Gem::Version
102
102
  version: 2.1.0
103
103
  description: Fluentd Plugin for converting JFrog Artifactory, Xray generated metrics