fluent-plugin-logzio 0.2.0.pre.test1 → 0.2.1

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: 8ff307f46dc9f34f4f4cdd60374c340c81ab328c6e1485d8cf77d7c833709b9e
4
- data.tar.gz: 286c954bb9c4a1e1ead99edf25e96a77556254b58afdb74dcccba4773e1a0a10
3
+ metadata.gz: 1f0dd01a3030ad599d784e84b7e1032c37cd540f7b642ba39aecf87bfa90df9f
4
+ data.tar.gz: '08e24b873ce51e284fad88609fa4ef81889f2bfb07b45d553b0a1a827d39a401'
5
5
  SHA512:
6
- metadata.gz: 85ff70985c0fda5b6220c8cf6e0fa1306525940828c03c75d097bebe9cda65e6e6097f020454c06e4b17137d02a7b77c1bf492c5e0261f2dad45336357e554ab
7
- data.tar.gz: dafe99b38c2d4f9e33efa7c71334d21c6493318b9d407a90cb13a5d9b0877df36af0bc047f166697ec0b816be3b79018298a6a4742a78191c5836dfd275b0515
6
+ metadata.gz: 2529a44b97de6d8fd2cebee1664b8617531970596237bb4235148beccc1aee8ceebd22cde6cd220846c2289032dc58976777f7bd7e1598732c57b6d0167ccbae
7
+ data.tar.gz: 8710e58b271bf793d5122df4290a9f15e02219ae45e2321f212956b7632e682a5f03ab0f0c3cdb494156109af3b2e1c2392fbac21623017a70a6597207f8fffc
data/README.md CHANGED
@@ -82,11 +82,16 @@ This is an **example** only. Your needs in production may vary!
82
82
 
83
83
 
84
84
  ## Release Notes
85
- - **0.2.0**:
85
+ - **0.2.1**:
86
86
  - Do not retry on 400 and 401. For 400 - try to fix log and resend.
87
87
  - Generate a metric (`logzio_status_codes`) for response codes from Logz.io.
88
+ - **0.2.0**: N/A - version was yanked. Please refer to **0.2.1**.
88
89
  - **0.1.0**:
89
90
  - Use fluentd's retry instead of retry in code (raise exception on non-2xx response).
91
+
92
+ <details>
93
+ <summary markdown="span"> Expand to check old versions </summary>
94
+
90
95
  - 0.0.22: Update gem `net-http-persistent` to 4.x.
91
96
  - 0.0.21: Update gem `net-http-persistent` to 3.x.
92
97
  - 0.0.20: Support gzip compression
@@ -97,3 +102,5 @@ This is an **example** only. Your needs in production may vary!
97
102
  - 0.0.14: Refactor send function to handle more cases, and retry in case of logzio connection failure.
98
103
  - 0.0.13: BREAKING - Removed non-buffered version. It's really not efficient, and should just not be used. If you are using this version, you should change to the buffered one.
99
104
  - 0.0.12: Catch exception when parsing YAML to ignore (instead of crash) not valid logs.
105
+
106
+ </details>
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = 'fluent-plugin-logzio'
7
- s.version = '0.2.0-test1'
7
+ s.version = '0.2.1'
8
8
  s.authors = ['Yury Kotov', 'Roi Rav-Hon', 'Arcadiy Ivanov', 'Miri Bar']
9
9
  s.email = ['bairkan@gmail.com', 'roi@logz.io', 'arcadiy@ivanov.biz', 'miri.ignatiev@logz.io']
10
10
  s.homepage = 'https://github.com/logzio/fluent-plugin-logzio'
@@ -139,10 +139,8 @@ module Fluent::Plugin
139
139
  response = do_post(bulk_records, bulk_size)
140
140
 
141
141
  @metrics[:status_codes].increment(labels: merge_labels({'status_code': response.code.to_s}))
142
- log.info "Status code from logzio: #{response.code}"
143
142
 
144
143
  if not response.code.start_with?('2')
145
- log.info "here here here"
146
144
  if response.code == '400'
147
145
  log.warn "Received #{response.code} from Logzio. Some logs may be malformed or too long. Valid logs were succesfully sent into the system. Will try to proccess and send oversized logs. Response body: #{response.body}"
148
146
  process_code_400(bulk_records, Yajl.load(response.body))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-logzio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.pre.test1
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yury Kotov
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2023-07-12 00:00:00.000000000 Z
14
+ date: 2023-07-13 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: net-http-persistent
@@ -156,9 +156,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
156
156
  version: 2.1.0
157
157
  required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  requirements:
159
- - - ">"
159
+ - - ">="
160
160
  - !ruby/object:Gem::Version
161
- version: 1.3.1
161
+ version: '0'
162
162
  requirements: []
163
163
  rubygems_version: 3.0.3.1
164
164
  signing_key: