{"action":"opened","issue":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/2659","repository_url":"https://api.github.com/repos/DataDog/dd-agent","labels_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2659/labels{/name}","comments_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2659/comments","events_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2659/events","html_url":"https://github.com/DataDog/dd-agent/issues/2659","id":164096115,"number":2659,"title":"docker_daemon: separate external restart and application exit cases","user":{"login":"awasilyev","id":8035549,"avatar_url":"https://avatars.githubusercontent.com/u/8035549?v=3","gravatar_id":"","url":"https://api.github.com/users/awasilyev","html_url":"https://github.com/awasilyev","followers_url":"https://api.github.com/users/awasilyev/followers","following_url":"https://api.github.com/users/awasilyev/following{/other_user}","gists_url":"https://api.github.com/users/awasilyev/gists{/gist_id}","starred_url":"https://api.github.com/users/awasilyev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awasilyev/subscriptions","organizations_url":"https://api.github.com/users/awasilyev/orgs","repos_url":"https://api.github.com/users/awasilyev/repos","events_url":"https://api.github.com/users/awasilyev/events{/privacy}","received_events_url":"https://api.github.com/users/awasilyev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-06T14:55:41Z","updated_at":"2016-07-06T14:55:41Z","closed_at":null,"body":"Docker container can be restarted externally - with docker restart or during new version deployment.\r\nAnother case - when container launched with --restart=yes and application inside container exited for some reason - for example with error or been killed on OOM. \r\nIt will be very useful to have separated events for this two cases, so I can configure alarm on second.\r\n\r\nAnother option - ability to handle group of events events to generate alert. First case generate 'kill' event before 'die', and second - only 'die' event."}}
{"actor":{"display_login":"awasilyev"}}