fluent-plugin-prometheus-smarter 1.8.18 → 1.8.19

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: 873dae732f73abb5904fddaba9ca3be0fa4b4680f76ac619f7b153a84313c145
4
- data.tar.gz: a9e6e352f0c902dcf5f7a6aeb56932c22def54be479de3cac823cbab11976d3d
3
+ metadata.gz: fbd252f9546f23aab8aaa419ddfc8a02a3a0406b56757936d19fd09ecfeef486
4
+ data.tar.gz: '03309e079ea9e8f9c4db6d81d466bfcd3fa9da6b686cd5eefd493022d8239c6f'
5
5
  SHA512:
6
- metadata.gz: 341a9e8ac04a52914bde8550debdac1cffd5808b795617188d16a64f3c7a46fc129bc15f4eb1b4ec6e048503bb0119f6df276e8be09afc58d192c28091d1b139
7
- data.tar.gz: 95698da40d500d8e4ebe874d18509eb8b0c95d311c63e9cd4c0ebfec1ff202e3006d5109023b5c1d873e81277c4ed7b61f005c6dd088703076cff22376ac0ea9
6
+ metadata.gz: ad543755cd0522d20d8f00bbf1be6433b132a7db9b3ef9d4425ed4bf32e1b579a148de7dbc63ab42622b6e7a2531179f433da83207399840007b206e247f4d7e
7
+ data.tar.gz: 2a6a14094c09ed61ec571a16f9f6cf76219b0b05c6d5de87f36b4f2353126b75a182702162264b962233d74a188f3cd54b422a8f70f8b561b0b73b382209856c
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "fluent-plugin-prometheus-smarter"
3
- spec.version = "1.8.18"
3
+ spec.version = "1.8.19"
4
4
  spec.authors = ["Masahiro Sano", "Josh Minor"]
5
5
  spec.email = ["jishminor@gmail.com"]
6
6
  spec.summary = %q{A fluent plugin that collects metrics and exposes for Prometheus.}
@@ -30,7 +30,7 @@ module Fluent::Plugin
30
30
  value = record[@key]
31
31
  if value
32
32
  # set labels as all elements in message besides the key
33
- gauge.set(record.except(@key), value)
33
+ gauge.set(record.tap { |hs| hs.delete(@key) }, value)
34
34
  end
35
35
  end
36
36
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-prometheus-smarter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.18
4
+ version: 1.8.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masahiro Sano