{"action":"opened","number":23,"pull_request":{"url":"https://api.github.com/repos/prometheus/memcached_exporter/pulls/23","id":171197862,"html_url":"https://github.com/prometheus/memcached_exporter/pull/23","diff_url":"https://github.com/prometheus/memcached_exporter/pull/23.diff","patch_url":"https://github.com/prometheus/memcached_exporter/pull/23.patch","issue_url":"https://api.github.com/repos/prometheus/memcached_exporter/issues/23","number":23,"state":"open","locked":false,"title":"Refactor exporter so that it can be used as a library.","user":{"login":"tamalsaha","id":94814,"avatar_url":"https://avatars1.githubusercontent.com/u/94814?v=4","gravatar_id":"","url":"https://api.github.com/users/tamalsaha","html_url":"https://github.com/tamalsaha","followers_url":"https://api.github.com/users/tamalsaha/followers","following_url":"https://api.github.com/users/tamalsaha/following{/other_user}","gists_url":"https://api.github.com/users/tamalsaha/gists{/gist_id}","starred_url":"https://api.github.com/users/tamalsaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamalsaha/subscriptions","organizations_url":"https://api.github.com/users/tamalsaha/orgs","repos_url":"https://api.github.com/users/tamalsaha/repos","events_url":"https://api.github.com/users/tamalsaha/events{/privacy}","received_events_url":"https://api.github.com/users/tamalsaha/received_events","type":"User","site_admin":false},"body":"We are using the Memcached exported in our project as a library. This pr refactors the exporter to a `collector` subpackage so that it can be used as a library.","created_at":"2018-02-24T21:11:40Z","updated_at":"2018-02-24T21:11:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/prometheus/memcached_exporter/pulls/23/commits","review_comments_url":"https://api.github.com/repos/prometheus/memcached_exporter/pulls/23/comments","review_comment_url":"https://api.github.com/repos/prometheus/memcached_exporter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prometheus/memcached_exporter/issues/23/comments","statuses_url":"https://api.github.com/repos/prometheus/memcached_exporter/statuses/d8f8362d7dfc221991c3014de718f17670c56279","head":{"label":"kubedb:master","ref":"master","sha":"d8f8362d7dfc221991c3014de718f17670c56279","user":{"login":"kubedb","id":26101272,"avatar_url":"https://avatars1.githubusercontent.com/u/26101272?v=4","gravatar_id":"","url":"https://api.github.com/users/kubedb","html_url":"https://github.com/kubedb","followers_url":"https://api.github.com/users/kubedb/followers","following_url":"https://api.github.com/users/kubedb/following{/other_user}","gists_url":"https://api.github.com/users/kubedb/gists{/gist_id}","starred_url":"https://api.github.com/users/kubedb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubedb/subscriptions","organizations_url":"https://api.github.com/users/kubedb/orgs","repos_url":"https://api.github.com/users/kubedb/repos","events_url":"https://api.github.com/users/kubedb/events{/privacy}","received_events_url":"https://api.github.com/users/kubedb/received_events","type":"Organization","site_admin":false},"repo":{"id":110206124,"name":"memcached_exporter","full_name":"kubedb/memcached_exporter","owner":{"login":"kubedb","id":26101272,"avatar_url":"https://avatars1.githubusercontent.com/u/26101272?v=4","gravatar_id":"","url":"https://api.github.com/users/kubedb","html_url":"https://github.com/kubedb","followers_url":"https://api.github.com/users/kubedb/followers","following_url":"https://api.github.com/users/kubedb/following{/other_user}","gists_url":"https://api.github.com/users/kubedb/gists{/gist_id}","starred_url":"https://api.github.com/users/kubedb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubedb/subscriptions","organizations_url":"https://api.github.com/users/kubedb/orgs","repos_url":"https://api.github.com/users/kubedb/repos","events_url":"https://api.github.com/users/kubedb/events{/privacy}","received_events_url":"https://api.github.com/users/kubedb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubedb/memcached_exporter","description":"Exports metrics from memcached servers for consumption by Prometheus.","fork":true,"url":"https://api.github.com/repos/kubedb/memcached_exporter","forks_url":"https://api.github.com/repos/kubedb/memcached_exporter/forks","keys_url":"https://api.github.com/repos/kubedb/memcached_exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubedb/memcached_exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubedb/memcached_exporter/teams","hooks_url":"https://api.github.com/repos/kubedb/memcached_exporter/hooks","issue_events_url":"https://api.github.com/repos/kubedb/memcached_exporter/issues/events{/number}","events_url":"https://api.github.com/repos/kubedb/memcached_exporter/events","assignees_url":"https://api.github.com/repos/kubedb/memcached_exporter/assignees{/user}","branches_url":"https://api.github.com/repos/kubedb/memcached_exporter/branches{/branch}","tags_url":"https://api.github.com/repos/kubedb/memcached_exporter/tags","blobs_url":"https://api.github.com/repos/kubedb/memcached_exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubedb/memcached_exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubedb/memcached_exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubedb/memcached_exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubedb/memcached_exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/kubedb/memcached_exporter/languages","stargazers_url":"https://api.github.com/repos/kubedb/memcached_exporter/stargazers","contributors_url":"https://api.github.com/repos/kubedb/memcached_exporter/contributors","subscribers_url":"https://api.github.com/repos/kubedb/memcached_exporter/subscribers","subscription_url":"https://api.github.com/repos/kubedb/memcached_exporter/subscription","commits_url":"https://api.github.com/repos/kubedb/memcached_exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubedb/memcached_exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubedb/memcached_exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubedb/memcached_exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubedb/memcached_exporter/contents/{+path}","compare_url":"https://api.github.com/repos/kubedb/memcached_exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubedb/memcached_exporter/merges","archive_url":"https://api.github.com/repos/kubedb/memcached_exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubedb/memcached_exporter/downloads","issues_url":"https://api.github.com/repos/kubedb/memcached_exporter/issues{/number}","pulls_url":"https://api.github.com/repos/kubedb/memcached_exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/kubedb/memcached_exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/kubedb/memcached_exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubedb/memcached_exporter/labels{/name}","releases_url":"https://api.github.com/repos/kubedb/memcached_exporter/releases{/id}","deployments_url":"https://api.github.com/repos/kubedb/memcached_exporter/deployments","created_at":"2017-11-10T05:20:25Z","updated_at":"2017-11-10T05:20:27Z","pushed_at":"2018-02-24T21:08:56Z","git_url":"git://github.com/kubedb/memcached_exporter.git","ssh_url":"git@github.com:kubedb/memcached_exporter.git","clone_url":"https://github.com/kubedb/memcached_exporter.git","svn_url":"https://github.com/kubedb/memcached_exporter","homepage":null,"size":1144,"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":"master"}},"base":{"label":"prometheus:master","ref":"master","sha":"a0a344923d7795a7916ebc8b6d77c83ed7fd258d","user":{"login":"prometheus","id":3380462,"avatar_url":"https://avatars3.githubusercontent.com/u/3380462?v=4","gravatar_id":"","url":"https://api.github.com/users/prometheus","html_url":"https://github.com/prometheus","followers_url":"https://api.github.com/users/prometheus/followers","following_url":"https://api.github.com/users/prometheus/following{/other_user}","gists_url":"https://api.github.com/users/prometheus/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheus/subscriptions","organizations_url":"https://api.github.com/users/prometheus/orgs","repos_url":"https://api.github.com/users/prometheus/repos","events_url":"https://api.github.com/users/prometheus/events{/privacy}","received_events_url":"https://api.github.com/users/prometheus/received_events","type":"Organization","site_admin":false},"repo":{"id":57182606,"name":"memcached_exporter","full_name":"prometheus/memcached_exporter","owner":{"login":"prometheus","id":3380462,"avatar_url":"https://avatars3.githubusercontent.com/u/3380462?v=4","gravatar_id":"","url":"https://api.github.com/users/prometheus","html_url":"https://github.com/prometheus","followers_url":"https://api.github.com/users/prometheus/followers","following_url":"https://api.github.com/users/prometheus/following{/other_user}","gists_url":"https://api.github.com/users/prometheus/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheus/subscriptions","organizations_url":"https://api.github.com/users/prometheus/orgs","repos_url":"https://api.github.com/users/prometheus/repos","events_url":"https://api.github.com/users/prometheus/events{/privacy}","received_events_url":"https://api.github.com/users/prometheus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prometheus/memcached_exporter","description":"Exports metrics from memcached servers for consumption by Prometheus.","fork":false,"url":"https://api.github.com/repos/prometheus/memcached_exporter","forks_url":"https://api.github.com/repos/prometheus/memcached_exporter/forks","keys_url":"https://api.github.com/repos/prometheus/memcached_exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prometheus/memcached_exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prometheus/memcached_exporter/teams","hooks_url":"https://api.github.com/repos/prometheus/memcached_exporter/hooks","issue_events_url":"https://api.github.com/repos/prometheus/memcached_exporter/issues/events{/number}","events_url":"https://api.github.com/repos/prometheus/memcached_exporter/events","assignees_url":"https://api.github.com/repos/prometheus/memcached_exporter/assignees{/user}","branches_url":"https://api.github.com/repos/prometheus/memcached_exporter/branches{/branch}","tags_url":"https://api.github.com/repos/prometheus/memcached_exporter/tags","blobs_url":"https://api.github.com/repos/prometheus/memcached_exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prometheus/memcached_exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prometheus/memcached_exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/prometheus/memcached_exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prometheus/memcached_exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/prometheus/memcached_exporter/languages","stargazers_url":"https://api.github.com/repos/prometheus/memcached_exporter/stargazers","contributors_url":"https://api.github.com/repos/prometheus/memcached_exporter/contributors","subscribers_url":"https://api.github.com/repos/prometheus/memcached_exporter/subscribers","subscription_url":"https://api.github.com/repos/prometheus/memcached_exporter/subscription","commits_url":"https://api.github.com/repos/prometheus/memcached_exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/prometheus/memcached_exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/prometheus/memcached_exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/prometheus/memcached_exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/prometheus/memcached_exporter/contents/{+path}","compare_url":"https://api.github.com/repos/prometheus/memcached_exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prometheus/memcached_exporter/merges","archive_url":"https://api.github.com/repos/prometheus/memcached_exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prometheus/memcached_exporter/downloads","issues_url":"https://api.github.com/repos/prometheus/memcached_exporter/issues{/number}","pulls_url":"https://api.github.com/repos/prometheus/memcached_exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/prometheus/memcached_exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/prometheus/memcached_exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prometheus/memcached_exporter/labels{/name}","releases_url":"https://api.github.com/repos/prometheus/memcached_exporter/releases{/id}","deployments_url":"https://api.github.com/repos/prometheus/memcached_exporter/deployments","created_at":"2016-04-27T04:10:47Z","updated_at":"2018-02-19T12:37:49Z","pushed_at":"2018-02-01T13:34:19Z","git_url":"git://github.com/prometheus/memcached_exporter.git","ssh_url":"git@github.com:prometheus/memcached_exporter.git","clone_url":"https://github.com/prometheus/memcached_exporter.git","svn_url":"https://github.com/prometheus/memcached_exporter","homepage":null,"size":1614,"stargazers_count":22,"watchers_count":22,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":18,"open_issues":3,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prometheus/memcached_exporter/pulls/23"},"html":{"href":"https://github.com/prometheus/memcached_exporter/pull/23"},"issue":{"href":"https://api.github.com/repos/prometheus/memcached_exporter/issues/23"},"comments":{"href":"https://api.github.com/repos/prometheus/memcached_exporter/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/prometheus/memcached_exporter/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/prometheus/memcached_exporter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prometheus/memcached_exporter/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/prometheus/memcached_exporter/statuses/d8f8362d7dfc221991c3014de718f17670c56279"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":473,"deletions":464,"changed_files":2}}
{"actor":{"display_login":"tamalsaha"}}