Sha256: 20a0db0ffab7364043dd1fa805f71d7606ac6374ebec449a4ae843b56975c44d

Contents?: true

Size: 447 Bytes

Versions: 16

Compression:

Stored size: 447 Bytes

Contents

if Rails.env.development?
  Easymon::Repository.add("redis", Easymon::RedisCheck.new(YAML.load_file(Rails.root.join("config/redis.yml"))[Rails.env].symbolize_keys))
  Easymon::Repository.add("database", Easymon::ActiveRecordCheck.new(ActiveRecord::Base), :critical)
  Easymon::Repository.add("memcached", Easymon::MemcachedCheck.new(Rails.cache))
  Easymon::Repository.add("elasticsearch-http", Easymon::HttpCheck.new("http://localhost:9200"))
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
easymon-1.6.3 test/dummy/config/initializers/easymon.rb
easymon-1.6.2 test/dummy/config/initializers/easymon.rb
easymon-1.6.1 test/dummy/config/initializers/easymon.rb
easymon-1.5 test/dummy/config/initializers/easymon.rb
easymon-1.6.0 test/dummy/config/initializers/easymon.rb
easymon-1.4.2 test/dummy/config/initializers/easymon.rb
easymon-1.4.1 test/dummy/config/initializers/easymon.rb
easymon-1.4 test/dummy/config/initializers/easymon.rb
easymon-1.3 test/dummy/config/initializers/easymon.rb
easymon-1.2.6 test/dummy/config/initializers/easymon.rb
easymon-1.2.5 test/dummy/config/initializers/easymon.rb
easymon-1.2.4 test/dummy/config/initializers/easymon.rb
easymon-1.2.3 test/dummy/config/initializers/easymon.rb
easymon-1.2.2 test/dummy/config/initializers/easymon.rb
easymon-1.2.1 test/dummy/config/initializers/easymon.rb
easymon-1.2 test/dummy/config/initializers/easymon.rb