fluent-plugin-elasticsearch 5.2.3 → 5.2.4

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: 7e2737dc1ced4c50a3db85d71c83351e77a606d581fbd768261ca6613b1700f8
4
- data.tar.gz: 49a84ff1ea184c4afd43e69fb6cbb89559926bbd6ac063196bd777281be17d2b
3
+ metadata.gz: f822334b8b2ed8169045953bd05cb383b6dd2068b513140429777f55e0f8d6bc
4
+ data.tar.gz: a8741a46f4f9fe0dd990c38844ac53d19fea9eb27cf7b3505f26d29d0ed7b83f
5
5
  SHA512:
6
- metadata.gz: 157dbe3ab067ec279f2051a8b6c6ac25538821903b48e96a09687b547270796d7f6972d0707225c99cd36694e8a8668d32dc9ebba3599d24f08c814712c0849a
7
- data.tar.gz: 73c611531aa95d5d03d8bd5146ab5f6812c30b3be634f5d1ca139b2ffc6206ccebb8915c4fa1e78d2d53706f6c14b7203342d235bd217a89ac9bf0135e3fec21
6
+ metadata.gz: ed5b593be5147c505fae9b563f87e831db8f110887026bab90a2ece444a1462cbd51a079134b62dab3e21c5a57ce78eabc371d9165f3d765ffe8c51493bc1344
7
+ data.tar.gz: 1fed7a68045103ed5a5bd9b49fe283468a87c45a2a68bf7a4922881deba2e93cedd9923afc046159465b5552d4d0bd4d47b3a86826b6622fcae02974eaa0ac91
data/History.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ### [Unreleased]
4
4
 
5
+ ### 5.2.4
6
+ - Pin Faraday 1.10 (#987)
7
+ - Increase errors metric on error response in data stream (#986)
8
+
5
9
  ### 5.2.3
6
10
  - Bump actions/checkout from 2 to 3 (#978)
7
11
  - chore: Included githubactions in the dependabot config (#977)
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'fluent-plugin-elasticsearch'
6
- s.version = '5.2.3'
6
+ s.version = '5.2.4'
7
7
  s.authors = ['diogo', 'pitr', 'Hiroshi Hatake']
8
8
  s.email = ['pitr.vern@gmail.com', 'me@diogoterror.com', 'cosmo0920.wp@gmail.com']
9
9
  s.description = %q{Elasticsearch output plugin for Fluent event collector}
@@ -23,6 +23,7 @@ Gem::Specification.new do |s|
23
23
  s.required_ruby_version = Gem::Requirement.new(">= 2.3".freeze)
24
24
 
25
25
  s.add_runtime_dependency 'fluentd', '>= 0.14.22'
26
+ s.add_runtime_dependency "faraday", "~> 1.10"
26
27
  s.add_runtime_dependency 'excon', '>= 0'
27
28
  s.add_runtime_dependency 'elasticsearch'
28
29
 
@@ -265,6 +265,7 @@ module Fluent::Plugin
265
265
  response = client(host).bulk(params)
266
266
  if response['errors']
267
267
  log.error "Could not bulk insert to Data Stream: #{data_stream_name} #{response}"
268
+ @num_errors_metrics.inc
268
269
  end
269
270
  rescue => e
270
271
  raise RecoverableRequestFailure, "could not push logs to Elasticsearch cluster (#{data_stream_name}): #{e.message}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.3
4
+ version: 5.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - diogo
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-06-16 00:00:00.000000000 Z
13
+ date: 2022-09-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: fluentd
@@ -26,6 +26,20 @@ dependencies:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
28
  version: 0.14.22
29
+ - !ruby/object:Gem::Dependency
30
+ name: faraday
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - "~>"
34
+ - !ruby/object:Gem::Version
35
+ version: '1.10'
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '1.10'
29
43
  - !ruby/object:Gem::Dependency
30
44
  name: excon
31
45
  requirement: !ruby/object:Gem::Requirement