prometheus_exporter 0.4.9 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -1
- data/CHANGELOG +43 -0
- data/Gemfile +2 -0
- data/Guardfile +2 -0
- data/README.md +84 -3
- data/Rakefile +2 -0
- data/bench/bench.rb +2 -0
- data/bin/prometheus_exporter +8 -1
- data/examples/custom_collector.rb +2 -0
- data/lib/prometheus_exporter/client.rb +19 -7
- data/lib/prometheus_exporter/instrumentation/active_record.rb +87 -0
- data/lib/prometheus_exporter/instrumentation/delayed_job.rb +9 -3
- data/lib/prometheus_exporter/instrumentation/method_profiler.rb +2 -0
- data/lib/prometheus_exporter/instrumentation/process.rb +1 -12
- data/lib/prometheus_exporter/instrumentation/puma.rb +4 -2
- data/lib/prometheus_exporter/instrumentation/shoryuken.rb +31 -0
- data/lib/prometheus_exporter/instrumentation/sidekiq.rb +9 -5
- data/lib/prometheus_exporter/instrumentation/unicorn.rb +8 -6
- data/lib/prometheus_exporter/instrumentation.rb +5 -0
- data/lib/prometheus_exporter/metric/base.rb +8 -0
- data/lib/prometheus_exporter/metric/counter.rb +9 -1
- data/lib/prometheus_exporter/metric/gauge.rb +9 -1
- data/lib/prometheus_exporter/metric/histogram.rb +14 -0
- data/lib/prometheus_exporter/metric/summary.rb +15 -1
- data/lib/prometheus_exporter/metric.rb +2 -0
- data/lib/prometheus_exporter/server/active_record_collector.rb +56 -0
- data/lib/prometheus_exporter/server/collector.rb +9 -2
- data/lib/prometheus_exporter/server/collector_base.rb +2 -0
- data/lib/prometheus_exporter/server/delayed_job_collector.rb +14 -1
- data/lib/prometheus_exporter/server/hutch_collector.rb +2 -0
- data/lib/prometheus_exporter/server/process_collector.rb +1 -0
- data/lib/prometheus_exporter/server/puma_collector.rb +11 -1
- data/lib/prometheus_exporter/server/runner.rb +8 -30
- data/lib/prometheus_exporter/server/shoryuken_collector.rb +59 -0
- data/lib/prometheus_exporter/server/sidekiq_collector.rb +2 -0
- data/lib/prometheus_exporter/server/type_collector.rb +2 -0
- data/lib/prometheus_exporter/server/unicorn_collector.rb +8 -1
- data/lib/prometheus_exporter/server/web_server.rb +2 -1
- data/lib/prometheus_exporter/server.rb +4 -0
- data/lib/prometheus_exporter/version.rb +3 -1
- data/lib/prometheus_exporter.rb +14 -0
- data/prometheus_exporter.gemspec +17 -13
- metadata +38 -6
- data/.travis +0 -9
metadata
CHANGED
@@ -1,27 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prometheus_exporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Saffron
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rubocop
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.69'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.69'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: bundler
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
16
30
|
requirements:
|
17
|
-
- - "
|
31
|
+
- - ">"
|
18
32
|
- !ruby/object:Gem::Version
|
19
33
|
version: '1.16'
|
20
34
|
type: :development
|
21
35
|
prerelease: false
|
22
36
|
version_requirements: !ruby/object:Gem::Requirement
|
23
37
|
requirements:
|
24
|
-
- - "
|
38
|
+
- - ">"
|
25
39
|
- !ruby/object:Gem::Version
|
26
40
|
version: '1.16'
|
27
41
|
- !ruby/object:Gem::Dependency
|
@@ -136,6 +150,20 @@ dependencies:
|
|
136
150
|
- - "~>"
|
137
151
|
- !ruby/object:Gem::Version
|
138
152
|
version: '0.6'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rubocop-discourse
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '1.0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '1.0'
|
139
167
|
description: Prometheus metric collector and exporter for Ruby
|
140
168
|
email:
|
141
169
|
- sam.saffron@gmail.com
|
@@ -146,7 +174,6 @@ extra_rdoc_files: []
|
|
146
174
|
files:
|
147
175
|
- ".gitignore"
|
148
176
|
- ".rubocop.yml"
|
149
|
-
- ".travis"
|
150
177
|
- ".travis.yml"
|
151
178
|
- CHANGELOG
|
152
179
|
- CODE_OF_CONDUCT.md
|
@@ -161,11 +188,13 @@ files:
|
|
161
188
|
- lib/prometheus_exporter.rb
|
162
189
|
- lib/prometheus_exporter/client.rb
|
163
190
|
- lib/prometheus_exporter/instrumentation.rb
|
191
|
+
- lib/prometheus_exporter/instrumentation/active_record.rb
|
164
192
|
- lib/prometheus_exporter/instrumentation/delayed_job.rb
|
165
193
|
- lib/prometheus_exporter/instrumentation/hutch.rb
|
166
194
|
- lib/prometheus_exporter/instrumentation/method_profiler.rb
|
167
195
|
- lib/prometheus_exporter/instrumentation/process.rb
|
168
196
|
- lib/prometheus_exporter/instrumentation/puma.rb
|
197
|
+
- lib/prometheus_exporter/instrumentation/shoryuken.rb
|
169
198
|
- lib/prometheus_exporter/instrumentation/sidekiq.rb
|
170
199
|
- lib/prometheus_exporter/instrumentation/unicorn.rb
|
171
200
|
- lib/prometheus_exporter/metric.rb
|
@@ -176,6 +205,7 @@ files:
|
|
176
205
|
- lib/prometheus_exporter/metric/summary.rb
|
177
206
|
- lib/prometheus_exporter/middleware.rb
|
178
207
|
- lib/prometheus_exporter/server.rb
|
208
|
+
- lib/prometheus_exporter/server/active_record_collector.rb
|
179
209
|
- lib/prometheus_exporter/server/collector.rb
|
180
210
|
- lib/prometheus_exporter/server/collector_base.rb
|
181
211
|
- lib/prometheus_exporter/server/delayed_job_collector.rb
|
@@ -183,6 +213,7 @@ files:
|
|
183
213
|
- lib/prometheus_exporter/server/process_collector.rb
|
184
214
|
- lib/prometheus_exporter/server/puma_collector.rb
|
185
215
|
- lib/prometheus_exporter/server/runner.rb
|
216
|
+
- lib/prometheus_exporter/server/shoryuken_collector.rb
|
186
217
|
- lib/prometheus_exporter/server/sidekiq_collector.rb
|
187
218
|
- lib/prometheus_exporter/server/type_collector.rb
|
188
219
|
- lib/prometheus_exporter/server/unicorn_collector.rb
|
@@ -194,7 +225,8 @@ homepage: https://github.com/discourse/prometheus_exporter
|
|
194
225
|
licenses:
|
195
226
|
- MIT
|
196
227
|
metadata: {}
|
197
|
-
post_install_message:
|
228
|
+
post_install_message: prometheus_exporter will only bind to localhost by default as
|
229
|
+
of v0.5
|
198
230
|
rdoc_options: []
|
199
231
|
require_paths:
|
200
232
|
- lib
|