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