{"action":"created","issue":{"url":"https://api.github.com/repos/simcen/alert_manager/issues/42","repository_url":"https://api.github.com/repos/simcen/alert_manager","labels_url":"https://api.github.com/repos/simcen/alert_manager/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/simcen/alert_manager/issues/42/comments","events_url":"https://api.github.com/repos/simcen/alert_manager/issues/42/events","html_url":"https://github.com/simcen/alert_manager/issues/42","id":53029099,"number":42,"title":"App should provide an auto_subsequent_resolve option","user":{"login":"my2ndhead","id":10104343,"avatar_url":"https://avatars.githubusercontent.com/u/10104343?v=3","gravatar_id":"","url":"https://api.github.com/users/my2ndhead","html_url":"https://github.com/my2ndhead","followers_url":"https://api.github.com/users/my2ndhead/followers","following_url":"https://api.github.com/users/my2ndhead/following{/other_user}","gists_url":"https://api.github.com/users/my2ndhead/gists{/gist_id}","starred_url":"https://api.github.com/users/my2ndhead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/my2ndhead/subscriptions","organizations_url":"https://api.github.com/users/my2ndhead/orgs","repos_url":"https://api.github.com/users/my2ndhead/repos","events_url":"https://api.github.com/users/my2ndhead/events{/privacy}","received_events_url":"https://api.github.com/users/my2ndhead/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/simcen/alert_manager/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/simcen/alert_manager/milestones/6","html_url":"https://github.com/simcen/alert_manager/milestones/v2.1%20(Minor%20Release)","labels_url":"https://api.github.com/repos/simcen/alert_manager/milestones/6/labels","id":1049169,"number":6,"title":"v2.1 (Minor Release)","description":"","creator":{"login":"simcen","id":560765,"avatar_url":"https://avatars.githubusercontent.com/u/560765?v=3","gravatar_id":"","url":"https://api.github.com/users/simcen","html_url":"https://github.com/simcen","followers_url":"https://api.github.com/users/simcen/followers","following_url":"https://api.github.com/users/simcen/following{/other_user}","gists_url":"https://api.github.com/users/simcen/gists{/gist_id}","starred_url":"https://api.github.com/users/simcen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simcen/subscriptions","organizations_url":"https://api.github.com/users/simcen/orgs","repos_url":"https://api.github.com/users/simcen/repos","events_url":"https://api.github.com/users/simcen/events{/privacy}","received_events_url":"https://api.github.com/users/simcen/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":0,"state":"open","created_at":"2015-04-01T18:10:31Z","updated_at":"2016-04-19T20:24:53Z","due_on":"2016-05-30T22:00:00Z","closed_at":null},"comments":1,"created_at":"2014-12-29T09:27:43Z","updated_at":"2016-05-12T07:48:46Z","closed_at":null,"body":"Currently we have an auto_previous_resolve option, that closes existing alerts in state new, when a new alert with the same name is arriving.\r\n\r\nThis works for use cases, where we don't care about the previous alert, and just want to know which alerts are in an active state.\r\n\r\nAn alternative use case is, when we want to know how long an alert has persisted. Therefore we need an option to preserve the first incident and close all subsequent alerts."},"comment":{"url":"https://api.github.com/repos/simcen/alert_manager/issues/comments/218684477","html_url":"https://github.com/simcen/alert_manager/issues/42#issuecomment-218684477","issue_url":"https://api.github.com/repos/simcen/alert_manager/issues/42","id":218684477,"user":{"login":"simcen","id":560765,"avatar_url":"https://avatars.githubusercontent.com/u/560765?v=3","gravatar_id":"","url":"https://api.github.com/users/simcen","html_url":"https://github.com/simcen","followers_url":"https://api.github.com/users/simcen/followers","following_url":"https://api.github.com/users/simcen/following{/other_user}","gists_url":"https://api.github.com/users/simcen/gists{/gist_id}","starred_url":"https://api.github.com/users/simcen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simcen/subscriptions","organizations_url":"https://api.github.com/users/simcen/orgs","repos_url":"https://api.github.com/users/simcen/repos","events_url":"https://api.github.com/users/simcen/events{/privacy}","received_events_url":"https://api.github.com/users/simcen/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T07:48:46Z","updated_at":"2016-05-12T07:48:46Z","body":"- New incident is getting created and set to status 'auto_subsequent_resolved\"\r\n- Event \"incident_auto_subsequent_resolved\" gets fired (new incident context)\r\n- Pre-existing incident gets history entry mentioning new subsequent resolved incident has been create, including new incident id\r\n- Event \"incident_new_subsequent_incident\" gets fired (related to pre-existing incident context)"}}