fluent-plugin-prometheus 0.2.0 → 0.2.1

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
  SHA1:
3
- metadata.gz: 5dbca01329f7efc77c5fa44288e017857e3c5a3a
4
- data.tar.gz: a5e6e68b51cd13af4ba048f070b69b92e831bf89
3
+ metadata.gz: bc459ea9922aeb0b292c93035e176c4a3c2dfa03
4
+ data.tar.gz: c2598bbe1b5e3cd7de282d7db394c0f5b0a89723
5
5
  SHA512:
6
- metadata.gz: cb2b9a310bdb2f74a8bfd3f6fdde9379f75cefcb98a36c32083ddf97019a6bf0efccb7592d9c62af7fd4bdf55261407573e984775ee432f393d83612f25a8464
7
- data.tar.gz: 6033c960888b9989fbebced596a949c9333595a9df6376a24fee8c91723c898dbe365693d62c9b179e86e08a04551a722b3c6c08626560aa3197656f34f144c8
6
+ metadata.gz: 7da56621296f4f7f279334f998e5f238fadf881ce08d4aef8dfaab2d96a81e490db42689a276b544e3830b87ba83a8507168d33c3006df17164ed3551a14c2b0
7
+ data.tar.gz: ea09dd18c3d52d3b852c917c661318d5143ba4a9946c34eaa03adfc160d6fc1179676fdb635d44ca15fa99dacb3b3676f1ab6e688883835c17de3c8ad7b79ea7
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "fluent-plugin-prometheus"
3
- spec.version = "0.2.0"
3
+ spec.version = "0.2.1"
4
4
  spec.authors = ["Masahiro Sano"]
5
5
  spec.email = ["sabottenda@gmail.com"]
6
6
  spec.summary = %q{A fluent plugin that collects metrics and exposes for Prometheus.}
@@ -25,7 +25,12 @@ module Fluent
25
25
  @base_labels[key] = expander.expand(value, placeholders)
26
26
  end
27
27
 
28
- @monitor_agent = Fluent::MonitorAgentInput.new
28
+ if defined?(Fluent::Plugin) && defined?(Fluent::Plugin::MonitorAgentInput)
29
+ # from v0.14.6
30
+ @monitor_agent = Fluent::Plugin::MonitorAgentInput.new
31
+ else
32
+ @monitor_agent = Fluent::MonitorAgentInput.new
33
+ end
29
34
 
30
35
  buffer_queue_length = @registry.gauge(
31
36
  :fluentd_status_buffer_queue_length,
@@ -58,6 +58,9 @@
58
58
  # @id test_forward
59
59
  # @type forward
60
60
  # buffer_type memory
61
+ # flush_interval 1s
62
+ # max_retry_wait 1s
63
+ # disable_retry_limit
61
64
  # <server>
62
65
  # host 127.0.0.1
63
66
  # port 20000
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-prometheus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masahiro Sano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-28 00:00:00.000000000 Z
11
+ date: 2016-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd