{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/RAttab/optics/pulls/7","id":77161862,"html_url":"https://github.com/RAttab/optics/pull/7","diff_url":"https://github.com/RAttab/optics/pull/7.diff","patch_url":"https://github.com/RAttab/optics/pull/7.patch","issue_url":"https://api.github.com/repos/RAttab/optics/issues/7","number":7,"state":"open","locked":false,"title":"Split host from prefix for key names","user":{"login":"RAttab","id":652873,"avatar_url":"https://avatars.githubusercontent.com/u/652873?v=3","gravatar_id":"","url":"https://api.github.com/users/RAttab","html_url":"https://github.com/RAttab","followers_url":"https://api.github.com/users/RAttab/followers","following_url":"https://api.github.com/users/RAttab/following{/other_user}","gists_url":"https://api.github.com/users/RAttab/gists{/gist_id}","starred_url":"https://api.github.com/users/RAttab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RAttab/subscriptions","organizations_url":"https://api.github.com/users/RAttab/orgs","repos_url":"https://api.github.com/users/RAttab/repos","events_url":"https://api.github.com/users/RAttab/events{/privacy}","received_events_url":"https://api.github.com/users/RAttab/received_events","type":"User","site_admin":false},"body":"This enables the prometheus backend to store the host as part of the labels which makes life much easier. A default is also provided via the `gethostname` function. We will usually override this by using the `hostname -s` command.\r\n\r\nThis change requires the addition of a new field in the optics header to hold the host and the poller now passes the host as part of the poll struct to the various backends. Nothing too fancy here.","created_at":"2016-07-12T17:52:57Z","updated_at":"2016-07-12T17:52:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/RAttab/optics/pulls/7/commits","review_comments_url":"https://api.github.com/repos/RAttab/optics/pulls/7/comments","review_comment_url":"https://api.github.com/repos/RAttab/optics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RAttab/optics/issues/7/comments","statuses_url":"https://api.github.com/repos/RAttab/optics/statuses/a8a328f3b73fb0de140d50a205f18876834dc0e8","head":{"label":"RAttab:split-host-polling","ref":"split-host-polling","sha":"a8a328f3b73fb0de140d50a205f18876834dc0e8","user":{"login":"RAttab","id":652873,"avatar_url":"https://avatars.githubusercontent.com/u/652873?v=3","gravatar_id":"","url":"https://api.github.com/users/RAttab","html_url":"https://github.com/RAttab","followers_url":"https://api.github.com/users/RAttab/followers","following_url":"https://api.github.com/users/RAttab/following{/other_user}","gists_url":"https://api.github.com/users/RAttab/gists{/gist_id}","starred_url":"https://api.github.com/users/RAttab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RAttab/subscriptions","organizations_url":"https://api.github.com/users/RAttab/orgs","repos_url":"https://api.github.com/users/RAttab/repos","events_url":"https://api.github.com/users/RAttab/events{/privacy}","received_events_url":"https://api.github.com/users/RAttab/received_events","type":"User","site_admin":false},"repo":{"id":52550804,"name":"optics","full_name":"RAttab/optics","owner":{"login":"RAttab","id":652873,"avatar_url":"https://avatars.githubusercontent.com/u/652873?v=3","gravatar_id":"","url":"https://api.github.com/users/RAttab","html_url":"https://github.com/RAttab","followers_url":"https://api.github.com/users/RAttab/followers","following_url":"https://api.github.com/users/RAttab/following{/other_user}","gists_url":"https://api.github.com/users/RAttab/gists{/gist_id}","starred_url":"https://api.github.com/users/RAttab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RAttab/subscriptions","organizations_url":"https://api.github.com/users/RAttab/orgs","repos_url":"https://api.github.com/users/RAttab/repos","events_url":"https://api.github.com/users/RAttab/events{/privacy}","received_events_url":"https://api.github.com/users/RAttab/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RAttab/optics","description":"Metrics gathering thingy","fork":false,"url":"https://api.github.com/repos/RAttab/optics","forks_url":"https://api.github.com/repos/RAttab/optics/forks","keys_url":"https://api.github.com/repos/RAttab/optics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RAttab/optics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RAttab/optics/teams","hooks_url":"https://api.github.com/repos/RAttab/optics/hooks","issue_events_url":"https://api.github.com/repos/RAttab/optics/issues/events{/number}","events_url":"https://api.github.com/repos/RAttab/optics/events","assignees_url":"https://api.github.com/repos/RAttab/optics/assignees{/user}","branches_url":"https://api.github.com/repos/RAttab/optics/branches{/branch}","tags_url":"https://api.github.com/repos/RAttab/optics/tags","blobs_url":"https://api.github.com/repos/RAttab/optics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RAttab/optics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RAttab/optics/git/refs{/sha}","trees_url":"https://api.github.com/repos/RAttab/optics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RAttab/optics/statuses/{sha}","languages_url":"https://api.github.com/repos/RAttab/optics/languages","stargazers_url":"https://api.github.com/repos/RAttab/optics/stargazers","contributors_url":"https://api.github.com/repos/RAttab/optics/contributors","subscribers_url":"https://api.github.com/repos/RAttab/optics/subscribers","subscription_url":"https://api.github.com/repos/RAttab/optics/subscription","commits_url":"https://api.github.com/repos/RAttab/optics/commits{/sha}","git_commits_url":"https://api.github.com/repos/RAttab/optics/git/commits{/sha}","comments_url":"https://api.github.com/repos/RAttab/optics/comments{/number}","issue_comment_url":"https://api.github.com/repos/RAttab/optics/issues/comments{/number}","contents_url":"https://api.github.com/repos/RAttab/optics/contents/{+path}","compare_url":"https://api.github.com/repos/RAttab/optics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RAttab/optics/merges","archive_url":"https://api.github.com/repos/RAttab/optics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RAttab/optics/downloads","issues_url":"https://api.github.com/repos/RAttab/optics/issues{/number}","pulls_url":"https://api.github.com/repos/RAttab/optics/pulls{/number}","milestones_url":"https://api.github.com/repos/RAttab/optics/milestones{/number}","notifications_url":"https://api.github.com/repos/RAttab/optics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RAttab/optics/labels{/name}","releases_url":"https://api.github.com/repos/RAttab/optics/releases{/id}","deployments_url":"https://api.github.com/repos/RAttab/optics/deployments","created_at":"2016-02-25T19:25:14Z","updated_at":"2016-06-21T09:16:50Z","pushed_at":"2016-07-12T17:48:36Z","git_url":"git://github.com/RAttab/optics.git","ssh_url":"git@github.com:RAttab/optics.git","clone_url":"https://github.com/RAttab/optics.git","svn_url":"https://github.com/RAttab/optics","homepage":null,"size":167,"stargazers_count":6,"watchers_count":6,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":6,"default_branch":"master"}},"base":{"label":"RAttab:master","ref":"master","sha":"630c590f3695bccdd6a4b95d736c69bf820cd136","user":{"login":"RAttab","id":652873,"avatar_url":"https://avatars.githubusercontent.com/u/652873?v=3","gravatar_id":"","url":"https://api.github.com/users/RAttab","html_url":"https://github.com/RAttab","followers_url":"https://api.github.com/users/RAttab/followers","following_url":"https://api.github.com/users/RAttab/following{/other_user}","gists_url":"https://api.github.com/users/RAttab/gists{/gist_id}","starred_url":"https://api.github.com/users/RAttab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RAttab/subscriptions","organizations_url":"https://api.github.com/users/RAttab/orgs","repos_url":"https://api.github.com/users/RAttab/repos","events_url":"https://api.github.com/users/RAttab/events{/privacy}","received_events_url":"https://api.github.com/users/RAttab/received_events","type":"User","site_admin":false},"repo":{"id":52550804,"name":"optics","full_name":"RAttab/optics","owner":{"login":"RAttab","id":652873,"avatar_url":"https://avatars.githubusercontent.com/u/652873?v=3","gravatar_id":"","url":"https://api.github.com/users/RAttab","html_url":"https://github.com/RAttab","followers_url":"https://api.github.com/users/RAttab/followers","following_url":"https://api.github.com/users/RAttab/following{/other_user}","gists_url":"https://api.github.com/users/RAttab/gists{/gist_id}","starred_url":"https://api.github.com/users/RAttab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RAttab/subscriptions","organizations_url":"https://api.github.com/users/RAttab/orgs","repos_url":"https://api.github.com/users/RAttab/repos","events_url":"https://api.github.com/users/RAttab/events{/privacy}","received_events_url":"https://api.github.com/users/RAttab/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RAttab/optics","description":"Metrics gathering thingy","fork":false,"url":"https://api.github.com/repos/RAttab/optics","forks_url":"https://api.github.com/repos/RAttab/optics/forks","keys_url":"https://api.github.com/repos/RAttab/optics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RAttab/optics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RAttab/optics/teams","hooks_url":"https://api.github.com/repos/RAttab/optics/hooks","issue_events_url":"https://api.github.com/repos/RAttab/optics/issues/events{/number}","events_url":"https://api.github.com/repos/RAttab/optics/events","assignees_url":"https://api.github.com/repos/RAttab/optics/assignees{/user}","branches_url":"https://api.github.com/repos/RAttab/optics/branches{/branch}","tags_url":"https://api.github.com/repos/RAttab/optics/tags","blobs_url":"https://api.github.com/repos/RAttab/optics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RAttab/optics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RAttab/optics/git/refs{/sha}","trees_url":"https://api.github.com/repos/RAttab/optics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RAttab/optics/statuses/{sha}","languages_url":"https://api.github.com/repos/RAttab/optics/languages","stargazers_url":"https://api.github.com/repos/RAttab/optics/stargazers","contributors_url":"https://api.github.com/repos/RAttab/optics/contributors","subscribers_url":"https://api.github.com/repos/RAttab/optics/subscribers","subscription_url":"https://api.github.com/repos/RAttab/optics/subscription","commits_url":"https://api.github.com/repos/RAttab/optics/commits{/sha}","git_commits_url":"https://api.github.com/repos/RAttab/optics/git/commits{/sha}","comments_url":"https://api.github.com/repos/RAttab/optics/comments{/number}","issue_comment_url":"https://api.github.com/repos/RAttab/optics/issues/comments{/number}","contents_url":"https://api.github.com/repos/RAttab/optics/contents/{+path}","compare_url":"https://api.github.com/repos/RAttab/optics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RAttab/optics/merges","archive_url":"https://api.github.com/repos/RAttab/optics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RAttab/optics/downloads","issues_url":"https://api.github.com/repos/RAttab/optics/issues{/number}","pulls_url":"https://api.github.com/repos/RAttab/optics/pulls{/number}","milestones_url":"https://api.github.com/repos/RAttab/optics/milestones{/number}","notifications_url":"https://api.github.com/repos/RAttab/optics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RAttab/optics/labels{/name}","releases_url":"https://api.github.com/repos/RAttab/optics/releases{/id}","deployments_url":"https://api.github.com/repos/RAttab/optics/deployments","created_at":"2016-02-25T19:25:14Z","updated_at":"2016-06-21T09:16:50Z","pushed_at":"2016-07-12T17:48:36Z","git_url":"git://github.com/RAttab/optics.git","ssh_url":"git@github.com:RAttab/optics.git","clone_url":"https://github.com/RAttab/optics.git","svn_url":"https://github.com/RAttab/optics","homepage":null,"size":167,"stargazers_count":6,"watchers_count":6,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RAttab/optics/pulls/7"},"html":{"href":"https://github.com/RAttab/optics/pull/7"},"issue":{"href":"https://api.github.com/repos/RAttab/optics/issues/7"},"comments":{"href":"https://api.github.com/repos/RAttab/optics/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/RAttab/optics/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/RAttab/optics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RAttab/optics/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/RAttab/optics/statuses/a8a328f3b73fb0de140d50a205f18876834dc0e8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":156,"deletions":71,"changed_files":11}}
{"actor":{"display_login":"RAttab"}}