fluent-plugin-prometheus-smarter 1.8.14 → 1.8.15

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: 50fd60dc16cdea95520eec9ab09169cb68614c33ddfb2b6e7645f6bd84e97f4f
4
- data.tar.gz: 9d29a23916c8f340162d0fcb0fed01c9e7e9293acbee5763ba544789ffcb8adf
3
+ metadata.gz: 5d6fb238a2ea2296d480c93ff226e1c7adbf9af44cdab4ad940e67b48b626855
4
+ data.tar.gz: 96f0a4679f31b5766dc6dc4d145ab0549c5e87f827cd0b1317d37165bbe71048
5
5
  SHA512:
6
- metadata.gz: d4f5e8e019f246a1138607b675efcab4ec6b0147dcf16c44c1c7abd3106f8f3e58c15bf32d9faf19c2d644d2c73d9318f98e2432350cadb4b0fdf451e4e47682
7
- data.tar.gz: 8199d144baeb4bf22d9b51732fc3f8ae3fe18cd62f167b7d6d6671106b743b3055107dc20dfa2a3b77f0d33698203942258018849fe554639f2dd1a33ef1ed98
6
+ metadata.gz: 982221056baf0f1086abb8947e1c67ee6980c6ab98eefe7c82ddf78a44ad4a43aef6b6f24abb7da579ce3de156924671f6fbc97b397cb2f0791beb6d3dfd2441
7
+ data.tar.gz: 7a21ac7e2f70b7f92919e3ea01cedb1248df29e11df4a4023355b05edee56fabac8571d4abf44944f24c248b8da1cb924cf5a852060f197b73616c3553a20361
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "fluent-plugin-prometheus-smarter"
3
- spec.version = "1.8.14"
3
+ spec.version = "1.8.15"
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.}
@@ -33,7 +33,7 @@ module Fluent::Plugin
33
33
  def configure(conf)
34
34
  super
35
35
  @labels = parse_labels_elements(conf)
36
- @placeholder_expander_builder = Fluent::Plugin::Prometheus.placeholder_expander(log)
36
+ @expander_builder = placeholder_expander(log)
37
37
  end
38
38
 
39
39
  def process(tag, es)
@@ -51,7 +51,7 @@ module Fluent::Plugin
51
51
  rescue ::Prometheus::Client::Registry::AlreadyRegisteredError
52
52
  gauge = @registry.get(tag.to_sym)
53
53
  end
54
- expander = @placeholder_expander_builder.build(placeholder_values)
54
+ expander = @expander_builder.build(placeholder_values)
55
55
  if @key.is_a?(String)
56
56
  value = record[@key]
57
57
  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.14
4
+ version: 1.8.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masahiro Sano