fluent-plugin-google-cloud 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,7 +4,7 @@ Gem::Specification.new do |gem|
|
|
|
4
4
|
gem.summary = %q{Fluentd plugin to stream logs to the Google Cloud Platform's logging API}
|
|
5
5
|
gem.homepage = 'https://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud'
|
|
6
6
|
gem.license = 'Apache 2.0'
|
|
7
|
-
gem.version = '0.1.
|
|
7
|
+
gem.version = '0.1.3'
|
|
8
8
|
gem.authors = ['Todd Derr', 'Alex Robinson']
|
|
9
9
|
gem.email = ['salty@google.com']
|
|
10
10
|
|
|
@@ -208,6 +208,8 @@ module Fluent
|
|
|
208
208
|
if (error.message == 'Invalid Credentials')
|
|
209
209
|
raise error
|
|
210
210
|
end
|
|
211
|
+
# fall through to next rescue clause
|
|
212
|
+
rescue JSON::GeneratorError => error
|
|
211
213
|
dropped = write_log_entries_request['entries'].length
|
|
212
214
|
$log.warn "Dropping #{dropped} log message(s)",
|
|
213
215
|
:error_class=>error.class.to_s, :error=>error.to_s
|
|
@@ -227,7 +229,7 @@ module Fluent
|
|
|
227
229
|
def init_api_client
|
|
228
230
|
@client = Google::APIClient.new(
|
|
229
231
|
:application_name => 'Fluentd Google Cloud Logging plugin',
|
|
230
|
-
:application_version => '0.1.
|
|
232
|
+
:application_version => '0.1.3',
|
|
231
233
|
:retries => 1)
|
|
232
234
|
|
|
233
235
|
if @auth_method == 'private_key'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-google-cloud
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2014-
|
|
13
|
+
date: 2014-12-01 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: fluentd
|