fluent-plugin-prometheus-smarter 1.8.7 → 1.8.8

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: a5723aa3c3124615c06e3a261900f87f454f93ce91fe5f1cdc9a9fe5f03e825d
4
- data.tar.gz: eadce6c28a938205269ee8854ac174ba4c1177fea45eda343270bd6f9eef71e5
3
+ metadata.gz: 904ceb8c9a6dcdfda9097376e1f7f062cf492d706a58d414a519bdcba4c382e1
4
+ data.tar.gz: 45e1900ff6ba67a8d2cbc9babc5a1a6c1a767bac77a32d1b5ed9fe77ae4a79c3
5
5
  SHA512:
6
- metadata.gz: 25d644dc5d15790730dfe52dea41ba4609375f93d72ea92982515d259391d7d83712c16a0269cceadc3f8c653adc4e4e1d18d2cb3c97e260f2600dc823f5bf2a
7
- data.tar.gz: d0581d307779fc20fea1f0488daacc01f57794baee33ff4829465cc44683450997202387f71c4b00dfb81bef072ea3d5e7aa173dbb960a1157c27c71a41b04ca
6
+ metadata.gz: 40ebd10e85ff102df511549e8b7d8b51065958d6a255c9426145cd5b51ed2c9b0ed23ae0eacabe13561ce4ce25f3fcc69ad4604971ab6411412c8bae8c2bd1b3
7
+ data.tar.gz: 9b4efa8151750df48151178fa616d7ea0ce13bd65c0f4f4aba6be4313a6165750a3918b1d6fddf41951babb2f9678ce502d88a49bdd022b6c12bd950416f10df
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "fluent-plugin-prometheus-smarter"
3
- spec.version = "1.8.7"
3
+ spec.version = "1.8.8"
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.}
@@ -45,7 +45,8 @@ module Fluent::Plugin
45
45
 
46
46
  # Create metric if not exists
47
47
  begin
48
- gauge = @registry.gauge(tag.to_sym)
48
+ desc = "fluentd message stream with tag: ${tag}"
49
+ gauge = @registry.gauge(tag.to_sym, desc.sub!("${tag}", tag))
49
50
  rescue ::Prometheus::Client::Registry::AlreadyRegisteredError
50
51
  gauge = @registry.get(tag.to_sym)
51
52
  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.7
4
+ version: 1.8.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masahiro Sano