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

Version Path
redis_prometheus-0.6.5 lib/redis_prometheus/railtie.rb
redis_prometheus-0.6.4 lib/redis_prometheus/railtie.rb
redis_prometheus-0.6.3 lib/redis_prometheus/railtie.rb
redis_prometheus-0.6.2 lib/redis_prometheus/railtie.rb
redis_prometheus-0.6.1 lib/redis_prometheus/railtie.rb
redis_prometheus-0.6.0 lib/redis_prometheus/railtie.rb
redis_prometheus-0.5.2 lib/redis_prometheus/railtie.rb
redis_prometheus-0.5.1 lib/redis_prometheus/railtie.rb
redis_prometheus-0.5.0 lib/redis_prometheus/railtie.rb
redis_prometheus-0.4.0 lib/redis_prometheus/railtie.rb
redis_prometheus-0.3.0 lib/redis_prometheus/railtie.rb
redis_prometheus-0.2.0 lib/redis_prometheus/railtie.rb
redis_prometheus-0.1.0 lib/redis_prometheus/railtie.rb