{"action":"created","issue":{"url":"https://api.github.com/repos/DataDog/dd-trace-py/issues/355","repository_url":"https://api.github.com/repos/DataDog/dd-trace-py","labels_url":"https://api.github.com/repos/DataDog/dd-trace-py/issues/355/labels{/name}","comments_url":"https://api.github.com/repos/DataDog/dd-trace-py/issues/355/comments","events_url":"https://api.github.com/repos/DataDog/dd-trace-py/issues/355/events","html_url":"https://github.com/DataDog/dd-trace-py/pull/355","id":261695142,"number":355,"title":"Add automatic distributed tracing to Flask","user":{"login":"andor44","id":496456,"avatar_url":"https://avatars1.githubusercontent.com/u/496456?v=4","gravatar_id":"","url":"https://api.github.com/users/andor44","html_url":"https://github.com/andor44","followers_url":"https://api.github.com/users/andor44/followers","following_url":"https://api.github.com/users/andor44/following{/other_user}","gists_url":"https://api.github.com/users/andor44/gists{/gist_id}","starred_url":"https://api.github.com/users/andor44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andor44/subscriptions","organizations_url":"https://api.github.com/users/andor44/orgs","repos_url":"https://api.github.com/users/andor44/repos","events_url":"https://api.github.com/users/andor44/events{/privacy}","received_events_url":"https://api.github.com/users/andor44/received_events","type":"User","site_admin":false},"labels":[{"id":395724892,"url":"https://api.github.com/repos/DataDog/dd-trace-py/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":443002993,"url":"https://api.github.com/repos/DataDog/dd-trace-py/labels/integrations","name":"integrations","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-29T16:23:59Z","updated_at":"2017-09-29T16:52:55Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/DataDog/dd-trace-py/pulls/355","html_url":"https://github.com/DataDog/dd-trace-py/pull/355","diff_url":"https://github.com/DataDog/dd-trace-py/pull/355.diff","patch_url":"https://github.com/DataDog/dd-trace-py/pull/355.patch"},"body":"I'd like to get the ball rolling on automated distributed tracing in Python so I took the first step of adding it to the Flask integration.\r\n\r\nFlask's `request` global makes it trivial to get the headers, so they can be conveniently injected if so desired. Since the only other implementation that I looked at (Ruby) has it turned off by default I disabled it by default in here too."},"comment":{"url":"https://api.github.com/repos/DataDog/dd-trace-py/issues/comments/333179646","html_url":"https://github.com/DataDog/dd-trace-py/pull/355#issuecomment-333179646","issue_url":"https://api.github.com/repos/DataDog/dd-trace-py/issues/355","id":333179646,"user":{"login":"andor44","id":496456,"avatar_url":"https://avatars1.githubusercontent.com/u/496456?v=4","gravatar_id":"","url":"https://api.github.com/users/andor44","html_url":"https://github.com/andor44","followers_url":"https://api.github.com/users/andor44/followers","following_url":"https://api.github.com/users/andor44/following{/other_user}","gists_url":"https://api.github.com/users/andor44/gists{/gist_id}","starred_url":"https://api.github.com/users/andor44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andor44/subscriptions","organizations_url":"https://api.github.com/users/andor44/orgs","repos_url":"https://api.github.com/users/andor44/repos","events_url":"https://api.github.com/users/andor44/events{/privacy}","received_events_url":"https://api.github.com/users/andor44/received_events","type":"User","site_admin":false},"created_at":"2017-09-29T16:52:55Z","updated_at":"2017-09-29T16:52:55Z","author_association":"NONE","body":"I quickly skimmed the PR list to see if anybody's doing this; I guess I didn't look close enough 😅 \r\nI also quickly fixed a mistake which was setting the new span's ID to the parent's, instead of setting the parent ID."}}
{"actor":{"display_login":"andor44"}}