fluent-plugin-prometheus 1.5.0 → 1.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +3 -3
- data/README.md +38 -18
- data/fluent-plugin-prometheus.gemspec +2 -2
- data/lib/fluent/plugin/filter_prometheus.rb +5 -4
- data/lib/fluent/plugin/in_prometheus.rb +50 -0
- data/lib/fluent/plugin/in_prometheus_monitor.rb +20 -5
- data/lib/fluent/plugin/in_prometheus_output_monitor.rb +40 -9
- data/lib/fluent/plugin/in_prometheus_tail_monitor.rb +5 -4
- data/lib/fluent/plugin/out_prometheus.rb +2 -1
- data/lib/fluent/plugin/prometheus.rb +60 -16
- data/lib/fluent/plugin/prometheus/placeholder_expander.rb +132 -0
- data/lib/fluent/plugin/prometheus_metrics.rb +77 -0
- data/misc/prometheus_alerts.yaml +1 -1
- data/spec/fluent/plugin/filter_prometheus_spec.rb +20 -10
- data/spec/fluent/plugin/in_prometheus_monitor_spec.rb +0 -1
- data/spec/fluent/plugin/{prometheus_spec.rb → in_prometheus_spec.rb} +0 -0
- data/spec/fluent/plugin/out_prometheus_spec.rb +18 -9
- data/spec/fluent/plugin/prometheus/placeholder_expander_spec.rb +110 -0
- data/spec/fluent/plugin/prometheus_metrics_spec.rb +138 -0
- data/spec/fluent/plugin/shared.rb +50 -101
- metadata +14 -8
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: 1.
|
4
|
+
version: 1.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masahiro Sano
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|
@@ -34,16 +34,16 @@ dependencies:
|
|
34
34
|
name: prometheus-client
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - "
|
37
|
+
- - "<"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '0'
|
39
|
+
version: '0.10'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- - "
|
44
|
+
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '0'
|
46
|
+
version: '0.10'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,14 +122,18 @@ files:
|
|
122
122
|
- lib/fluent/plugin/in_prometheus_tail_monitor.rb
|
123
123
|
- lib/fluent/plugin/out_prometheus.rb
|
124
124
|
- lib/fluent/plugin/prometheus.rb
|
125
|
+
- lib/fluent/plugin/prometheus/placeholder_expander.rb
|
126
|
+
- lib/fluent/plugin/prometheus_metrics.rb
|
125
127
|
- misc/fluentd_sample.conf
|
126
128
|
- misc/nginx_proxy.conf
|
127
129
|
- misc/prometheus.yaml
|
128
130
|
- misc/prometheus_alerts.yaml
|
129
131
|
- spec/fluent/plugin/filter_prometheus_spec.rb
|
130
132
|
- spec/fluent/plugin/in_prometheus_monitor_spec.rb
|
133
|
+
- spec/fluent/plugin/in_prometheus_spec.rb
|
131
134
|
- spec/fluent/plugin/out_prometheus_spec.rb
|
132
|
-
- spec/fluent/plugin/
|
135
|
+
- spec/fluent/plugin/prometheus/placeholder_expander_spec.rb
|
136
|
+
- spec/fluent/plugin/prometheus_metrics_spec.rb
|
133
137
|
- spec/fluent/plugin/shared.rb
|
134
138
|
- spec/spec_helper.rb
|
135
139
|
homepage: https://github.com/fluent/fluent-plugin-prometheus
|
@@ -158,7 +162,9 @@ summary: A fluent plugin that collects metrics and exposes for Prometheus.
|
|
158
162
|
test_files:
|
159
163
|
- spec/fluent/plugin/filter_prometheus_spec.rb
|
160
164
|
- spec/fluent/plugin/in_prometheus_monitor_spec.rb
|
165
|
+
- spec/fluent/plugin/in_prometheus_spec.rb
|
161
166
|
- spec/fluent/plugin/out_prometheus_spec.rb
|
162
|
-
- spec/fluent/plugin/
|
167
|
+
- spec/fluent/plugin/prometheus/placeholder_expander_spec.rb
|
168
|
+
- spec/fluent/plugin/prometheus_metrics_spec.rb
|
163
169
|
- spec/fluent/plugin/shared.rb
|
164
170
|
- spec/spec_helper.rb
|