{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/mesosphere/mesos_exporter/pulls/22","id":85255280,"html_url":"https://github.com/mesosphere/mesos_exporter/pull/22","diff_url":"https://github.com/mesosphere/mesos_exporter/pull/22.diff","patch_url":"https://github.com/mesosphere/mesos_exporter/pull/22.patch","issue_url":"https://api.github.com/repos/mesosphere/mesos_exporter/issues/22","number":22,"state":"open","locked":false,"title":"Support basic auth protected endpoints","user":{"login":"jonashaag","id":175722,"avatar_url":"https://avatars.githubusercontent.com/u/175722?v=3","gravatar_id":"","url":"https://api.github.com/users/jonashaag","html_url":"https://github.com/jonashaag","followers_url":"https://api.github.com/users/jonashaag/followers","following_url":"https://api.github.com/users/jonashaag/following{/other_user}","gists_url":"https://api.github.com/users/jonashaag/gists{/gist_id}","starred_url":"https://api.github.com/users/jonashaag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonashaag/subscriptions","organizations_url":"https://api.github.com/users/jonashaag/orgs","repos_url":"https://api.github.com/users/jonashaag/repos","events_url":"https://api.github.com/users/jonashaag/events{/privacy}","received_events_url":"https://api.github.com/users/jonashaag/received_events","type":"User","site_admin":false},"body":"Fixes #18 \r\n\r\nAt this point it is necessary to pass the authentication credentials using the `MESOS_EXPORTER_{USERNAME,PASSWORD}` environment variables. An additional nice feature could be to support passing authentication information sent to Mesos Exporter through to the Mesos endpoints so that Mesos Exporter doesn't have to be given any credentials at all. This however requires changes in the Go Prometheus client (IIUC).","created_at":"2016-09-14T15:56:28Z","updated_at":"2016-09-14T15:56:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"65dac3b049a10f444ee630707507610934468055","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mesosphere/mesos_exporter/pulls/22/commits","review_comments_url":"https://api.github.com/repos/mesosphere/mesos_exporter/pulls/22/comments","review_comment_url":"https://api.github.com/repos/mesosphere/mesos_exporter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mesosphere/mesos_exporter/issues/22/comments","statuses_url":"https://api.github.com/repos/mesosphere/mesos_exporter/statuses/85d2a45dbb73af758ff4583ae91357ca8c04045d","head":{"label":"jonashaag:basic-auth","ref":"basic-auth","sha":"85d2a45dbb73af758ff4583ae91357ca8c04045d","user":{"login":"jonashaag","id":175722,"avatar_url":"https://avatars.githubusercontent.com/u/175722?v=3","gravatar_id":"","url":"https://api.github.com/users/jonashaag","html_url":"https://github.com/jonashaag","followers_url":"https://api.github.com/users/jonashaag/followers","following_url":"https://api.github.com/users/jonashaag/following{/other_user}","gists_url":"https://api.github.com/users/jonashaag/gists{/gist_id}","starred_url":"https://api.github.com/users/jonashaag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonashaag/subscriptions","organizations_url":"https://api.github.com/users/jonashaag/orgs","repos_url":"https://api.github.com/users/jonashaag/repos","events_url":"https://api.github.com/users/jonashaag/events{/privacy}","received_events_url":"https://api.github.com/users/jonashaag/received_events","type":"User","site_admin":false},"repo":{"id":67022878,"name":"mesos_exporter","full_name":"jonashaag/mesos_exporter","owner":{"login":"jonashaag","id":175722,"avatar_url":"https://avatars.githubusercontent.com/u/175722?v=3","gravatar_id":"","url":"https://api.github.com/users/jonashaag","html_url":"https://github.com/jonashaag","followers_url":"https://api.github.com/users/jonashaag/followers","following_url":"https://api.github.com/users/jonashaag/following{/other_user}","gists_url":"https://api.github.com/users/jonashaag/gists{/gist_id}","starred_url":"https://api.github.com/users/jonashaag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonashaag/subscriptions","organizations_url":"https://api.github.com/users/jonashaag/orgs","repos_url":"https://api.github.com/users/jonashaag/repos","events_url":"https://api.github.com/users/jonashaag/events{/privacy}","received_events_url":"https://api.github.com/users/jonashaag/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonashaag/mesos_exporter","description":"Prometheus Mesos exporter","fork":true,"url":"https://api.github.com/repos/jonashaag/mesos_exporter","forks_url":"https://api.github.com/repos/jonashaag/mesos_exporter/forks","keys_url":"https://api.github.com/repos/jonashaag/mesos_exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonashaag/mesos_exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonashaag/mesos_exporter/teams","hooks_url":"https://api.github.com/repos/jonashaag/mesos_exporter/hooks","issue_events_url":"https://api.github.com/repos/jonashaag/mesos_exporter/issues/events{/number}","events_url":"https://api.github.com/repos/jonashaag/mesos_exporter/events","assignees_url":"https://api.github.com/repos/jonashaag/mesos_exporter/assignees{/user}","branches_url":"https://api.github.com/repos/jonashaag/mesos_exporter/branches{/branch}","tags_url":"https://api.github.com/repos/jonashaag/mesos_exporter/tags","blobs_url":"https://api.github.com/repos/jonashaag/mesos_exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonashaag/mesos_exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonashaag/mesos_exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonashaag/mesos_exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonashaag/mesos_exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/jonashaag/mesos_exporter/languages","stargazers_url":"https://api.github.com/repos/jonashaag/mesos_exporter/stargazers","contributors_url":"https://api.github.com/repos/jonashaag/mesos_exporter/contributors","subscribers_url":"https://api.github.com/repos/jonashaag/mesos_exporter/subscribers","subscription_url":"https://api.github.com/repos/jonashaag/mesos_exporter/subscription","commits_url":"https://api.github.com/repos/jonashaag/mesos_exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonashaag/mesos_exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonashaag/mesos_exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonashaag/mesos_exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonashaag/mesos_exporter/contents/{+path}","compare_url":"https://api.github.com/repos/jonashaag/mesos_exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonashaag/mesos_exporter/merges","archive_url":"https://api.github.com/repos/jonashaag/mesos_exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonashaag/mesos_exporter/downloads","issues_url":"https://api.github.com/repos/jonashaag/mesos_exporter/issues{/number}","pulls_url":"https://api.github.com/repos/jonashaag/mesos_exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/jonashaag/mesos_exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/jonashaag/mesos_exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonashaag/mesos_exporter/labels{/name}","releases_url":"https://api.github.com/repos/jonashaag/mesos_exporter/releases{/id}","deployments_url":"https://api.github.com/repos/jonashaag/mesos_exporter/deployments","created_at":"2016-08-31T09:19:57Z","updated_at":"2016-08-31T09:19:58Z","pushed_at":"2016-09-14T15:53:44Z","git_url":"git://github.com/jonashaag/mesos_exporter.git","ssh_url":"git@github.com:jonashaag/mesos_exporter.git","clone_url":"https://github.com/jonashaag/mesos_exporter.git","svn_url":"https://github.com/jonashaag/mesos_exporter","homepage":null,"size":38,"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":"mesosphere:master","ref":"master","sha":"b70ec0765658154df0b4458be19ad72ce37e57e3","user":{"login":"mesosphere","id":3458585,"avatar_url":"https://avatars.githubusercontent.com/u/3458585?v=3","gravatar_id":"","url":"https://api.github.com/users/mesosphere","html_url":"https://github.com/mesosphere","followers_url":"https://api.github.com/users/mesosphere/followers","following_url":"https://api.github.com/users/mesosphere/following{/other_user}","gists_url":"https://api.github.com/users/mesosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/mesosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesosphere/subscriptions","organizations_url":"https://api.github.com/users/mesosphere/orgs","repos_url":"https://api.github.com/users/mesosphere/repos","events_url":"https://api.github.com/users/mesosphere/events{/privacy}","received_events_url":"https://api.github.com/users/mesosphere/received_events","type":"Organization","site_admin":false},"repo":{"id":39966575,"name":"mesos_exporter","full_name":"mesosphere/mesos_exporter","owner":{"login":"mesosphere","id":3458585,"avatar_url":"https://avatars.githubusercontent.com/u/3458585?v=3","gravatar_id":"","url":"https://api.github.com/users/mesosphere","html_url":"https://github.com/mesosphere","followers_url":"https://api.github.com/users/mesosphere/followers","following_url":"https://api.github.com/users/mesosphere/following{/other_user}","gists_url":"https://api.github.com/users/mesosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/mesosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesosphere/subscriptions","organizations_url":"https://api.github.com/users/mesosphere/orgs","repos_url":"https://api.github.com/users/mesosphere/repos","events_url":"https://api.github.com/users/mesosphere/events{/privacy}","received_events_url":"https://api.github.com/users/mesosphere/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mesosphere/mesos_exporter","description":"Prometheus Mesos exporter","fork":false,"url":"https://api.github.com/repos/mesosphere/mesos_exporter","forks_url":"https://api.github.com/repos/mesosphere/mesos_exporter/forks","keys_url":"https://api.github.com/repos/mesosphere/mesos_exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesosphere/mesos_exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesosphere/mesos_exporter/teams","hooks_url":"https://api.github.com/repos/mesosphere/mesos_exporter/hooks","issue_events_url":"https://api.github.com/repos/mesosphere/mesos_exporter/issues/events{/number}","events_url":"https://api.github.com/repos/mesosphere/mesos_exporter/events","assignees_url":"https://api.github.com/repos/mesosphere/mesos_exporter/assignees{/user}","branches_url":"https://api.github.com/repos/mesosphere/mesos_exporter/branches{/branch}","tags_url":"https://api.github.com/repos/mesosphere/mesos_exporter/tags","blobs_url":"https://api.github.com/repos/mesosphere/mesos_exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesosphere/mesos_exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesosphere/mesos_exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesosphere/mesos_exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesosphere/mesos_exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/mesosphere/mesos_exporter/languages","stargazers_url":"https://api.github.com/repos/mesosphere/mesos_exporter/stargazers","contributors_url":"https://api.github.com/repos/mesosphere/mesos_exporter/contributors","subscribers_url":"https://api.github.com/repos/mesosphere/mesos_exporter/subscribers","subscription_url":"https://api.github.com/repos/mesosphere/mesos_exporter/subscription","commits_url":"https://api.github.com/repos/mesosphere/mesos_exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesosphere/mesos_exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesosphere/mesos_exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesosphere/mesos_exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/mesosphere/mesos_exporter/contents/{+path}","compare_url":"https://api.github.com/repos/mesosphere/mesos_exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesosphere/mesos_exporter/merges","archive_url":"https://api.github.com/repos/mesosphere/mesos_exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesosphere/mesos_exporter/downloads","issues_url":"https://api.github.com/repos/mesosphere/mesos_exporter/issues{/number}","pulls_url":"https://api.github.com/repos/mesosphere/mesos_exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/mesosphere/mesos_exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/mesosphere/mesos_exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesosphere/mesos_exporter/labels{/name}","releases_url":"https://api.github.com/repos/mesosphere/mesos_exporter/releases{/id}","deployments_url":"https://api.github.com/repos/mesosphere/mesos_exporter/deployments","created_at":"2015-07-30T18:40:32Z","updated_at":"2016-09-08T08:32:49Z","pushed_at":"2016-09-14T15:56:28Z","git_url":"git://github.com/mesosphere/mesos_exporter.git","ssh_url":"git@github.com:mesosphere/mesos_exporter.git","clone_url":"https://github.com/mesosphere/mesos_exporter.git","svn_url":"https://github.com/mesosphere/mesos_exporter","homepage":null,"size":34,"stargazers_count":22,"watchers_count":22,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":13,"forks":21,"open_issues":13,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mesosphere/mesos_exporter/pulls/22"},"html":{"href":"https://github.com/mesosphere/mesos_exporter/pull/22"},"issue":{"href":"https://api.github.com/repos/mesosphere/mesos_exporter/issues/22"},"comments":{"href":"https://api.github.com/repos/mesosphere/mesos_exporter/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/mesosphere/mesos_exporter/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/mesosphere/mesos_exporter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mesosphere/mesos_exporter/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/mesosphere/mesos_exporter/statuses/85d2a45dbb73af758ff4583ae91357ca8c04045d"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":68,"deletions":75,"changed_files":6}}
{"actor":{"display_login":"jonashaag"}}