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 +4 -4
- data/fluent-plugin-prometheus.gemspec +1 -1
- data/lib/fluent/plugin/in_prometheus_monitor.rb +6 -1
- data/misc/fluentd_sample.conf +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc459ea9922aeb0b292c93035e176c4a3c2dfa03
|
4
|
+
data.tar.gz: c2598bbe1b5e3cd7de282d7db394c0f5b0a89723
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
-
|
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,
|
data/misc/fluentd_sample.conf
CHANGED
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.
|
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-
|
11
|
+
date: 2016-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|