{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/pulls/comments/220781821","pull_request_review_id":159269636,"id":220781821,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMDc4MTgyMQ==","diff_hunk":"@@ -627,7 +637,8 @@ def write(chunk)\n                                             ts_nanos)\n \n           trace = record.delete(@trace_key)\n-          entry.trace = trace if trace\n+          entry.trace = compute_trace(trace) if trace","path":"lib/fluent/plugin/out_google_cloud.rb","position":30,"original_position":29,"commit_id":"54d8f55c7e93960bd1eb4c0af1aaa97a5a878bfd","original_commit_id":"4637761e5fce063e742cb5d747a27cc329510268","user":{"login":"StevenYCChou","id":3055688,"node_id":"MDQ6VXNlcjMwNTU2ODg=","avatar_url":"https://avatars3.githubusercontent.com/u/3055688?v=4","gravatar_id":"","url":"https://api.github.com/users/StevenYCChou","html_url":"https://github.com/StevenYCChou","followers_url":"https://api.github.com/users/StevenYCChou/followers","following_url":"https://api.github.com/users/StevenYCChou/following{/other_user}","gists_url":"https://api.github.com/users/StevenYCChou/gists{/gist_id}","starred_url":"https://api.github.com/users/StevenYCChou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StevenYCChou/subscriptions","organizations_url":"https://api.github.com/users/StevenYCChou/orgs","repos_url":"https://api.github.com/users/StevenYCChou/repos","events_url":"https://api.github.com/users/StevenYCChou/events{/privacy}","received_events_url":"https://api.github.com/users/StevenYCChou/received_events","type":"User","site_admin":false},"body":"ack.","created_at":"2018-09-27T03:07:26Z","updated_at":"2018-09-27T03:34:04Z","html_url":"https://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud/pull/260#discussion_r220781821","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/pulls/260","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/pulls/comments/220781821"},"html":{"href":"https://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud/pull/260#discussion_r220781821"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/pulls/260"}},"in_reply_to_id":220725834},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/pulls/260","id":218147828,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4MTQ3ODI4","html_url":"https://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud/pull/260","diff_url":"https://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud/pull/260.diff","patch_url":"https://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud/pull/260.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/issues/260","number":260,"state":"open","locked":false,"title":"add config to autoformat stackdriver trace","user":{"login":"StevenYCChou","id":3055688,"node_id":"MDQ6VXNlcjMwNTU2ODg=","avatar_url":"https://avatars3.githubusercontent.com/u/3055688?v=4","gravatar_id":"","url":"https://api.github.com/users/StevenYCChou","html_url":"https://github.com/StevenYCChou","followers_url":"https://api.github.com/users/StevenYCChou/followers","following_url":"https://api.github.com/users/StevenYCChou/following{/other_user}","gists_url":"https://api.github.com/users/StevenYCChou/gists{/gist_id}","starred_url":"https://api.github.com/users/StevenYCChou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StevenYCChou/subscriptions","organizations_url":"https://api.github.com/users/StevenYCChou/orgs","repos_url":"https://api.github.com/users/StevenYCChou/repos","events_url":"https://api.github.com/users/StevenYCChou/events{/privacy}","received_events_url":"https://api.github.com/users/StevenYCChou/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-25T23:23:49Z","updated_at":"2018-09-27T03:34:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"93f2a48c4f199f21c4528047ddd0dc6d29062a8c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":249372076,"node_id":"MDU6TGFiZWwyNDkzNzIwNzY=","url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/labels/cla:%20yes","name":"cla: yes","color":"009800","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/pulls/260/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/pulls/260/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/issues/260/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/statuses/54d8f55c7e93960bd1eb4c0af1aaa97a5a878bfd","head":{"label":"GoogleCloudPlatform:ycchou-stackdriver-trace-autoformat","ref":"ycchou-stackdriver-trace-autoformat","sha":"54d8f55c7e93960bd1eb4c0af1aaa97a5a878bfd","user":{"login":"GoogleCloudPlatform","id":2810941,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTA5NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":19799990,"node_id":"MDEwOlJlcG9zaXRvcnkxOTc5OTk5MA==","name":"fluent-plugin-google-cloud","full_name":"GoogleCloudPlatform/fluent-plugin-google-cloud","private":false,"owner":{"login":"GoogleCloudPlatform","id":2810941,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTA5NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud","description":"Plugin for Fluentd that sends logs to the Google Cloud Platform's log ingestion API.","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/deployments","created_at":"2014-05-14T23:46:51Z","updated_at":"2018-09-26T08:21:47Z","pushed_at":"2018-09-27T02:58:14Z","git_url":"git://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud.git","ssh_url":"git@github.com:GoogleCloudPlatform/fluent-plugin-google-cloud.git","clone_url":"https://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud.git","svn_url":"https://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud","homepage":null,"size":974,"stargazers_count":113,"watchers_count":113,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"archived":false,"open_issues_count":35,"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":61,"open_issues":35,"watchers":113,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"7d7b1812743ceb6c7592436c454638732f49473b","user":{"login":"GoogleCloudPlatform","id":2810941,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTA5NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":19799990,"node_id":"MDEwOlJlcG9zaXRvcnkxOTc5OTk5MA==","name":"fluent-plugin-google-cloud","full_name":"GoogleCloudPlatform/fluent-plugin-google-cloud","private":false,"owner":{"login":"GoogleCloudPlatform","id":2810941,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTA5NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud","description":"Plugin for Fluentd that sends logs to the Google Cloud Platform's log ingestion API.","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/deployments","created_at":"2014-05-14T23:46:51Z","updated_at":"2018-09-26T08:21:47Z","pushed_at":"2018-09-27T02:58:14Z","git_url":"git://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud.git","ssh_url":"git@github.com:GoogleCloudPlatform/fluent-plugin-google-cloud.git","clone_url":"https://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud.git","svn_url":"https://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud","homepage":null,"size":974,"stargazers_count":113,"watchers_count":113,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"archived":false,"open_issues_count":35,"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":61,"open_issues":35,"watchers":113,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/pulls/260"},"html":{"href":"https://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud/pull/260"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/issues/260"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/issues/260/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/pulls/260/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/pulls/260/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/fluent-plugin-google-cloud/statuses/54d8f55c7e93960bd1eb4c0af1aaa97a5a878bfd"}},"author_association":"NONE"}}
{"actor":{"display_login":"StevenYCChou"}}