Sha256: 462696868a068441a8ecab8e1026f35dfd6d24d340ee17b2cb95992a37bf57df
Contents?: true
Size: 328 Bytes
Versions: 13
Compression:
Stored size: 328 Bytes
Contents
class Railtie < Rails::Railtie config.redis_prometheus = ActiveSupport::OrderedOptions.new config.redis_prometheus.ignored_urls = ["/metrics/#{ENV["REDIS_PROMETHEUS_TOKEN"]}"] initializer "redis_prometheus.configure_rails_initialization" do |app| app.middleware.insert_before 0, RedisPrometheus::Middleware end end
Version data entries
13 entries across 13 versions & 1 rubygems