{"action":"opened","number":1594,"pull_request":{"url":"https://api.github.com/repos/apache/incubator-airflow/pulls/1594","id":73839847,"html_url":"https://github.com/apache/incubator-airflow/pull/1594","diff_url":"https://github.com/apache/incubator-airflow/pull/1594.diff","patch_url":"https://github.com/apache/incubator-airflow/pull/1594.patch","issue_url":"https://api.github.com/repos/apache/incubator-airflow/issues/1594","number":1594,"state":"open","locked":false,"title":"[AIRFLOW-244] Expose task/dag id/run data for debugging/monitoring purposes","user":{"login":"paulbramsen","id":4658911,"avatar_url":"https://avatars.githubusercontent.com/u/4658911?v=3","gravatar_id":"","url":"https://api.github.com/users/paulbramsen","html_url":"https://github.com/paulbramsen","followers_url":"https://api.github.com/users/paulbramsen/followers","following_url":"https://api.github.com/users/paulbramsen/following{/other_user}","gists_url":"https://api.github.com/users/paulbramsen/gists{/gist_id}","starred_url":"https://api.github.com/users/paulbramsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulbramsen/subscriptions","organizations_url":"https://api.github.com/users/paulbramsen/orgs","repos_url":"https://api.github.com/users/paulbramsen/repos","events_url":"https://api.github.com/users/paulbramsen/events{/privacy}","received_events_url":"https://api.github.com/users/paulbramsen/received_events","type":"User","site_admin":false},"body":"Dear Airflow Maintainers,\r\n\r\nPlease accept this PR that addresses the following issues:\r\n-https://issues.apache.org/jira/browse/AIRFLOW-244\r\n\r\nThis PR exposes task/dag id/run data for ingestion by performance analysis tools like Dr. Elephant through environment variables. This can be selectively applied to operators by decorating their execute functions with the new `export_execute_debug_metadata` decorator. Alternatively, if it seems that this is a feature that most operators are going to want, this could be implemented in such a way that the relevant data is always exposed before calling execute.","created_at":"2016-06-15T01:31:46Z","updated_at":"2016-06-15T01:31:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-airflow/pulls/1594/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-airflow/pulls/1594/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-airflow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-airflow/issues/1594/comments","statuses_url":"https://api.github.com/repos/apache/incubator-airflow/statuses/3385dd05e6d9498638fce9e02ebc306611033d5a","head":{"label":"paulbramsen:paulbramsen/add_improved_debug_monitor_support","ref":"paulbramsen/add_improved_debug_monitor_support","sha":"3385dd05e6d9498638fce9e02ebc306611033d5a","user":{"login":"paulbramsen","id":4658911,"avatar_url":"https://avatars.githubusercontent.com/u/4658911?v=3","gravatar_id":"","url":"https://api.github.com/users/paulbramsen","html_url":"https://github.com/paulbramsen","followers_url":"https://api.github.com/users/paulbramsen/followers","following_url":"https://api.github.com/users/paulbramsen/following{/other_user}","gists_url":"https://api.github.com/users/paulbramsen/gists{/gist_id}","starred_url":"https://api.github.com/users/paulbramsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulbramsen/subscriptions","organizations_url":"https://api.github.com/users/paulbramsen/orgs","repos_url":"https://api.github.com/users/paulbramsen/repos","events_url":"https://api.github.com/users/paulbramsen/events{/privacy}","received_events_url":"https://api.github.com/users/paulbramsen/received_events","type":"User","site_admin":false},"repo":{"id":60882057,"name":"incubator-airflow","full_name":"paulbramsen/incubator-airflow","owner":{"login":"paulbramsen","id":4658911,"avatar_url":"https://avatars.githubusercontent.com/u/4658911?v=3","gravatar_id":"","url":"https://api.github.com/users/paulbramsen","html_url":"https://github.com/paulbramsen","followers_url":"https://api.github.com/users/paulbramsen/followers","following_url":"https://api.github.com/users/paulbramsen/following{/other_user}","gists_url":"https://api.github.com/users/paulbramsen/gists{/gist_id}","starred_url":"https://api.github.com/users/paulbramsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulbramsen/subscriptions","organizations_url":"https://api.github.com/users/paulbramsen/orgs","repos_url":"https://api.github.com/users/paulbramsen/repos","events_url":"https://api.github.com/users/paulbramsen/events{/privacy}","received_events_url":"https://api.github.com/users/paulbramsen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paulbramsen/incubator-airflow","description":"Apache Airflow (Incubating)","fork":true,"url":"https://api.github.com/repos/paulbramsen/incubator-airflow","forks_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/forks","keys_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/teams","hooks_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/hooks","issue_events_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/issues/events{/number}","events_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/events","assignees_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/assignees{/user}","branches_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/branches{/branch}","tags_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/tags","blobs_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/statuses/{sha}","languages_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/languages","stargazers_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/stargazers","contributors_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/contributors","subscribers_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/subscribers","subscription_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/subscription","commits_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/contents/{+path}","compare_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/merges","archive_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/downloads","issues_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/issues{/number}","pulls_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/pulls{/number}","milestones_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/milestones{/number}","notifications_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/labels{/name}","releases_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/releases{/id}","deployments_url":"https://api.github.com/repos/paulbramsen/incubator-airflow/deployments","created_at":"2016-06-10T23:15:18Z","updated_at":"2016-06-10T23:15:19Z","pushed_at":"2016-06-14T22:55:08Z","git_url":"git://github.com/paulbramsen/incubator-airflow.git","ssh_url":"git@github.com:paulbramsen/incubator-airflow.git","clone_url":"https://github.com/paulbramsen/incubator-airflow.git","svn_url":"https://github.com/paulbramsen/incubator-airflow","homepage":"","size":9517,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"8aa7160c4b8bf23663c4d63c46abd5d631d8b20b","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":33884891,"name":"incubator-airflow","full_name":"apache/incubator-airflow","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-airflow","description":"Apache Airflow (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-airflow","forks_url":"https://api.github.com/repos/apache/incubator-airflow/forks","keys_url":"https://api.github.com/repos/apache/incubator-airflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-airflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-airflow/teams","hooks_url":"https://api.github.com/repos/apache/incubator-airflow/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-airflow/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-airflow/events","assignees_url":"https://api.github.com/repos/apache/incubator-airflow/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-airflow/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-airflow/tags","blobs_url":"https://api.github.com/repos/apache/incubator-airflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-airflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-airflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-airflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-airflow/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-airflow/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-airflow/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-airflow/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-airflow/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-airflow/subscription","commits_url":"https://api.github.com/repos/apache/incubator-airflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-airflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-airflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-airflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-airflow/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-airflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-airflow/merges","archive_url":"https://api.github.com/repos/apache/incubator-airflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-airflow/downloads","issues_url":"https://api.github.com/repos/apache/incubator-airflow/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-airflow/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-airflow/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-airflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-airflow/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-airflow/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-airflow/deployments","created_at":"2015-04-13T18:04:58Z","updated_at":"2016-06-14T23:46:29Z","pushed_at":"2016-06-15T01:31:46Z","git_url":"git://github.com/apache/incubator-airflow.git","ssh_url":"git@github.com:apache/incubator-airflow.git","clone_url":"https://github.com/apache/incubator-airflow.git","svn_url":"https://github.com/apache/incubator-airflow","homepage":"","size":12870,"stargazers_count":2891,"watchers_count":2891,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":637,"mirror_url":null,"open_issues_count":187,"forks":637,"open_issues":187,"watchers":2891,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-airflow/pulls/1594"},"html":{"href":"https://github.com/apache/incubator-airflow/pull/1594"},"issue":{"href":"https://api.github.com/repos/apache/incubator-airflow/issues/1594"},"comments":{"href":"https://api.github.com/repos/apache/incubator-airflow/issues/1594/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-airflow/pulls/1594/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-airflow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-airflow/pulls/1594/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-airflow/statuses/3385dd05e6d9498638fce9e02ebc306611033d5a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":21,"deletions":2,"changed_files":3}}
{"actor":{"display_login":"paulbramsen"}}