{"action":"created","comment":{"url":"https://api.github.com/repos/dgryski/go-simstore/pulls/comments/99136751","pull_request_review_id":19802697,"id":99136751,"diff_hunk":"@@ -100,6 +108,18 @@ func main() {\n \t\t}\n \t}()\n \n+\tif *graphite_host != \"\" {\n+\t\tif *graphite_port == \"\" {\n+        \t*graphite_port = \"2003\"\n+         }\n+         hostport := *graphite_host + \":\" + *graphite_port\n+         graphite := g2g.NewGraphite(hostport, 60*time.Second, 5*time.Second)\n+         hostname, _ := os.Hostname()","path":"simd/main.go","position":46,"original_position":46,"commit_id":"0ea79f32b6c257662999fe29e5e4154f8b19acd0","original_commit_id":"0ea79f32b6c257662999fe29e5e4154f8b19acd0","user":{"login":"dgryski","id":970862,"avatar_url":"https://avatars.githubusercontent.com/u/970862?v=3","gravatar_id":"","url":"https://api.github.com/users/dgryski","html_url":"https://github.com/dgryski","followers_url":"https://api.github.com/users/dgryski/followers","following_url":"https://api.github.com/users/dgryski/following{/other_user}","gists_url":"https://api.github.com/users/dgryski/gists{/gist_id}","starred_url":"https://api.github.com/users/dgryski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgryski/subscriptions","organizations_url":"https://api.github.com/users/dgryski/orgs","repos_url":"https://api.github.com/users/dgryski/repos","events_url":"https://api.github.com/users/dgryski/events{/privacy}","received_events_url":"https://api.github.com/users/dgryski/received_events","type":"User","site_admin":false},"body":"Hostname might contain dots.\r\n\r\n````\r\n                hostname = strings.Replace(hostname, \".\", \"_\", -1)\r\n```","created_at":"2017-02-02T15:00:36Z","updated_at":"2017-02-02T15:00:36Z","html_url":"https://github.com/dgryski/go-simstore/pull/17#discussion_r99136751","pull_request_url":"https://api.github.com/repos/dgryski/go-simstore/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/dgryski/go-simstore/pulls/comments/99136751"},"html":{"href":"https://github.com/dgryski/go-simstore/pull/17#discussion_r99136751"},"pull_request":{"href":"https://api.github.com/repos/dgryski/go-simstore/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/dgryski/go-simstore/pulls/17","id":104338445,"html_url":"https://github.com/dgryski/go-simstore/pull/17","diff_url":"https://github.com/dgryski/go-simstore/pull/17.diff","patch_url":"https://github.com/dgryski/go-simstore/pull/17.patch","issue_url":"https://api.github.com/repos/dgryski/go-simstore/issues/17","number":17,"state":"open","locked":false,"title":"added graphite support (number of rows and requests per minute) fixes #16","user":{"login":"kovalevfm","id":1101062,"avatar_url":"https://avatars.githubusercontent.com/u/1101062?v=3","gravatar_id":"","url":"https://api.github.com/users/kovalevfm","html_url":"https://github.com/kovalevfm","followers_url":"https://api.github.com/users/kovalevfm/followers","following_url":"https://api.github.com/users/kovalevfm/following{/other_user}","gists_url":"https://api.github.com/users/kovalevfm/gists{/gist_id}","starred_url":"https://api.github.com/users/kovalevfm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kovalevfm/subscriptions","organizations_url":"https://api.github.com/users/kovalevfm/orgs","repos_url":"https://api.github.com/users/kovalevfm/repos","events_url":"https://api.github.com/users/kovalevfm/events{/privacy}","received_events_url":"https://api.github.com/users/kovalevfm/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-02-02T13:36:15Z","updated_at":"2017-02-02T15:00:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e6caf28ac683316102a838bacf6042babd90a95","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dgryski/go-simstore/pulls/17/commits","review_comments_url":"https://api.github.com/repos/dgryski/go-simstore/pulls/17/comments","review_comment_url":"https://api.github.com/repos/dgryski/go-simstore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dgryski/go-simstore/issues/17/comments","statuses_url":"https://api.github.com/repos/dgryski/go-simstore/statuses/0ea79f32b6c257662999fe29e5e4154f8b19acd0","head":{"label":"kovalevfm:master","ref":"master","sha":"0ea79f32b6c257662999fe29e5e4154f8b19acd0","user":{"login":"kovalevfm","id":1101062,"avatar_url":"https://avatars.githubusercontent.com/u/1101062?v=3","gravatar_id":"","url":"https://api.github.com/users/kovalevfm","html_url":"https://github.com/kovalevfm","followers_url":"https://api.github.com/users/kovalevfm/followers","following_url":"https://api.github.com/users/kovalevfm/following{/other_user}","gists_url":"https://api.github.com/users/kovalevfm/gists{/gist_id}","starred_url":"https://api.github.com/users/kovalevfm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kovalevfm/subscriptions","organizations_url":"https://api.github.com/users/kovalevfm/orgs","repos_url":"https://api.github.com/users/kovalevfm/repos","events_url":"https://api.github.com/users/kovalevfm/events{/privacy}","received_events_url":"https://api.github.com/users/kovalevfm/received_events","type":"User","site_admin":false},"repo":{"id":79913957,"name":"go-simstore","full_name":"kovalevfm/go-simstore","owner":{"login":"kovalevfm","id":1101062,"avatar_url":"https://avatars.githubusercontent.com/u/1101062?v=3","gravatar_id":"","url":"https://api.github.com/users/kovalevfm","html_url":"https://github.com/kovalevfm","followers_url":"https://api.github.com/users/kovalevfm/followers","following_url":"https://api.github.com/users/kovalevfm/following{/other_user}","gists_url":"https://api.github.com/users/kovalevfm/gists{/gist_id}","starred_url":"https://api.github.com/users/kovalevfm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kovalevfm/subscriptions","organizations_url":"https://api.github.com/users/kovalevfm/orgs","repos_url":"https://api.github.com/users/kovalevfm/repos","events_url":"https://api.github.com/users/kovalevfm/events{/privacy}","received_events_url":"https://api.github.com/users/kovalevfm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kovalevfm/go-simstore","description":"simhash storage and searching","fork":true,"url":"https://api.github.com/repos/kovalevfm/go-simstore","forks_url":"https://api.github.com/repos/kovalevfm/go-simstore/forks","keys_url":"https://api.github.com/repos/kovalevfm/go-simstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kovalevfm/go-simstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kovalevfm/go-simstore/teams","hooks_url":"https://api.github.com/repos/kovalevfm/go-simstore/hooks","issue_events_url":"https://api.github.com/repos/kovalevfm/go-simstore/issues/events{/number}","events_url":"https://api.github.com/repos/kovalevfm/go-simstore/events","assignees_url":"https://api.github.com/repos/kovalevfm/go-simstore/assignees{/user}","branches_url":"https://api.github.com/repos/kovalevfm/go-simstore/branches{/branch}","tags_url":"https://api.github.com/repos/kovalevfm/go-simstore/tags","blobs_url":"https://api.github.com/repos/kovalevfm/go-simstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kovalevfm/go-simstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kovalevfm/go-simstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/kovalevfm/go-simstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kovalevfm/go-simstore/statuses/{sha}","languages_url":"https://api.github.com/repos/kovalevfm/go-simstore/languages","stargazers_url":"https://api.github.com/repos/kovalevfm/go-simstore/stargazers","contributors_url":"https://api.github.com/repos/kovalevfm/go-simstore/contributors","subscribers_url":"https://api.github.com/repos/kovalevfm/go-simstore/subscribers","subscription_url":"https://api.github.com/repos/kovalevfm/go-simstore/subscription","commits_url":"https://api.github.com/repos/kovalevfm/go-simstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/kovalevfm/go-simstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/kovalevfm/go-simstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/kovalevfm/go-simstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/kovalevfm/go-simstore/contents/{+path}","compare_url":"https://api.github.com/repos/kovalevfm/go-simstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kovalevfm/go-simstore/merges","archive_url":"https://api.github.com/repos/kovalevfm/go-simstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kovalevfm/go-simstore/downloads","issues_url":"https://api.github.com/repos/kovalevfm/go-simstore/issues{/number}","pulls_url":"https://api.github.com/repos/kovalevfm/go-simstore/pulls{/number}","milestones_url":"https://api.github.com/repos/kovalevfm/go-simstore/milestones{/number}","notifications_url":"https://api.github.com/repos/kovalevfm/go-simstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kovalevfm/go-simstore/labels{/name}","releases_url":"https://api.github.com/repos/kovalevfm/go-simstore/releases{/id}","deployments_url":"https://api.github.com/repos/kovalevfm/go-simstore/deployments","created_at":"2017-01-24T13:27:49Z","updated_at":"2017-01-24T13:27:52Z","pushed_at":"2017-02-02T13:31:17Z","git_url":"git://github.com/kovalevfm/go-simstore.git","ssh_url":"git@github.com:kovalevfm/go-simstore.git","clone_url":"https://github.com/kovalevfm/go-simstore.git","svn_url":"https://github.com/kovalevfm/go-simstore","homepage":"","size":65,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dgryski:master","ref":"master","sha":"7e567537f48b76aa7a10362439b5a86a1cf973b1","user":{"login":"dgryski","id":970862,"avatar_url":"https://avatars.githubusercontent.com/u/970862?v=3","gravatar_id":"","url":"https://api.github.com/users/dgryski","html_url":"https://github.com/dgryski","followers_url":"https://api.github.com/users/dgryski/followers","following_url":"https://api.github.com/users/dgryski/following{/other_user}","gists_url":"https://api.github.com/users/dgryski/gists{/gist_id}","starred_url":"https://api.github.com/users/dgryski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgryski/subscriptions","organizations_url":"https://api.github.com/users/dgryski/orgs","repos_url":"https://api.github.com/users/dgryski/repos","events_url":"https://api.github.com/users/dgryski/events{/privacy}","received_events_url":"https://api.github.com/users/dgryski/received_events","type":"User","site_admin":false},"repo":{"id":27634642,"name":"go-simstore","full_name":"dgryski/go-simstore","owner":{"login":"dgryski","id":970862,"avatar_url":"https://avatars.githubusercontent.com/u/970862?v=3","gravatar_id":"","url":"https://api.github.com/users/dgryski","html_url":"https://github.com/dgryski","followers_url":"https://api.github.com/users/dgryski/followers","following_url":"https://api.github.com/users/dgryski/following{/other_user}","gists_url":"https://api.github.com/users/dgryski/gists{/gist_id}","starred_url":"https://api.github.com/users/dgryski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgryski/subscriptions","organizations_url":"https://api.github.com/users/dgryski/orgs","repos_url":"https://api.github.com/users/dgryski/repos","events_url":"https://api.github.com/users/dgryski/events{/privacy}","received_events_url":"https://api.github.com/users/dgryski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dgryski/go-simstore","description":"simhash storage and searching","fork":false,"url":"https://api.github.com/repos/dgryski/go-simstore","forks_url":"https://api.github.com/repos/dgryski/go-simstore/forks","keys_url":"https://api.github.com/repos/dgryski/go-simstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dgryski/go-simstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dgryski/go-simstore/teams","hooks_url":"https://api.github.com/repos/dgryski/go-simstore/hooks","issue_events_url":"https://api.github.com/repos/dgryski/go-simstore/issues/events{/number}","events_url":"https://api.github.com/repos/dgryski/go-simstore/events","assignees_url":"https://api.github.com/repos/dgryski/go-simstore/assignees{/user}","branches_url":"https://api.github.com/repos/dgryski/go-simstore/branches{/branch}","tags_url":"https://api.github.com/repos/dgryski/go-simstore/tags","blobs_url":"https://api.github.com/repos/dgryski/go-simstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dgryski/go-simstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dgryski/go-simstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/dgryski/go-simstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dgryski/go-simstore/statuses/{sha}","languages_url":"https://api.github.com/repos/dgryski/go-simstore/languages","stargazers_url":"https://api.github.com/repos/dgryski/go-simstore/stargazers","contributors_url":"https://api.github.com/repos/dgryski/go-simstore/contributors","subscribers_url":"https://api.github.com/repos/dgryski/go-simstore/subscribers","subscription_url":"https://api.github.com/repos/dgryski/go-simstore/subscription","commits_url":"https://api.github.com/repos/dgryski/go-simstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/dgryski/go-simstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/dgryski/go-simstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/dgryski/go-simstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/dgryski/go-simstore/contents/{+path}","compare_url":"https://api.github.com/repos/dgryski/go-simstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dgryski/go-simstore/merges","archive_url":"https://api.github.com/repos/dgryski/go-simstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dgryski/go-simstore/downloads","issues_url":"https://api.github.com/repos/dgryski/go-simstore/issues{/number}","pulls_url":"https://api.github.com/repos/dgryski/go-simstore/pulls{/number}","milestones_url":"https://api.github.com/repos/dgryski/go-simstore/milestones{/number}","notifications_url":"https://api.github.com/repos/dgryski/go-simstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dgryski/go-simstore/labels{/name}","releases_url":"https://api.github.com/repos/dgryski/go-simstore/releases{/id}","deployments_url":"https://api.github.com/repos/dgryski/go-simstore/deployments","created_at":"2014-12-06T13:10:00Z","updated_at":"2017-01-24T11:24:03Z","pushed_at":"2017-02-02T13:36:16Z","git_url":"git://github.com/dgryski/go-simstore.git","ssh_url":"git@github.com:dgryski/go-simstore.git","clone_url":"https://github.com/dgryski/go-simstore.git","svn_url":"https://github.com/dgryski/go-simstore","homepage":"","size":64,"stargazers_count":68,"watchers_count":68,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":7,"forks":12,"open_issues":7,"watchers":68,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dgryski/go-simstore/pulls/17"},"html":{"href":"https://github.com/dgryski/go-simstore/pull/17"},"issue":{"href":"https://api.github.com/repos/dgryski/go-simstore/issues/17"},"comments":{"href":"https://api.github.com/repos/dgryski/go-simstore/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/dgryski/go-simstore/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/dgryski/go-simstore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dgryski/go-simstore/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/dgryski/go-simstore/statuses/0ea79f32b6c257662999fe29e5e4154f8b19acd0"}}}}
{"actor":{"display_login":"dgryski"}}