From b4e9a5c00266e8ab68a7d3f32cae84bc3a71c4c5 Mon Sep 17 00:00:00 2001 From: JamesJJ Date: Tue, 17 Mar 2020 17:15:24 +0800 Subject: [PATCH 1/2] Avoid dumping the whole stream at warn level when upstream unavailable Signed-off-by: JamesJJ --- .../fluent-plugin-grafana-loki/lib/fluent/plugin/out_loki.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluentd/fluent-plugin-grafana-loki/lib/fluent/plugin/out_loki.rb b/fluentd/fluent-plugin-grafana-loki/lib/fluent/plugin/out_loki.rb index 8c3b907e8e08a..2b78755a21c95 100644 --- a/fluentd/fluent-plugin-grafana-loki/lib/fluent/plugin/out_loki.rb +++ b/fluentd/fluent-plugin-grafana-loki/lib/fluent/plugin/out_loki.rb @@ -151,7 +151,7 @@ def write(chunk) 'res=nil' end log.warn "failed to #{req.method} #{@uri} (#{res_summary})" - log.warn Yajl.dump(body) + log.debug Yajl.dump(body) end end From 30c6e6265c3c40c8c9f7660c9b4308a85aaf9ad3 Mon Sep 17 00:00:00 2001 From: JamesJJ Date: Tue, 17 Mar 2020 22:11:28 +0800 Subject: [PATCH 2/2] Version 1.2.10 Signed-off-by: JamesJJ --- .../fluent-plugin-grafana-loki.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluentd/fluent-plugin-grafana-loki/fluent-plugin-grafana-loki.gemspec b/fluentd/fluent-plugin-grafana-loki/fluent-plugin-grafana-loki.gemspec index cb2b2783416ec..ebf5d81389517 100644 --- a/fluentd/fluent-plugin-grafana-loki/fluent-plugin-grafana-loki.gemspec +++ b/fluentd/fluent-plugin-grafana-loki/fluent-plugin-grafana-loki.gemspec @@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__) Gem::Specification.new do |spec| spec.name = 'fluent-plugin-grafana-loki' - spec.version = '1.2.9' + spec.version = '1.2.10' spec.authors = %w[woodsaj briangann cyriltovena] spec.email = ['awoods@grafana.com', 'brian@grafana.com', 'cyril.tovena@grafana.com']