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 +4 -4
- data/fluent-plugin-prometheus.gemspec +1 -1
- data/lib/fluent/plugin/out_prometheus_metric.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b0eb0af34ed48392131f29334d763dce21d710a622730932e55305b70ec4bdf
|
4
|
+
data.tar.gz: ba88d63058ea4ab1d13da3f46a5f12c5f22ad92b7a6c41f713ce3730110ab4c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|