fluent-plugin-logzio 0.0.15 → 0.0.16

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
  SHA1:
3
- metadata.gz: c7d5868baf67c48aa8bffb672b4031d4ef11fd27
4
- data.tar.gz: e5fb7b2b84dfb1b37b86f6a168eefbbb6982efbb
3
+ metadata.gz: 75acfaf69be145654b96a47df4ebccc3a41ab018
4
+ data.tar.gz: 9070b8733148fa6366235a50909f55494eae9c27
5
5
  SHA512:
6
- metadata.gz: 196b6bd32d1e7a8e3abf0df03e612e49b0e5745f55635995fb4e8204653199aec79ccf95871699990c3989322b7e57bca0a0269569e00587bff14afead9b2935
7
- data.tar.gz: 8f35a877790aeb6d4ccded569cdab71775d36a52651e29330629da7bd4e5ca631848e57b26eba2256d36628bd83f395fee9cdd9e70ff7f8ca043d0b1d8701d0c
6
+ metadata.gz: 0471525a8263e3e242607e912114727305fe3a2ccdb89c5d854cba6c732e5339c587e3931c0663c6357d18aabe26c224a214d4b8c75d88a4a4c7d06ef02bf124
7
+ data.tar.gz: 201dcb57eea7ef2687ab84e0f51070855ee26cd344cf59f31d18578843bbde3ad3613ceeecd9319564af9036fe8298ac5d849b14da5d291ff688bcf25050a740
data/README.md CHANGED
@@ -70,6 +70,7 @@ This is an **example** only. Your needs in production may vary!
70
70
  * **bulk_limit** Limit to the size of the Logz.io upload bulk. Defaults to 1000000 bytes leaving about 24kB for overhead.
71
71
 
72
72
  ## Release Notes
73
+ - 0.0.16: More fluentD 1.0+ adjustments
73
74
  - 0.0.15: Support FluentD 1.0+. Split the chunk into bulk uploads, decoupling `chunk_limit_size`/`buffer_chunk_limit` from Logz.io bulk limit. Tunable `bulk_limit` and initial `retry_sleep`.
74
75
  - 0.0.14: Refactor send function to handle more cases, and retry in case of logzio connection failure.
75
76
  - 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.
@@ -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.0.15'
7
+ s.version = '0.0.16'
8
8
  s.authors = ['Yury Kotov', 'Roi Rav-Hon', 'Arcadiy Ivanov']
9
9
  s.email = ['bairkan@gmail.com', 'roi@logz.io', 'arcadiy@ivanov.biz']
10
10
  s.homepage = 'https://github.com/logzio/fluent-plugin-logzio'
@@ -16,15 +16,11 @@ module Fluent
16
16
  config_param :http_idle_timeout, :integer, default: 5
17
17
  config_param :output_tags_fieldname, :string, default: 'fluentd_tags'
18
18
 
19
- unless method_defined?(:log)
20
- define_method('log') { $log }
21
- end
22
-
23
19
  def configure(conf)
24
20
  super
25
21
  compat_parameters_convert(conf, :buffer)
26
22
 
27
- $log.debug "Logz.io URL #{@endpoint_url}"
23
+ log.debug "Logz.io URL #{@endpoint_url}"
28
24
  end
29
25
 
30
26
  def start
@@ -49,7 +45,7 @@ module Fluent
49
45
 
50
46
  def format(tag, time, record)
51
47
  if time.is_a?(Fluent::EventTime)
52
- sec_frac = time.sec + time.nsec / 10.0 ** 9
48
+ sec_frac = time.to_f
53
49
  else
54
50
  sec_frac = time * 1.0
55
51
  end
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.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yury Kotov
@@ -10,96 +10,96 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-02-05 00:00:00.000000000 Z
13
+ date: 2018-03-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: net-http-persistent
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ~>
19
+ - - "~>"
20
20
  - !ruby/object:Gem::Version
21
21
  version: '2.9'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ~>
26
+ - - "~>"
27
27
  - !ruby/object:Gem::Version
28
28
  version: '2.9'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: fluentd
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - '>='
33
+ - - ">="
34
34
  - !ruby/object:Gem::Version
35
35
  version: 0.14.0
36
- - - <
36
+ - - "<"
37
37
  - !ruby/object:Gem::Version
38
38
  version: '2'
39
39
  type: :runtime
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
42
42
  requirements:
43
- - - '>='
43
+ - - ">="
44
44
  - !ruby/object:Gem::Version
45
45
  version: 0.14.0
46
- - - <
46
+ - - "<"
47
47
  - !ruby/object:Gem::Version
48
48
  version: '2'
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: rake
51
51
  requirement: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ~>
53
+ - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: '12.3'
56
56
  type: :development
57
57
  prerelease: false
58
58
  version_requirements: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ~>
60
+ - - "~>"
61
61
  - !ruby/object:Gem::Version
62
62
  version: '12.3'
63
63
  - !ruby/object:Gem::Dependency
64
64
  name: bundler
65
65
  requirement: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ~>
67
+ - - "~>"
68
68
  - !ruby/object:Gem::Version
69
69
  version: '1.16'
70
70
  type: :development
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ~>
74
+ - - "~>"
75
75
  - !ruby/object:Gem::Version
76
76
  version: '1.16'
77
77
  - !ruby/object:Gem::Dependency
78
78
  name: rspec
79
79
  requirement: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ~>
81
+ - - "~>"
82
82
  - !ruby/object:Gem::Version
83
83
  version: '3.7'
84
84
  type: :development
85
85
  prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ~>
88
+ - - "~>"
89
89
  - !ruby/object:Gem::Version
90
90
  version: '3.7'
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: test-unit
93
93
  requirement: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ~>
95
+ - - "~>"
96
96
  - !ruby/object:Gem::Version
97
97
  version: '3.2'
98
98
  type: :development
99
99
  prerelease: false
100
100
  version_requirements: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - ~>
102
+ - - "~>"
103
103
  - !ruby/object:Gem::Version
104
104
  version: '3.2'
105
105
  description: Fluentd pluging (fluent.org) for output to Logz.io (logz.io)
@@ -111,8 +111,8 @@ executables: []
111
111
  extensions: []
112
112
  extra_rdoc_files: []
113
113
  files:
114
- - .gitignore
115
- - .rspec
114
+ - ".gitignore"
115
+ - ".rspec"
116
116
  - Gemfile
117
117
  - LICENSE
118
118
  - README.md
@@ -133,17 +133,17 @@ require_paths:
133
133
  - lib
134
134
  required_ruby_version: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '>='
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: 2.1.0
139
139
  required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  requirements:
141
- - - '>='
141
+ - - ">="
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0'
144
144
  requirements: []
145
145
  rubyforge_project: fluent-plugin-logzio
146
- rubygems_version: 2.0.14.1
146
+ rubygems_version: 2.5.1
147
147
  signing_key:
148
148
  specification_version: 4
149
149
  summary: Fluentd plugin for output to Logz.io