{"action":"created","issue":{"url":"https://api.github.com/repos/StackStorm/st2/issues/2706","repository_url":"https://api.github.com/repos/StackStorm/st2","labels_url":"https://api.github.com/repos/StackStorm/st2/issues/2706/labels{/name}","comments_url":"https://api.github.com/repos/StackStorm/st2/issues/2706/comments","events_url":"https://api.github.com/repos/StackStorm/st2/issues/2706/events","html_url":"https://github.com/StackStorm/st2/issues/2706","id":156022779,"number":2706,"title":"Add another \"timestamp\" attribute to the execution object when represents a time execution has been started","user":{"login":"Kami","id":125088,"avatar_url":"https://avatars.githubusercontent.com/u/125088?v=3","gravatar_id":"","url":"https://api.github.com/users/Kami","html_url":"https://github.com/Kami","followers_url":"https://api.github.com/users/Kami/followers","following_url":"https://api.github.com/users/Kami/following{/other_user}","gists_url":"https://api.github.com/users/Kami/gists{/gist_id}","starred_url":"https://api.github.com/users/Kami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kami/subscriptions","organizations_url":"https://api.github.com/users/Kami/orgs","repos_url":"https://api.github.com/users/Kami/repos","events_url":"https://api.github.com/users/Kami/events{/privacy}","received_events_url":"https://api.github.com/users/Kami/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/StackStorm/st2/labels/complexity:easy","name":"complexity:easy","color":"bfe5bf"},{"url":"https://api.github.com/repos/StackStorm/st2/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/StackStorm/st2/labels/feature","name":"feature","color":"207de5"},{"url":"https://api.github.com/repos/StackStorm/st2/labels/SUPPORT","name":"SUPPORT","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-20T18:24:19Z","updated_at":"2016-05-24T19:09:59Z","closed_at":null,"body":"Right now we have `start_timestamp` which is set when an execution is scheduled (aka requested by the API or other service) and `stop_timestamp` which is set by the runner container when execution finishes.\r\n\r\nThere could be a delay (for whatever reason) between when execution is scheduled (`start_timestamp`) and when it actually starts being executed by the runner. We should add another timestamp attribute to the `ActionExecutionDB` model (dunno, `execution_start_timestamp` or similar, but ideally we would probably rename existing `start_timestamp` to `scheduled_timestamp`, but this is a bit of a painful change) which indicates a timestamp when action execution has been started by the runner.\r\n\r\nOriginally reported by Sayli K. on Slack."},"comment":{"url":"https://api.github.com/repos/StackStorm/st2/issues/comments/221372664","html_url":"https://github.com/StackStorm/st2/issues/2706#issuecomment-221372664","issue_url":"https://api.github.com/repos/StackStorm/st2/issues/2706","id":221372664,"user":{"login":"manasdk","id":1776099,"avatar_url":"https://avatars.githubusercontent.com/u/1776099?v=3","gravatar_id":"","url":"https://api.github.com/users/manasdk","html_url":"https://github.com/manasdk","followers_url":"https://api.github.com/users/manasdk/followers","following_url":"https://api.github.com/users/manasdk/following{/other_user}","gists_url":"https://api.github.com/users/manasdk/gists{/gist_id}","starred_url":"https://api.github.com/users/manasdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manasdk/subscriptions","organizations_url":"https://api.github.com/users/manasdk/orgs","repos_url":"https://api.github.com/users/manasdk/repos","events_url":"https://api.github.com/users/manasdk/events{/privacy}","received_events_url":"https://api.github.com/users/manasdk/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T19:09:59Z","updated_at":"2016-05-24T19:09:59Z","body":"I cannot help but agree with @enykeev. We need some sort of audit-trail of activities on a single execution. "}}
{"actor":{"display_login":"manasdk"}}