#46 Add Prometheus exporter

This commit is contained in:
Tobias Kantusch
2021-02-18 18:02:56 +01:00
committed by Sebastian Serth
parent 39fcd255f9
commit 44b32b6f6a
26 changed files with 2121 additions and 45 deletions

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
@ -10,7 +12,8 @@ Rails.application.configure do
# Do not eager load code on boot. This avoids loading your whole application
# just for the purpose of running a single test. If you are using a tool that
# preloads Rails for running tests, you may have to set it to true.
config.eager_load = false
# Eager load code for prometheus exporter
config.eager_load = true
# Configure public file server for tests with Cache-Control for performance.
config.public_file_server.enabled = true
@ -47,7 +50,7 @@ Rails.application.configure do
# Raises error for missing translations
# config.action_view.raise_on_missing_translations = true
#config.logger = Logger.new(STDOUT)
# config.logger = Logger.new($stdout)
# Set log level
#config.log_level = :DEBUG
# config.log_level = :DEBUG
end