fluent-plugin-prometheus-smarter 1.8.16 → 1.8.17

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: 4613edeeb6eae66442b775a972c411df0e99b0b681c9e572533b3d2a82fa0653
4
- data.tar.gz: b88f7bc36ec43679d16cbc8d9eab143eb8f9ed2081bfe8dba0576aae5e229821
3
+ metadata.gz: 3b0eb0af34ed48392131f29334d763dce21d710a622730932e55305b70ec4bdf
4
+ data.tar.gz: ba88d63058ea4ab1d13da3f46a5f12c5f22ad92b7a6c41f713ce3730110ab4c4
5
5
  SHA512:
6
- metadata.gz: 43b7176718fab91dfaf4000a02eabd8cf7b17fc9939dfd5d34f4674820c3f3cb495714759e394e473e8aa1a61b90d6a5225a1f6ce88f584d0c3a19beadd9be19
7
- data.tar.gz: 62a1768552da06633d9cc815ea23741dbd2560eda3584cf74f86e9e88a60669b7c3a7ab7a69ef1066dc0688afea62b73e459c2d4834f35ed0894c07b228f03cd
6
+ metadata.gz: cd647e3d7a780db8d31c78842e6d7ed93ab1ad51b73cdf856705696da6915acb8d49af38a4e26e83dc637b75c090bd4e6683f389e145d998d62339e14146f6e4
7
+ data.tar.gz: d2596c248ee3ac5d4a021315f86bfe45d3ecd88ce374c70699bb2aaa1a7148b6adee19246008214c10a70866a73f87d16dede8cdb4f155eb150503e82ea22f62
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "fluent-plugin-prometheus-smarter"
3
- spec.version = "1.8.16"
3
+ spec.version = "1.8.17"
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.}
@@ -40,6 +40,7 @@ module Fluent::Plugin
40
40
  'tag' => tag,
41
41
  'worker_id' => fluentd_worker_id,
42
42
  }
43
+ expander = @expander_builder.build(placeholder_values)
43
44
 
44
45
  # Write out values in event stream to Registry
45
46
  es.each do |time, record|
@@ -50,7 +51,6 @@ module Fluent::Plugin
50
51
  rescue ::Prometheus::Client::Registry::AlreadyRegisteredError
51
52
  gauge = @registry.get(tag.to_sym)
52
53
  end
53
- expander = @expander_builder.build(placeholder_values)
54
54
  if @key.is_a?(String)
55
55
  value = record[@key]
56
56
  else
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.16
4
+ version: 1.8.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masahiro Sano