We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 20ff480 + 94b0a03 commit 967f207Copy full SHA for 967f207
lib/yabeda/prometheus/mmap/exporter.rb
@@ -34,7 +34,7 @@ def start_metrics_server!
34
35
def rack_app(exporter = self, path: '/metrics')
36
::Rack::Builder.new do
37
- use ::Rack::CommonLogger
+ use ::Rack::CommonLogger if ENV['PROMETHEUS_EXPORTER_LOG_REQUESTS'] != 'false'
38
use ::Rack::ShowExceptions
39
use exporter, path: path
40
run NOT_FOUND_HANDLER
0 commit comments