fluent-plugin-datadog-log 0.1.0.rc13 → 0.1.0.rc14
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9100d5bb190bd0bda8a6acd05dcb4e6181a5fca
|
4
|
+
data.tar.gz: 5686e0b81e945928c1db36301553111d379c127e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cefd468fc826971c364343bc3461c22555b17cbbb6de533b1c0d8c055630598dd95d2e85b698c712d67e9ad46702d8970fa9b84ea5acaedbbb7bcdf302a6e724
|
7
|
+
data.tar.gz: b891ea630b28992e5ac5e068661f9b871c620a79bdbcd7ee63ebd7cb4115850cc69a3931b382ace192c9dd292ff483dcc21c1c72c6f314f203a40ccb2b185cdf
|
data/Gemfile.lock
CHANGED
@@ -8,7 +8,7 @@ eos
|
|
8
8
|
gem.homepage = \
|
9
9
|
'https://github.com/mumoshu/fluent-plugin-datadog-log'
|
10
10
|
gem.license = 'Apache-2.0'
|
11
|
-
gem.version = '0.1.0.
|
11
|
+
gem.version = '0.1.0.rc14'
|
12
12
|
gem.authors = ['Yusuke KUOKA']
|
13
13
|
gem.email = ['ykuoka@gmail.com']
|
14
14
|
gem.required_ruby_version = Gem::Requirement.new('>= 2.0')
|
@@ -483,6 +483,12 @@ module Fluent::Plugin
|
|
483
483
|
# Filter out invalid non-Hash entries.
|
484
484
|
def each_valid_record(chunk)
|
485
485
|
chunk.msgpack_each do |event|
|
486
|
+
unless event.respond_to? :last
|
487
|
+
@log.warn 'Dropping a malformed event: ' \
|
488
|
+
"'#{event.inspect}'. " \
|
489
|
+
'A log record should be an array.'
|
490
|
+
next
|
491
|
+
end
|
486
492
|
record = event.last
|
487
493
|
unless record.is_a?(Hash)
|
488
494
|
@log.warn 'Dropping log entries with malformed record: ' \
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-datadog-log
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.rc14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yusuke KUOKA
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|
@@ -173,6 +173,7 @@ files:
|
|
173
173
|
- lib/fluent/plugin/monitoring.rb
|
174
174
|
- lib/fluent/plugin/out_datadog_log.rb
|
175
175
|
- lib/fluent/plugin/out_datadog_log.rb~
|
176
|
+
- pkg/fluent-plugin-datadog-log-0.1.0.rc13.gem
|
176
177
|
- test/helper.rb
|
177
178
|
- test/plugin/base_test.rb
|
178
179
|
- test/plugin/constants.rb
|