{"action":"created","issue":{"url":"https://api.github.com/repos/apache/incubator-airflow/issues/1594","repository_url":"https://api.github.com/repos/apache/incubator-airflow","labels_url":"https://api.github.com/repos/apache/incubator-airflow/issues/1594/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-airflow/issues/1594/comments","events_url":"https://api.github.com/repos/apache/incubator-airflow/issues/1594/events","html_url":"https://github.com/apache/incubator-airflow/pull/1594","id":160320432,"number":1594,"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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-06-15T01:31:46Z","updated_at":"2016-06-16T21:43:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/incubator-airflow/pulls/1594","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"},"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."},"comment":{"url":"https://api.github.com/repos/apache/incubator-airflow/issues/comments/226622709","html_url":"https://github.com/apache/incubator-airflow/pull/1594#issuecomment-226622709","issue_url":"https://api.github.com/repos/apache/incubator-airflow/issues/1594","id":226622709,"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},"created_at":"2016-06-16T21:43:24Z","updated_at":"2016-06-16T21:43:24Z","body":"@criccomini I'm not sure if I understand exactly what you're asking but yes I tested the Airflow side of this. It's pretty simple since all it does is add some Airflow context information to env variables which can be picked up by the tool of your choice in a sub-process.."}}
{"actor":{"display_login":"paulbramsen"}}