{"action":"opened","number":230,"pull_request":{"url":"https://api.github.com/repos/wrouesnel/postgres_exporter/pulls/230","id":229252186,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5MjUyMTg2","html_url":"https://github.com/wrouesnel/postgres_exporter/pull/230","diff_url":"https://github.com/wrouesnel/postgres_exporter/pull/230.diff","patch_url":"https://github.com/wrouesnel/postgres_exporter/pull/230.patch","issue_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/issues/230","number":230,"state":"open","locked":false,"title":"Multi instance","user":{"login":"gle4er","id":17588327,"node_id":"MDQ6VXNlcjE3NTg4MzI3","avatar_url":"https://avatars3.githubusercontent.com/u/17588327?v=4","gravatar_id":"","url":"https://api.github.com/users/gle4er","html_url":"https://github.com/gle4er","followers_url":"https://api.github.com/users/gle4er/followers","following_url":"https://api.github.com/users/gle4er/following{/other_user}","gists_url":"https://api.github.com/users/gle4er/gists{/gist_id}","starred_url":"https://api.github.com/users/gle4er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gle4er/subscriptions","organizations_url":"https://api.github.com/users/gle4er/orgs","repos_url":"https://api.github.com/users/gle4er/repos","events_url":"https://api.github.com/users/gle4er/events{/privacy}","received_events_url":"https://api.github.com/users/gle4er/received_events","type":"User","site_admin":false},"body":"Hello everyone. I just made fixes, to avoid issues like #224. Actually, this is rework of PR #215, because this PR didn't work for me.\r\nIn short: you should specify two or more URI's by comma (examples in Readme). You also can write usernames and passwords in files separated by comma or newlines.\r\nMy PR has tests, for multi instance check, so maintainers can support my fixes in future.\r\nAlso, I added flag for disabling pg_setting metrics (described in Readme too).","created_at":"2018-11-08T05:12:19Z","updated_at":"2018-11-08T05:12:19Z","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/wrouesnel/postgres_exporter/pulls/230/commits","review_comments_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/pulls/230/comments","review_comment_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/issues/230/comments","statuses_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/statuses/bfc9b734e37152c28636e2897049d92d3ab4baed","head":{"label":"gle4er:multi_instance","ref":"multi_instance","sha":"bfc9b734e37152c28636e2897049d92d3ab4baed","user":{"login":"gle4er","id":17588327,"node_id":"MDQ6VXNlcjE3NTg4MzI3","avatar_url":"https://avatars3.githubusercontent.com/u/17588327?v=4","gravatar_id":"","url":"https://api.github.com/users/gle4er","html_url":"https://github.com/gle4er","followers_url":"https://api.github.com/users/gle4er/followers","following_url":"https://api.github.com/users/gle4er/following{/other_user}","gists_url":"https://api.github.com/users/gle4er/gists{/gist_id}","starred_url":"https://api.github.com/users/gle4er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gle4er/subscriptions","organizations_url":"https://api.github.com/users/gle4er/orgs","repos_url":"https://api.github.com/users/gle4er/repos","events_url":"https://api.github.com/users/gle4er/events{/privacy}","received_events_url":"https://api.github.com/users/gle4er/received_events","type":"User","site_admin":false},"repo":{"id":154625960,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ2MjU5NjA=","name":"postgres_exporter","full_name":"gle4er/postgres_exporter","private":false,"owner":{"login":"gle4er","id":17588327,"node_id":"MDQ6VXNlcjE3NTg4MzI3","avatar_url":"https://avatars3.githubusercontent.com/u/17588327?v=4","gravatar_id":"","url":"https://api.github.com/users/gle4er","html_url":"https://github.com/gle4er","followers_url":"https://api.github.com/users/gle4er/followers","following_url":"https://api.github.com/users/gle4er/following{/other_user}","gists_url":"https://api.github.com/users/gle4er/gists{/gist_id}","starred_url":"https://api.github.com/users/gle4er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gle4er/subscriptions","organizations_url":"https://api.github.com/users/gle4er/orgs","repos_url":"https://api.github.com/users/gle4er/repos","events_url":"https://api.github.com/users/gle4er/events{/privacy}","received_events_url":"https://api.github.com/users/gle4er/received_events","type":"User","site_admin":false},"html_url":"https://github.com/gle4er/postgres_exporter","description":"A PostgresSQL metric exporter for Prometheus","fork":true,"url":"https://api.github.com/repos/gle4er/postgres_exporter","forks_url":"https://api.github.com/repos/gle4er/postgres_exporter/forks","keys_url":"https://api.github.com/repos/gle4er/postgres_exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gle4er/postgres_exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gle4er/postgres_exporter/teams","hooks_url":"https://api.github.com/repos/gle4er/postgres_exporter/hooks","issue_events_url":"https://api.github.com/repos/gle4er/postgres_exporter/issues/events{/number}","events_url":"https://api.github.com/repos/gle4er/postgres_exporter/events","assignees_url":"https://api.github.com/repos/gle4er/postgres_exporter/assignees{/user}","branches_url":"https://api.github.com/repos/gle4er/postgres_exporter/branches{/branch}","tags_url":"https://api.github.com/repos/gle4er/postgres_exporter/tags","blobs_url":"https://api.github.com/repos/gle4er/postgres_exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gle4er/postgres_exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gle4er/postgres_exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/gle4er/postgres_exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gle4er/postgres_exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/gle4er/postgres_exporter/languages","stargazers_url":"https://api.github.com/repos/gle4er/postgres_exporter/stargazers","contributors_url":"https://api.github.com/repos/gle4er/postgres_exporter/contributors","subscribers_url":"https://api.github.com/repos/gle4er/postgres_exporter/subscribers","subscription_url":"https://api.github.com/repos/gle4er/postgres_exporter/subscription","commits_url":"https://api.github.com/repos/gle4er/postgres_exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/gle4er/postgres_exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/gle4er/postgres_exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/gle4er/postgres_exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/gle4er/postgres_exporter/contents/{+path}","compare_url":"https://api.github.com/repos/gle4er/postgres_exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gle4er/postgres_exporter/merges","archive_url":"https://api.github.com/repos/gle4er/postgres_exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gle4er/postgres_exporter/downloads","issues_url":"https://api.github.com/repos/gle4er/postgres_exporter/issues{/number}","pulls_url":"https://api.github.com/repos/gle4er/postgres_exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/gle4er/postgres_exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/gle4er/postgres_exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gle4er/postgres_exporter/labels{/name}","releases_url":"https://api.github.com/repos/gle4er/postgres_exporter/releases{/id}","deployments_url":"https://api.github.com/repos/gle4er/postgres_exporter/deployments","created_at":"2018-10-25T07:10:42Z","updated_at":"2018-10-25T07:10:44Z","pushed_at":"2018-11-08T05:02:32Z","git_url":"git://github.com/gle4er/postgres_exporter.git","ssh_url":"git@github.com:gle4er/postgres_exporter.git","clone_url":"https://github.com/gle4er/postgres_exporter.git","svn_url":"https://github.com/gle4er/postgres_exporter","homepage":null,"size":6556,"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":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wrouesnel:master","ref":"master","sha":"844076cd6d47e38525f23f0035535a45cf07e318","user":{"login":"wrouesnel","id":772445,"node_id":"MDQ6VXNlcjc3MjQ0NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/772445?v=4","gravatar_id":"","url":"https://api.github.com/users/wrouesnel","html_url":"https://github.com/wrouesnel","followers_url":"https://api.github.com/users/wrouesnel/followers","following_url":"https://api.github.com/users/wrouesnel/following{/other_user}","gists_url":"https://api.github.com/users/wrouesnel/gists{/gist_id}","starred_url":"https://api.github.com/users/wrouesnel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrouesnel/subscriptions","organizations_url":"https://api.github.com/users/wrouesnel/orgs","repos_url":"https://api.github.com/users/wrouesnel/repos","events_url":"https://api.github.com/users/wrouesnel/events{/privacy}","received_events_url":"https://api.github.com/users/wrouesnel/received_events","type":"User","site_admin":false},"repo":{"id":41317079,"node_id":"MDEwOlJlcG9zaXRvcnk0MTMxNzA3OQ==","name":"postgres_exporter","full_name":"wrouesnel/postgres_exporter","private":false,"owner":{"login":"wrouesnel","id":772445,"node_id":"MDQ6VXNlcjc3MjQ0NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/772445?v=4","gravatar_id":"","url":"https://api.github.com/users/wrouesnel","html_url":"https://github.com/wrouesnel","followers_url":"https://api.github.com/users/wrouesnel/followers","following_url":"https://api.github.com/users/wrouesnel/following{/other_user}","gists_url":"https://api.github.com/users/wrouesnel/gists{/gist_id}","starred_url":"https://api.github.com/users/wrouesnel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrouesnel/subscriptions","organizations_url":"https://api.github.com/users/wrouesnel/orgs","repos_url":"https://api.github.com/users/wrouesnel/repos","events_url":"https://api.github.com/users/wrouesnel/events{/privacy}","received_events_url":"https://api.github.com/users/wrouesnel/received_events","type":"User","site_admin":false},"html_url":"https://github.com/wrouesnel/postgres_exporter","description":"A PostgresSQL metric exporter for Prometheus","fork":false,"url":"https://api.github.com/repos/wrouesnel/postgres_exporter","forks_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/forks","keys_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/teams","hooks_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/hooks","issue_events_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/issues/events{/number}","events_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/events","assignees_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/assignees{/user}","branches_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/branches{/branch}","tags_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/tags","blobs_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/languages","stargazers_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/stargazers","contributors_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/contributors","subscribers_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/subscribers","subscription_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/subscription","commits_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/contents/{+path}","compare_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/merges","archive_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/downloads","issues_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/issues{/number}","pulls_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/labels{/name}","releases_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/releases{/id}","deployments_url":"https://api.github.com/repos/wrouesnel/postgres_exporter/deployments","created_at":"2015-08-24T17:26:27Z","updated_at":"2018-11-07T16:59:24Z","pushed_at":"2018-11-02T14:25:52Z","git_url":"git://github.com/wrouesnel/postgres_exporter.git","ssh_url":"git@github.com:wrouesnel/postgres_exporter.git","clone_url":"https://github.com/wrouesnel/postgres_exporter.git","svn_url":"https://github.com/wrouesnel/postgres_exporter","homepage":null,"size":6546,"stargazers_count":433,"watchers_count":433,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":166,"mirror_url":null,"archived":false,"open_issues_count":48,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":166,"open_issues":48,"watchers":433,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wrouesnel/postgres_exporter/pulls/230"},"html":{"href":"https://github.com/wrouesnel/postgres_exporter/pull/230"},"issue":{"href":"https://api.github.com/repos/wrouesnel/postgres_exporter/issues/230"},"comments":{"href":"https://api.github.com/repos/wrouesnel/postgres_exporter/issues/230/comments"},"review_comments":{"href":"https://api.github.com/repos/wrouesnel/postgres_exporter/pulls/230/comments"},"review_comment":{"href":"https://api.github.com/repos/wrouesnel/postgres_exporter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wrouesnel/postgres_exporter/pulls/230/commits"},"statuses":{"href":"https://api.github.com/repos/wrouesnel/postgres_exporter/statuses/bfc9b734e37152c28636e2897049d92d3ab4baed"}},"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":9,"additions":204,"deletions":84,"changed_files":9}}
{"actor":{"display_login":"gle4er"}}