{"action":"closed","number":223,"pull_request":{"url":"https://api.github.com/repos/census-instrumentation/opencensus-python/pulls/223","id":200198832,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwMTk4ODMy","html_url":"https://github.com/census-instrumentation/opencensus-python/pull/223","diff_url":"https://github.com/census-instrumentation/opencensus-python/pull/223.diff","patch_url":"https://github.com/census-instrumentation/opencensus-python/pull/223.patch","issue_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/issues/223","number":223,"state":"closed","locked":false,"title":"Sanic middleware","user":{"login":"tcolgate","id":76019,"node_id":"MDQ6VXNlcjc2MDE5","avatar_url":"https://avatars0.githubusercontent.com/u/76019?v=4","gravatar_id":"","url":"https://api.github.com/users/tcolgate","html_url":"https://github.com/tcolgate","followers_url":"https://api.github.com/users/tcolgate/followers","following_url":"https://api.github.com/users/tcolgate/following{/other_user}","gists_url":"https://api.github.com/users/tcolgate/gists{/gist_id}","starred_url":"https://api.github.com/users/tcolgate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcolgate/subscriptions","organizations_url":"https://api.github.com/users/tcolgate/orgs","repos_url":"https://api.github.com/users/tcolgate/repos","events_url":"https://api.github.com/users/tcolgate/events{/privacy}","received_events_url":"https://api.github.com/users/tcolgate/received_events","type":"User","site_admin":false},"body":"This is work in progress. Provides a middleware styled after the flask\nmiddleware. Not testeed at all at preset, but some open issue I don't know\nhow to deal with exist already:\n\n- some of the requirements of sanic don't seem to work on 2.7\n- I'm geting a failure on protobuf when attempting to run this\n  ouside of the tests.\n\nSanic doesn't have all the of the request testing options that flask has, so\nI need work out what to do there, in addition, the mock tracer isn't getting any\nspans (I'm not sure why at present).","created_at":"2018-07-09T19:38:07Z","updated_at":"2018-07-12T20:03:38Z","closed_at":"2018-07-12T20:03:37Z","merged_at":null,"merge_commit_sha":"baafc0be6dc0eb8f58dda6373f02b0b48982ced6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/pulls/223/commits","review_comments_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/pulls/223/comments","review_comment_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/issues/223/comments","statuses_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/statuses/fafbc6651abc123d67d15cd2984762acda069005","head":{"label":"tcolgate:sanic","ref":"sanic","sha":"fafbc6651abc123d67d15cd2984762acda069005","user":{"login":"tcolgate","id":76019,"node_id":"MDQ6VXNlcjc2MDE5","avatar_url":"https://avatars0.githubusercontent.com/u/76019?v=4","gravatar_id":"","url":"https://api.github.com/users/tcolgate","html_url":"https://github.com/tcolgate","followers_url":"https://api.github.com/users/tcolgate/followers","following_url":"https://api.github.com/users/tcolgate/following{/other_user}","gists_url":"https://api.github.com/users/tcolgate/gists{/gist_id}","starred_url":"https://api.github.com/users/tcolgate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcolgate/subscriptions","organizations_url":"https://api.github.com/users/tcolgate/orgs","repos_url":"https://api.github.com/users/tcolgate/repos","events_url":"https://api.github.com/users/tcolgate/events{/privacy}","received_events_url":"https://api.github.com/users/tcolgate/received_events","type":"User","site_admin":false},"repo":{"id":140284400,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAyODQ0MDA=","name":"opencensus-python","full_name":"tcolgate/opencensus-python","owner":{"login":"tcolgate","id":76019,"node_id":"MDQ6VXNlcjc2MDE5","avatar_url":"https://avatars0.githubusercontent.com/u/76019?v=4","gravatar_id":"","url":"https://api.github.com/users/tcolgate","html_url":"https://github.com/tcolgate","followers_url":"https://api.github.com/users/tcolgate/followers","following_url":"https://api.github.com/users/tcolgate/following{/other_user}","gists_url":"https://api.github.com/users/tcolgate/gists{/gist_id}","starred_url":"https://api.github.com/users/tcolgate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcolgate/subscriptions","organizations_url":"https://api.github.com/users/tcolgate/orgs","repos_url":"https://api.github.com/users/tcolgate/repos","events_url":"https://api.github.com/users/tcolgate/events{/privacy}","received_events_url":"https://api.github.com/users/tcolgate/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tcolgate/opencensus-python","description":"A stats collection and distributed tracing framework","fork":true,"url":"https://api.github.com/repos/tcolgate/opencensus-python","forks_url":"https://api.github.com/repos/tcolgate/opencensus-python/forks","keys_url":"https://api.github.com/repos/tcolgate/opencensus-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tcolgate/opencensus-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tcolgate/opencensus-python/teams","hooks_url":"https://api.github.com/repos/tcolgate/opencensus-python/hooks","issue_events_url":"https://api.github.com/repos/tcolgate/opencensus-python/issues/events{/number}","events_url":"https://api.github.com/repos/tcolgate/opencensus-python/events","assignees_url":"https://api.github.com/repos/tcolgate/opencensus-python/assignees{/user}","branches_url":"https://api.github.com/repos/tcolgate/opencensus-python/branches{/branch}","tags_url":"https://api.github.com/repos/tcolgate/opencensus-python/tags","blobs_url":"https://api.github.com/repos/tcolgate/opencensus-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tcolgate/opencensus-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tcolgate/opencensus-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/tcolgate/opencensus-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tcolgate/opencensus-python/statuses/{sha}","languages_url":"https://api.github.com/repos/tcolgate/opencensus-python/languages","stargazers_url":"https://api.github.com/repos/tcolgate/opencensus-python/stargazers","contributors_url":"https://api.github.com/repos/tcolgate/opencensus-python/contributors","subscribers_url":"https://api.github.com/repos/tcolgate/opencensus-python/subscribers","subscription_url":"https://api.github.com/repos/tcolgate/opencensus-python/subscription","commits_url":"https://api.github.com/repos/tcolgate/opencensus-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/tcolgate/opencensus-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/tcolgate/opencensus-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/tcolgate/opencensus-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/tcolgate/opencensus-python/contents/{+path}","compare_url":"https://api.github.com/repos/tcolgate/opencensus-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tcolgate/opencensus-python/merges","archive_url":"https://api.github.com/repos/tcolgate/opencensus-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tcolgate/opencensus-python/downloads","issues_url":"https://api.github.com/repos/tcolgate/opencensus-python/issues{/number}","pulls_url":"https://api.github.com/repos/tcolgate/opencensus-python/pulls{/number}","milestones_url":"https://api.github.com/repos/tcolgate/opencensus-python/milestones{/number}","notifications_url":"https://api.github.com/repos/tcolgate/opencensus-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tcolgate/opencensus-python/labels{/name}","releases_url":"https://api.github.com/repos/tcolgate/opencensus-python/releases{/id}","deployments_url":"https://api.github.com/repos/tcolgate/opencensus-python/deployments","created_at":"2018-07-09T12:48:08Z","updated_at":"2018-07-09T12:48:10Z","pushed_at":"2018-07-11T20:35:17Z","git_url":"git://github.com/tcolgate/opencensus-python.git","ssh_url":"git@github.com:tcolgate/opencensus-python.git","clone_url":"https://github.com/tcolgate/opencensus-python.git","svn_url":"https://github.com/tcolgate/opencensus-python","homepage":"","size":821,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"census-instrumentation:master","ref":"master","sha":"2caf7f3691af541796ac5db9213e628d649b9b16","user":{"login":"census-instrumentation","id":26944525,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2OTQ0NTI1","avatar_url":"https://avatars0.githubusercontent.com/u/26944525?v=4","gravatar_id":"","url":"https://api.github.com/users/census-instrumentation","html_url":"https://github.com/census-instrumentation","followers_url":"https://api.github.com/users/census-instrumentation/followers","following_url":"https://api.github.com/users/census-instrumentation/following{/other_user}","gists_url":"https://api.github.com/users/census-instrumentation/gists{/gist_id}","starred_url":"https://api.github.com/users/census-instrumentation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/census-instrumentation/subscriptions","organizations_url":"https://api.github.com/users/census-instrumentation/orgs","repos_url":"https://api.github.com/users/census-instrumentation/repos","events_url":"https://api.github.com/users/census-instrumentation/events{/privacy}","received_events_url":"https://api.github.com/users/census-instrumentation/received_events","type":"Organization","site_admin":false},"repo":{"id":96581030,"node_id":"MDEwOlJlcG9zaXRvcnk5NjU4MTAzMA==","name":"opencensus-python","full_name":"census-instrumentation/opencensus-python","owner":{"login":"census-instrumentation","id":26944525,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2OTQ0NTI1","avatar_url":"https://avatars0.githubusercontent.com/u/26944525?v=4","gravatar_id":"","url":"https://api.github.com/users/census-instrumentation","html_url":"https://github.com/census-instrumentation","followers_url":"https://api.github.com/users/census-instrumentation/followers","following_url":"https://api.github.com/users/census-instrumentation/following{/other_user}","gists_url":"https://api.github.com/users/census-instrumentation/gists{/gist_id}","starred_url":"https://api.github.com/users/census-instrumentation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/census-instrumentation/subscriptions","organizations_url":"https://api.github.com/users/census-instrumentation/orgs","repos_url":"https://api.github.com/users/census-instrumentation/repos","events_url":"https://api.github.com/users/census-instrumentation/events{/privacy}","received_events_url":"https://api.github.com/users/census-instrumentation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/census-instrumentation/opencensus-python","description":"A stats collection and distributed tracing framework","fork":false,"url":"https://api.github.com/repos/census-instrumentation/opencensus-python","forks_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/forks","keys_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/teams","hooks_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/hooks","issue_events_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/issues/events{/number}","events_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/events","assignees_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/assignees{/user}","branches_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/branches{/branch}","tags_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/tags","blobs_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/statuses/{sha}","languages_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/languages","stargazers_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/stargazers","contributors_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/contributors","subscribers_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/subscribers","subscription_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/subscription","commits_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/contents/{+path}","compare_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/merges","archive_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/downloads","issues_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/issues{/number}","pulls_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/pulls{/number}","milestones_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/milestones{/number}","notifications_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/labels{/name}","releases_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/releases{/id}","deployments_url":"https://api.github.com/repos/census-instrumentation/opencensus-python/deployments","created_at":"2017-07-07T22:28:28Z","updated_at":"2018-07-07T19:24:43Z","pushed_at":"2018-07-11T20:35:18Z","git_url":"git://github.com/census-instrumentation/opencensus-python.git","ssh_url":"git@github.com:census-instrumentation/opencensus-python.git","clone_url":"https://github.com/census-instrumentation/opencensus-python.git","svn_url":"https://github.com/census-instrumentation/opencensus-python","homepage":"","size":802,"stargazers_count":166,"watchers_count":166,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":41,"mirror_url":null,"archived":false,"open_issues_count":43,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":41,"open_issues":43,"watchers":166,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-python/pulls/223"},"html":{"href":"https://github.com/census-instrumentation/opencensus-python/pull/223"},"issue":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-python/issues/223"},"comments":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-python/issues/223/comments"},"review_comments":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-python/pulls/223/comments"},"review_comment":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-python/pulls/223/commits"},"statuses":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-python/statuses/fafbc6651abc123d67d15cd2984762acda069005"}},"author_association":"NONE","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"unstable","merged_by":null,"comments":4,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":817,"deletions":4,"changed_files":7}}
{"actor":{"display_login":"tcolgate"}}