fluent-plugin-grafana-loki 1.2.4 → 1.2.5

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
  SHA256:
3
- metadata.gz: edc3f7350833b173b7899a6a7edcada2dba818cd5e5c452b633d9e7c93206799
4
- data.tar.gz: 7cb2464e4a85621f9b546162ca985be8021a9330853e9ce020594b7470c1e3e2
3
+ metadata.gz: d3d04bae9d5bcc3e64027cc5c97f8477c88a6697bac2701de0f4de30b35d21ba
4
+ data.tar.gz: 53584d4d125a32a139e4a7e6b4887c7b5fa29338696221fc743f31b7e2f24cc8
5
5
  SHA512:
6
- metadata.gz: edac698c75dc3b600167e85ed20447ffa25a136342c9344dd48dc92b0578b9c6e81d1c7c04c2319d35404d554ee995d00bcb1f69165eefccd328c3a729481459
7
- data.tar.gz: f0f9e6dce6b997fe598f6abeb2943cb9e9d7ecc072d568bcb2dcd04926c368364d7c361030722e9f39936f7a7b9ee9bf26458b12b0d2c9ee267c5dce636ffef0
6
+ metadata.gz: ab73ad92f6a92fe2f339c0b7b57efaf054d5ae2a918a74b29d8146c41d892c0c0147e3d1e55b2f7a58640b6de828c7c461e4ba9e9d71fed1884dcb9d61dd4363
7
+ data.tar.gz: 3d3c43845dc9b15a416caeb316d2a768ee5877f2745c290e913cebc89fb73ebbaf3de5fb4f2d1ecac72d5ee8e065f748aa84f3c6cb9dc58224b0a2ffb98c152c
@@ -195,7 +195,7 @@ module Fluent
195
195
  data_labels = {} if data_labels.nil?
196
196
  data_labels = data_labels.merge(@extra_labels)
197
197
  # sanitize label values
198
- data_labels.each { |k, v| formatted_labels[k] = v.gsub('"', '\\"') }
198
+ data_labels.each { |k, v| formatted_labels[k] = v.gsub('"', '\\"') if v }
199
199
  formatted_labels
200
200
  end
201
201
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-grafana-loki
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - woodsaj