yabeda-prometheus-mmap 0.2.0 → 0.3.0

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: 759db288b622e2ae72ba1d304d0cabbf31d67f9e68cbc7f056c34a33b636e101
4
- data.tar.gz: c6778787416e6ebe3a719d2bf8e88e910e6eb4518fa1f5d8fde4571839f0fb4a
3
+ metadata.gz: c3b9d14db6299b3e2d23ee81c2d32fb45467a9154c41fed27cca1f18e41dd1e6
4
+ data.tar.gz: 5ac571896729a06fdb4d2d2ffe0dab9eff1cc67721c81ef0272a676b75147876
5
5
  SHA512:
6
- metadata.gz: 739bfbbb8de20743592d0528bd0e7a83c3a8c2e416cab44c10e2a4f90fd8577c3d17f287df1ece768bded0a4645f401e78856f59782a2c0e22d001aec650fc42
7
- data.tar.gz: a69d049adb2ef301e0efd1cc01bb49fa0632c4584727de5ac4d0f647602df887bbc92203cb22ceb4585f5c20d926c09f9db6222a0310033fd71cc481d095d252
6
+ metadata.gz: 98c07acbfb65e1e20e0106448abfa1c804bdb8321aedb257bfa1e5793be92652954757f44d5b9a0e372bcf7af12bfa8f22c8f894256cb3c12fd73eed8235515f
7
+ data.tar.gz: ee2b5ee9803b4df0193911a82440146bbc5733bf152b4e8108d144794a411a729660155f53086ae9b6dedcc2a1c3abb592751cfec1a8cd169dcbda05fc4d47ea
@@ -34,7 +34,7 @@ module Yabeda
34
34
 
35
35
  def rack_app(exporter = self, path: '/metrics')
36
36
  ::Rack::Builder.new do
37
- use ::Rack::CommonLogger
37
+ use ::Rack::CommonLogger if ENV['PROMETHEUS_EXPORTER_LOG_REQUESTS'] != 'false'
38
38
  use ::Rack::ShowExceptions
39
39
  use exporter, path: path
40
40
  run NOT_FOUND_HANDLER
@@ -3,7 +3,7 @@
3
3
  module Yabeda
4
4
  module Prometheus
5
5
  module Mmap
6
- VERSION = '0.2.0'
6
+ VERSION = '0.3.0'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yabeda-prometheus-mmap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Salahutdinov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-21 00:00:00.000000000 Z
11
+ date: 2021-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prometheus-client-mmap
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  requirements: []
90
- rubygems_version: 3.1.6
90
+ rubygems_version: 3.2.15
91
91
  signing_key:
92
92
  specification_version: 4
93
93
  summary: Extensible Prometheus exporter for your application