{"action":"created","comment":{"url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/pulls/comments/198517072","pull_request_review_id":132459954,"id":198517072,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODUxNzA3Mg==","diff_hunk":"@@ -61,6 +70,19 @@ func (e *exporter) ExportView(viewData *view.Data) {\n \t}\n }\n \n+// appendAndReplace appends all the data from the second map (toAppend) to the\n+// source map. If both have the same key, the one from the second map (toAppend)\n+// is taken.\n+func appendAndReplace(source, toAppend map[string]string) {","path":"exporter.go","position":46,"original_position":46,"commit_id":"a0287d2995bea6c33e7aa41eb4b880b4c5f6af5a","original_commit_id":"a0287d2995bea6c33e7aa41eb4b880b4c5f6af5a","user":{"login":"v-antech","id":6595274,"node_id":"MDQ6VXNlcjY1OTUyNzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/6595274?v=4","gravatar_id":"","url":"https://api.github.com/users/v-antech","html_url":"https://github.com/v-antech","followers_url":"https://api.github.com/users/v-antech/followers","following_url":"https://api.github.com/users/v-antech/following{/other_user}","gists_url":"https://api.github.com/users/v-antech/gists{/gist_id}","starred_url":"https://api.github.com/users/v-antech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-antech/subscriptions","organizations_url":"https://api.github.com/users/v-antech/orgs","repos_url":"https://api.github.com/users/v-antech/repos","events_url":"https://api.github.com/users/v-antech/events{/privacy}","received_events_url":"https://api.github.com/users/v-antech/received_events","type":"User","site_admin":false},"body":"Replaced with 'appendable' and 'elementsMap'","created_at":"2018-06-27T14:30:25Z","updated_at":"2018-06-27T14:30:25Z","html_url":"https://github.com/egymgmbh/opencensus-go-exporter-influxdb/pull/2#discussion_r198517072","pull_request_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/pulls/2","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/pulls/comments/198517072"},"html":{"href":"https://github.com/egymgmbh/opencensus-go-exporter-influxdb/pull/2#discussion_r198517072"},"pull_request":{"href":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/pulls/2"}},"in_reply_to_id":198510013},"pull_request":{"url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/pulls/2","id":197141823,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3MTQxODIz","html_url":"https://github.com/egymgmbh/opencensus-go-exporter-influxdb/pull/2","diff_url":"https://github.com/egymgmbh/opencensus-go-exporter-influxdb/pull/2.diff","patch_url":"https://github.com/egymgmbh/opencensus-go-exporter-influxdb/pull/2.patch","issue_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/issues/2","number":2,"state":"open","locked":false,"title":"Adds the host's hostname to the tags","user":{"login":"v-antech","id":6595274,"node_id":"MDQ6VXNlcjY1OTUyNzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/6595274?v=4","gravatar_id":"","url":"https://api.github.com/users/v-antech","html_url":"https://github.com/v-antech","followers_url":"https://api.github.com/users/v-antech/followers","following_url":"https://api.github.com/users/v-antech/following{/other_user}","gists_url":"https://api.github.com/users/v-antech/gists{/gist_id}","starred_url":"https://api.github.com/users/v-antech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-antech/subscriptions","organizations_url":"https://api.github.com/users/v-antech/orgs","repos_url":"https://api.github.com/users/v-antech/repos","events_url":"https://api.github.com/users/v-antech/events{/privacy}","received_events_url":"https://api.github.com/users/v-antech/received_events","type":"User","site_admin":false},"body":"If the hostname cannot be parsed due to an error, \"unknown\" is added to the tags. This helps group values from multiple pods.","created_at":"2018-06-25T14:59:13Z","updated_at":"2018-06-27T14:30:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c34487baa4cd648b0b5f525d6b94f3e6002458b7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/pulls/2/commits","review_comments_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/pulls/2/comments","review_comment_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/issues/2/comments","statuses_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/statuses/a0287d2995bea6c33e7aa41eb4b880b4c5f6af5a","head":{"label":"v-antech:draft","ref":"draft","sha":"a0287d2995bea6c33e7aa41eb4b880b4c5f6af5a","user":{"login":"v-antech","id":6595274,"node_id":"MDQ6VXNlcjY1OTUyNzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/6595274?v=4","gravatar_id":"","url":"https://api.github.com/users/v-antech","html_url":"https://github.com/v-antech","followers_url":"https://api.github.com/users/v-antech/followers","following_url":"https://api.github.com/users/v-antech/following{/other_user}","gists_url":"https://api.github.com/users/v-antech/gists{/gist_id}","starred_url":"https://api.github.com/users/v-antech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-antech/subscriptions","organizations_url":"https://api.github.com/users/v-antech/orgs","repos_url":"https://api.github.com/users/v-antech/repos","events_url":"https://api.github.com/users/v-antech/events{/privacy}","received_events_url":"https://api.github.com/users/v-antech/received_events","type":"User","site_admin":false},"repo":{"id":138592706,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg1OTI3MDY=","name":"opencensus-go-exporter-influxdb","full_name":"v-antech/opencensus-go-exporter-influxdb","owner":{"login":"v-antech","id":6595274,"node_id":"MDQ6VXNlcjY1OTUyNzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/6595274?v=4","gravatar_id":"","url":"https://api.github.com/users/v-antech","html_url":"https://github.com/v-antech","followers_url":"https://api.github.com/users/v-antech/followers","following_url":"https://api.github.com/users/v-antech/following{/other_user}","gists_url":"https://api.github.com/users/v-antech/gists{/gist_id}","starred_url":"https://api.github.com/users/v-antech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-antech/subscriptions","organizations_url":"https://api.github.com/users/v-antech/orgs","repos_url":"https://api.github.com/users/v-antech/repos","events_url":"https://api.github.com/users/v-antech/events{/privacy}","received_events_url":"https://api.github.com/users/v-antech/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/v-antech/opencensus-go-exporter-influxdb","description":"InfluxDB metrics exporter for OpenCensus.io","fork":true,"url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb","forks_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/forks","keys_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/teams","hooks_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/hooks","issue_events_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/issues/events{/number}","events_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/events","assignees_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/assignees{/user}","branches_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/branches{/branch}","tags_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/tags","blobs_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/statuses/{sha}","languages_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/languages","stargazers_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/stargazers","contributors_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/contributors","subscribers_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/subscribers","subscription_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/subscription","commits_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/contents/{+path}","compare_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/merges","archive_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/downloads","issues_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/issues{/number}","pulls_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/pulls{/number}","milestones_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/milestones{/number}","notifications_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/labels{/name}","releases_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/releases{/id}","deployments_url":"https://api.github.com/repos/v-antech/opencensus-go-exporter-influxdb/deployments","created_at":"2018-06-25T12:34:50Z","updated_at":"2018-06-27T12:55:50Z","pushed_at":"2018-06-27T12:55:40Z","git_url":"git://github.com/v-antech/opencensus-go-exporter-influxdb.git","ssh_url":"git@github.com:v-antech/opencensus-go-exporter-influxdb.git","clone_url":"https://github.com/v-antech/opencensus-go-exporter-influxdb.git","svn_url":"https://github.com/v-antech/opencensus-go-exporter-influxdb","homepage":null,"size":3,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"draft"}},"base":{"label":"egymgmbh:draft","ref":"draft","sha":"bfb94f23943eae44ea0fd664b688718b4637bc7c","user":{"login":"egymgmbh","id":7500373,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1MDAzNzM=","avatar_url":"https://avatars1.githubusercontent.com/u/7500373?v=4","gravatar_id":"","url":"https://api.github.com/users/egymgmbh","html_url":"https://github.com/egymgmbh","followers_url":"https://api.github.com/users/egymgmbh/followers","following_url":"https://api.github.com/users/egymgmbh/following{/other_user}","gists_url":"https://api.github.com/users/egymgmbh/gists{/gist_id}","starred_url":"https://api.github.com/users/egymgmbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egymgmbh/subscriptions","organizations_url":"https://api.github.com/users/egymgmbh/orgs","repos_url":"https://api.github.com/users/egymgmbh/repos","events_url":"https://api.github.com/users/egymgmbh/events{/privacy}","received_events_url":"https://api.github.com/users/egymgmbh/received_events","type":"Organization","site_admin":false},"repo":{"id":135173751,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUxNzM3NTE=","name":"opencensus-go-exporter-influxdb","full_name":"egymgmbh/opencensus-go-exporter-influxdb","owner":{"login":"egymgmbh","id":7500373,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1MDAzNzM=","avatar_url":"https://avatars1.githubusercontent.com/u/7500373?v=4","gravatar_id":"","url":"https://api.github.com/users/egymgmbh","html_url":"https://github.com/egymgmbh","followers_url":"https://api.github.com/users/egymgmbh/followers","following_url":"https://api.github.com/users/egymgmbh/following{/other_user}","gists_url":"https://api.github.com/users/egymgmbh/gists{/gist_id}","starred_url":"https://api.github.com/users/egymgmbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egymgmbh/subscriptions","organizations_url":"https://api.github.com/users/egymgmbh/orgs","repos_url":"https://api.github.com/users/egymgmbh/repos","events_url":"https://api.github.com/users/egymgmbh/events{/privacy}","received_events_url":"https://api.github.com/users/egymgmbh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/egymgmbh/opencensus-go-exporter-influxdb","description":"InfluxDB metrics exporter for OpenCensus.io","fork":false,"url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb","forks_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/forks","keys_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/teams","hooks_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/hooks","issue_events_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/issues/events{/number}","events_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/events","assignees_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/assignees{/user}","branches_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/branches{/branch}","tags_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/tags","blobs_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/statuses/{sha}","languages_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/languages","stargazers_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/stargazers","contributors_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/contributors","subscribers_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/subscribers","subscription_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/subscription","commits_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/contents/{+path}","compare_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/merges","archive_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/downloads","issues_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/issues{/number}","pulls_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/pulls{/number}","milestones_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/milestones{/number}","notifications_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/labels{/name}","releases_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/releases{/id}","deployments_url":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/deployments","created_at":"2018-05-28T14:43:12Z","updated_at":"2018-05-28T15:46:53Z","pushed_at":"2018-06-27T12:55:41Z","git_url":"git://github.com/egymgmbh/opencensus-go-exporter-influxdb.git","ssh_url":"git@github.com:egymgmbh/opencensus-go-exporter-influxdb.git","clone_url":"https://github.com/egymgmbh/opencensus-go-exporter-influxdb.git","svn_url":"https://github.com/egymgmbh/opencensus-go-exporter-influxdb","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"draft"}},"_links":{"self":{"href":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/pulls/2"},"html":{"href":"https://github.com/egymgmbh/opencensus-go-exporter-influxdb/pull/2"},"issue":{"href":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/issues/2"},"comments":{"href":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/egymgmbh/opencensus-go-exporter-influxdb/statuses/a0287d2995bea6c33e7aa41eb4b880b4c5f6af5a"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"v-antech"}}