fluent-plugin-scalyr 0.8.3 → 0.8.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
- SHA1:
3
- metadata.gz: '081b15ca4f83f95b12bb784007ce3c77c2a572df'
4
- data.tar.gz: 3194d197fed3ecda3fe0d8ff1a2e037d1292159e
2
+ SHA256:
3
+ metadata.gz: 5ac72839e06e113005e9ccfec07a42a64cf5827332069f71527129c4ed4c2a5f
4
+ data.tar.gz: 3046073c8ef859baf26c72b7d8a3d55b8fdb31f8c38802d0ea4ff46deae6f678
5
5
  SHA512:
6
- metadata.gz: e1b5ff7132f4ed915a8983b4bb7588895bed97a4b04accd77b1d8178e1e2ca9da1966e3eb4fc238a0573fa249584fa5ed83fecd6bb9fcc4c89b638fc09c6ee80
7
- data.tar.gz: fa99e2c2fbde42d8df67103118479f5133f7bee64cb279a3665722cab373131ad12cffdab6287b9852b610279501cf1b8d74d2432fe465bb94d171dac2fc02c6
6
+ metadata.gz: 50fedb702fa6c2f81db78c53f030abb4e94a31140bb9dbd14cd7ebf773b46fa5e0b602207565ae7a4b143d8eed6494b0e7289e2c297a2f6ce192c96bb45ae448
7
+ data.tar.gz: a6f8470c6e4537b82c77a6d03ee89561d4e1a64c2c0f1689834f36d42f22cacf01fd6ea15d1e33cd2e87ea43665f3bf1191f53c54b6164068bee188dfc5e8686
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.3
1
+ 0.8.4
@@ -29,6 +29,7 @@ module Scalyr
29
29
  class ScalyrOut < Fluent::Plugin::Output
30
30
  Fluent::Plugin.register_output( 'scalyr', self )
31
31
  helpers :compat_parameters
32
+ helpers :event_emitter
32
33
 
33
34
  config_param :api_write_token, :string
34
35
  config_param :server_attributes, :hash, :default => nil
@@ -321,8 +322,9 @@ module Scalyr
321
322
  rescue JSON::GeneratorError, Encoding::UndefinedConversionError => e
322
323
  $log.warn "#{e.class}: #{e.message}"
323
324
 
324
- # Send the faulty event to a label @ERROR block and allow to handle it there (output to exceptions file for ex)
325
- router.emit_error_event(tag, time, record, e)
325
+ # Send the faulty event to a label @ERROR block and allow to handle it there (output to exceptions file for ex)
326
+ time = Fluent::EventTime.new( sec, nsec )
327
+ router.emit_error_event(tag, time, record, e)
326
328
 
327
329
  event[:attrs].each do |key, value|
328
330
  $log.debug "\t#{key} (#{value.encoding.name}): '#{value}'"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-scalyr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Imron Alston
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-14 00:00:00.000000000 Z
11
+ date: 2018-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  requirements: []
129
129
  rubyforge_project:
130
- rubygems_version: 2.6.13
130
+ rubygems_version: 2.7.6
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: Scalyr plugin for fluentd