{"action":"created","issue":{"url":"https://api.github.com/repos/lbeder/health-monitor-rails/issues/12","repository_url":"https://api.github.com/repos/lbeder/health-monitor-rails","labels_url":"https://api.github.com/repos/lbeder/health-monitor-rails/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/lbeder/health-monitor-rails/issues/12/comments","events_url":"https://api.github.com/repos/lbeder/health-monitor-rails/issues/12/events","html_url":"https://github.com/lbeder/health-monitor-rails/issues/12","id":192387782,"number":12,"title":"database check doesn't work for mongoid, and can't be turned off","user":{"login":"jesmith17","id":369005,"avatar_url":"https://avatars.githubusercontent.com/u/369005?v=3","gravatar_id":"","url":"https://api.github.com/users/jesmith17","html_url":"https://github.com/jesmith17","followers_url":"https://api.github.com/users/jesmith17/followers","following_url":"https://api.github.com/users/jesmith17/following{/other_user}","gists_url":"https://api.github.com/users/jesmith17/gists{/gist_id}","starred_url":"https://api.github.com/users/jesmith17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesmith17/subscriptions","organizations_url":"https://api.github.com/users/jesmith17/orgs","repos_url":"https://api.github.com/users/jesmith17/repos","events_url":"https://api.github.com/users/jesmith17/events{/privacy}","received_events_url":"https://api.github.com/users/jesmith17/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-29T20:15:59Z","updated_at":"2016-11-29T22:05:26Z","closed_at":null,"body":"Rails 5 app using mongoid for the DB. The current database check doesn't work for mongoid. I plan to work on a PR to add a mongoid check, but my issue is that because the database check is on by default and the check fails mongoid, my health check always fails. \r\n\r\nI think having the database check by default makes sense, but we need a way to disable it if needed. \r\n\r\nTried to creating a new \"database\" check to see if it would override it in the list, but that simply produces 2 DB checks. "},"comment":{"url":"https://api.github.com/repos/lbeder/health-monitor-rails/issues/comments/263714749","html_url":"https://github.com/lbeder/health-monitor-rails/issues/12#issuecomment-263714749","issue_url":"https://api.github.com/repos/lbeder/health-monitor-rails/issues/12","id":263714749,"user":{"login":"lbeder","id":2841614,"avatar_url":"https://avatars.githubusercontent.com/u/2841614?v=3","gravatar_id":"","url":"https://api.github.com/users/lbeder","html_url":"https://github.com/lbeder","followers_url":"https://api.github.com/users/lbeder/followers","following_url":"https://api.github.com/users/lbeder/following{/other_user}","gists_url":"https://api.github.com/users/lbeder/gists{/gist_id}","starred_url":"https://api.github.com/users/lbeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbeder/subscriptions","organizations_url":"https://api.github.com/users/lbeder/orgs","repos_url":"https://api.github.com/users/lbeder/repos","events_url":"https://api.github.com/users/lbeder/events{/privacy}","received_events_url":"https://api.github.com/users/lbeder/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T22:05:26Z","updated_at":"2016-11-29T22:05:26Z","body":"That's a very valid point. I'll come up with a solution in the next couple of days (i.e., either a way to disable the default db check or to generalize the check to handle mongodb as well)."}}
{"actor":{"display_login":"lbeder"}}