{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/Monkeyanator/kubernetes/pulls/13","id":228787087,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4Nzg3MDg3","html_url":"https://github.com/Monkeyanator/kubernetes/pull/13","diff_url":"https://github.com/Monkeyanator/kubernetes/pull/13.diff","patch_url":"https://github.com/Monkeyanator/kubernetes/pull/13.patch","issue_url":"https://api.github.com/repos/Monkeyanator/kubernetes/issues/13","number":13,"state":"open","locked":false,"title":"Add trace context to the downward API","user":{"login":"Monkeyanator","id":4377348,"node_id":"MDQ6VXNlcjQzNzczNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/4377348?v=4","gravatar_id":"","url":"https://api.github.com/users/Monkeyanator","html_url":"https://github.com/Monkeyanator","followers_url":"https://api.github.com/users/Monkeyanator/followers","following_url":"https://api.github.com/users/Monkeyanator/following{/other_user}","gists_url":"https://api.github.com/users/Monkeyanator/gists{/gist_id}","starred_url":"https://api.github.com/users/Monkeyanator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Monkeyanator/subscriptions","organizations_url":"https://api.github.com/users/Monkeyanator/orgs","repos_url":"https://api.github.com/users/Monkeyanator/repos","events_url":"https://api.github.com/users/Monkeyanator/events{/privacy}","received_events_url":"https://api.github.com/users/Monkeyanator/received_events","type":"User","site_admin":false},"body":"**What this PR does / why we need it**:\r\n\r\nThis PR modifies the [downward API](https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/#the-downward-api) to allow for the injection of trace context into a pod's containers.\r\n\r\n**Which issue(s) this PR fixes** \r\n\r\nThis PR is an extension of other work done on this fork with respect to adding tracing to Kubernetes components. This work holds special promise because of the possibilities in linking application-level traces back into the pod startup traces. \r\n\r\nBelow is an image that shows an application level trace, running in one of the pod's containers, and the fact that it is linked to the pod startup trace that spawned it:\r\n\r\n![linked-trace-span](https://user-images.githubusercontent.com/4377348/48084271-21a6bc80-e1ac-11e8-9eb9-f9bc1a250efd.png)\r\n\r\n**Special notes for your reviewer**:\r\n\r\nTo run this PR, the container from the `downward-trace-experiment/downward-application` must be built and pushed to a public, accessible registry. Then, you must point the image for `tracedPod.yaml` at the pushed image. Next, run `kubectl create -f downward-trace-experiment/downwardTraceTestCustomConfig` to run the container in your cluster. The linked application-level traces should then be in Stackdriver.\r\n","created_at":"2018-11-06T18:13:20Z","updated_at":"2018-11-06T18:13:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Monkeyanator/kubernetes/pulls/13/commits","review_comments_url":"https://api.github.com/repos/Monkeyanator/kubernetes/pulls/13/comments","review_comment_url":"https://api.github.com/repos/Monkeyanator/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Monkeyanator/kubernetes/issues/13/comments","statuses_url":"https://api.github.com/repos/Monkeyanator/kubernetes/statuses/fcaa8da72e668474474079d16443c1e0c2e08e67","head":{"label":"Monkeyanator:trace-context-downward-api","ref":"trace-context-downward-api","sha":"fcaa8da72e668474474079d16443c1e0c2e08e67","user":{"login":"Monkeyanator","id":4377348,"node_id":"MDQ6VXNlcjQzNzczNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/4377348?v=4","gravatar_id":"","url":"https://api.github.com/users/Monkeyanator","html_url":"https://github.com/Monkeyanator","followers_url":"https://api.github.com/users/Monkeyanator/followers","following_url":"https://api.github.com/users/Monkeyanator/following{/other_user}","gists_url":"https://api.github.com/users/Monkeyanator/gists{/gist_id}","starred_url":"https://api.github.com/users/Monkeyanator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Monkeyanator/subscriptions","organizations_url":"https://api.github.com/users/Monkeyanator/orgs","repos_url":"https://api.github.com/users/Monkeyanator/repos","events_url":"https://api.github.com/users/Monkeyanator/events{/privacy}","received_events_url":"https://api.github.com/users/Monkeyanator/received_events","type":"User","site_admin":false},"repo":{"id":151438719,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE0Mzg3MTk=","name":"kubernetes","full_name":"Monkeyanator/kubernetes","private":false,"owner":{"login":"Monkeyanator","id":4377348,"node_id":"MDQ6VXNlcjQzNzczNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/4377348?v=4","gravatar_id":"","url":"https://api.github.com/users/Monkeyanator","html_url":"https://github.com/Monkeyanator","followers_url":"https://api.github.com/users/Monkeyanator/followers","following_url":"https://api.github.com/users/Monkeyanator/following{/other_user}","gists_url":"https://api.github.com/users/Monkeyanator/gists{/gist_id}","starred_url":"https://api.github.com/users/Monkeyanator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Monkeyanator/subscriptions","organizations_url":"https://api.github.com/users/Monkeyanator/orgs","repos_url":"https://api.github.com/users/Monkeyanator/repos","events_url":"https://api.github.com/users/Monkeyanator/events{/privacy}","received_events_url":"https://api.github.com/users/Monkeyanator/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Monkeyanator/kubernetes","description":"Production-Grade Container Scheduling and Management","fork":true,"url":"https://api.github.com/repos/Monkeyanator/kubernetes","forks_url":"https://api.github.com/repos/Monkeyanator/kubernetes/forks","keys_url":"https://api.github.com/repos/Monkeyanator/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Monkeyanator/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Monkeyanator/kubernetes/teams","hooks_url":"https://api.github.com/repos/Monkeyanator/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/Monkeyanator/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/Monkeyanator/kubernetes/events","assignees_url":"https://api.github.com/repos/Monkeyanator/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/Monkeyanator/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/Monkeyanator/kubernetes/tags","blobs_url":"https://api.github.com/repos/Monkeyanator/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Monkeyanator/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Monkeyanator/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/Monkeyanator/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Monkeyanator/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/Monkeyanator/kubernetes/languages","stargazers_url":"https://api.github.com/repos/Monkeyanator/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/Monkeyanator/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/Monkeyanator/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/Monkeyanator/kubernetes/subscription","commits_url":"https://api.github.com/repos/Monkeyanator/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/Monkeyanator/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/Monkeyanator/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/Monkeyanator/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/Monkeyanator/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/Monkeyanator/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Monkeyanator/kubernetes/merges","archive_url":"https://api.github.com/repos/Monkeyanator/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Monkeyanator/kubernetes/downloads","issues_url":"https://api.github.com/repos/Monkeyanator/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/Monkeyanator/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/Monkeyanator/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/Monkeyanator/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Monkeyanator/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/Monkeyanator/kubernetes/releases{/id}","deployments_url":"https://api.github.com/repos/Monkeyanator/kubernetes/deployments","created_at":"2018-10-03T15:48:54Z","updated_at":"2018-10-22T18:19:20Z","pushed_at":"2018-11-06T17:38:48Z","git_url":"git://github.com/Monkeyanator/kubernetes.git","ssh_url":"git@github.com:Monkeyanator/kubernetes.git","clone_url":"https://github.com/Monkeyanator/kubernetes.git","svn_url":"https://github.com/Monkeyanator/kubernetes","homepage":"https://kubernetes.io","size":586005,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":13,"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":13,"watchers":0,"default_branch":"master"}},"base":{"label":"Monkeyanator:context-propagation-etcd","ref":"context-propagation-etcd","sha":"95dc56075cbe47e9e2f718770278092163c5136e","user":{"login":"Monkeyanator","id":4377348,"node_id":"MDQ6VXNlcjQzNzczNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/4377348?v=4","gravatar_id":"","url":"https://api.github.com/users/Monkeyanator","html_url":"https://github.com/Monkeyanator","followers_url":"https://api.github.com/users/Monkeyanator/followers","following_url":"https://api.github.com/users/Monkeyanator/following{/other_user}","gists_url":"https://api.github.com/users/Monkeyanator/gists{/gist_id}","starred_url":"https://api.github.com/users/Monkeyanator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Monkeyanator/subscriptions","organizations_url":"https://api.github.com/users/Monkeyanator/orgs","repos_url":"https://api.github.com/users/Monkeyanator/repos","events_url":"https://api.github.com/users/Monkeyanator/events{/privacy}","received_events_url":"https://api.github.com/users/Monkeyanator/received_events","type":"User","site_admin":false},"repo":{"id":151438719,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE0Mzg3MTk=","name":"kubernetes","full_name":"Monkeyanator/kubernetes","private":false,"owner":{"login":"Monkeyanator","id":4377348,"node_id":"MDQ6VXNlcjQzNzczNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/4377348?v=4","gravatar_id":"","url":"https://api.github.com/users/Monkeyanator","html_url":"https://github.com/Monkeyanator","followers_url":"https://api.github.com/users/Monkeyanator/followers","following_url":"https://api.github.com/users/Monkeyanator/following{/other_user}","gists_url":"https://api.github.com/users/Monkeyanator/gists{/gist_id}","starred_url":"https://api.github.com/users/Monkeyanator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Monkeyanator/subscriptions","organizations_url":"https://api.github.com/users/Monkeyanator/orgs","repos_url":"https://api.github.com/users/Monkeyanator/repos","events_url":"https://api.github.com/users/Monkeyanator/events{/privacy}","received_events_url":"https://api.github.com/users/Monkeyanator/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Monkeyanator/kubernetes","description":"Production-Grade Container Scheduling and Management","fork":true,"url":"https://api.github.com/repos/Monkeyanator/kubernetes","forks_url":"https://api.github.com/repos/Monkeyanator/kubernetes/forks","keys_url":"https://api.github.com/repos/Monkeyanator/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Monkeyanator/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Monkeyanator/kubernetes/teams","hooks_url":"https://api.github.com/repos/Monkeyanator/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/Monkeyanator/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/Monkeyanator/kubernetes/events","assignees_url":"https://api.github.com/repos/Monkeyanator/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/Monkeyanator/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/Monkeyanator/kubernetes/tags","blobs_url":"https://api.github.com/repos/Monkeyanator/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Monkeyanator/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Monkeyanator/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/Monkeyanator/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Monkeyanator/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/Monkeyanator/kubernetes/languages","stargazers_url":"https://api.github.com/repos/Monkeyanator/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/Monkeyanator/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/Monkeyanator/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/Monkeyanator/kubernetes/subscription","commits_url":"https://api.github.com/repos/Monkeyanator/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/Monkeyanator/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/Monkeyanator/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/Monkeyanator/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/Monkeyanator/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/Monkeyanator/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Monkeyanator/kubernetes/merges","archive_url":"https://api.github.com/repos/Monkeyanator/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Monkeyanator/kubernetes/downloads","issues_url":"https://api.github.com/repos/Monkeyanator/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/Monkeyanator/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/Monkeyanator/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/Monkeyanator/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Monkeyanator/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/Monkeyanator/kubernetes/releases{/id}","deployments_url":"https://api.github.com/repos/Monkeyanator/kubernetes/deployments","created_at":"2018-10-03T15:48:54Z","updated_at":"2018-10-22T18:19:20Z","pushed_at":"2018-11-06T17:38:48Z","git_url":"git://github.com/Monkeyanator/kubernetes.git","ssh_url":"git@github.com:Monkeyanator/kubernetes.git","clone_url":"https://github.com/Monkeyanator/kubernetes.git","svn_url":"https://github.com/Monkeyanator/kubernetes","homepage":"https://kubernetes.io","size":586005,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":13,"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":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Monkeyanator/kubernetes/pulls/13"},"html":{"href":"https://github.com/Monkeyanator/kubernetes/pull/13"},"issue":{"href":"https://api.github.com/repos/Monkeyanator/kubernetes/issues/13"},"comments":{"href":"https://api.github.com/repos/Monkeyanator/kubernetes/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/Monkeyanator/kubernetes/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/Monkeyanator/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Monkeyanator/kubernetes/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/Monkeyanator/kubernetes/statuses/fcaa8da72e668474474079d16443c1e0c2e08e67"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":5,"additions":160,"deletions":18,"changed_files":14}}
{"actor":{"display_login":"Monkeyanator"}}