{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/noushi/postgres_exporter/pulls/1","id":82083051,"html_url":"https://github.com/noushi/postgres_exporter/pull/1","diff_url":"https://github.com/noushi/postgres_exporter/pull/1.diff","patch_url":"https://github.com/noushi/postgres_exporter/pull/1.patch","issue_url":"https://api.github.com/repos/noushi/postgres_exporter/issues/1","number":1,"state":"open","locked":false,"title":"fix bug with multiple columns in same metric","user":{"login":"ncabatoff","id":5587236,"avatar_url":"https://avatars.githubusercontent.com/u/5587236?v=3","gravatar_id":"","url":"https://api.github.com/users/ncabatoff","html_url":"https://github.com/ncabatoff","followers_url":"https://api.github.com/users/ncabatoff/followers","following_url":"https://api.github.com/users/ncabatoff/following{/other_user}","gists_url":"https://api.github.com/users/ncabatoff/gists{/gist_id}","starred_url":"https://api.github.com/users/ncabatoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncabatoff/subscriptions","organizations_url":"https://api.github.com/users/ncabatoff/orgs","repos_url":"https://api.github.com/users/ncabatoff/repos","events_url":"https://api.github.com/users/ncabatoff/events{/privacy}","received_events_url":"https://api.github.com/users/ncabatoff/received_events","type":"User","site_admin":false},"body":"Only the last column in each metric was being used because the map was being overwritten each time.  Also added a dumpmaps option for debugging to help demonstrate the problem.","created_at":"2016-08-20T16:35:44Z","updated_at":"2016-08-20T16:35:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/noushi/postgres_exporter/pulls/1/commits","review_comments_url":"https://api.github.com/repos/noushi/postgres_exporter/pulls/1/comments","review_comment_url":"https://api.github.com/repos/noushi/postgres_exporter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/noushi/postgres_exporter/issues/1/comments","statuses_url":"https://api.github.com/repos/noushi/postgres_exporter/statuses/fc3a14f6454ebd9bf82e9d2200dad45e2ae28ff1","head":{"label":"ncabatoff:feature-queries_from_file","ref":"feature-queries_from_file","sha":"fc3a14f6454ebd9bf82e9d2200dad45e2ae28ff1","user":{"login":"ncabatoff","id":5587236,"avatar_url":"https://avatars.githubusercontent.com/u/5587236?v=3","gravatar_id":"","url":"https://api.github.com/users/ncabatoff","html_url":"https://github.com/ncabatoff","followers_url":"https://api.github.com/users/ncabatoff/followers","following_url":"https://api.github.com/users/ncabatoff/following{/other_user}","gists_url":"https://api.github.com/users/ncabatoff/gists{/gist_id}","starred_url":"https://api.github.com/users/ncabatoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncabatoff/subscriptions","organizations_url":"https://api.github.com/users/ncabatoff/orgs","repos_url":"https://api.github.com/users/ncabatoff/repos","events_url":"https://api.github.com/users/ncabatoff/events{/privacy}","received_events_url":"https://api.github.com/users/ncabatoff/received_events","type":"User","site_admin":false},"repo":{"id":66156656,"name":"postgres_exporter","full_name":"ncabatoff/postgres_exporter","owner":{"login":"ncabatoff","id":5587236,"avatar_url":"https://avatars.githubusercontent.com/u/5587236?v=3","gravatar_id":"","url":"https://api.github.com/users/ncabatoff","html_url":"https://github.com/ncabatoff","followers_url":"https://api.github.com/users/ncabatoff/followers","following_url":"https://api.github.com/users/ncabatoff/following{/other_user}","gists_url":"https://api.github.com/users/ncabatoff/gists{/gist_id}","starred_url":"https://api.github.com/users/ncabatoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncabatoff/subscriptions","organizations_url":"https://api.github.com/users/ncabatoff/orgs","repos_url":"https://api.github.com/users/ncabatoff/repos","events_url":"https://api.github.com/users/ncabatoff/events{/privacy}","received_events_url":"https://api.github.com/users/ncabatoff/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ncabatoff/postgres_exporter","description":"A PostgresSQL metric exporter for Prometheus","fork":true,"url":"https://api.github.com/repos/ncabatoff/postgres_exporter","forks_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/forks","keys_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/teams","hooks_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/hooks","issue_events_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/issues/events{/number}","events_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/events","assignees_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/assignees{/user}","branches_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/branches{/branch}","tags_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/tags","blobs_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/languages","stargazers_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/stargazers","contributors_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/contributors","subscribers_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/subscribers","subscription_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/subscription","commits_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/contents/{+path}","compare_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/merges","archive_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/downloads","issues_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/issues{/number}","pulls_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/labels{/name}","releases_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/releases{/id}","deployments_url":"https://api.github.com/repos/ncabatoff/postgres_exporter/deployments","created_at":"2016-08-20T16:27:42Z","updated_at":"2016-08-20T16:27:43Z","pushed_at":"2016-08-20T16:32:43Z","git_url":"git://github.com/ncabatoff/postgres_exporter.git","ssh_url":"git@github.com:ncabatoff/postgres_exporter.git","clone_url":"https://github.com/ncabatoff/postgres_exporter.git","svn_url":"https://github.com/ncabatoff/postgres_exporter","homepage":null,"size":3035,"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":"noushi:feature-queries_from_file","ref":"feature-queries_from_file","sha":"895166bbbb03127a74af7c90894324e8ca29194a","user":{"login":"noushi","id":4186288,"avatar_url":"https://avatars.githubusercontent.com/u/4186288?v=3","gravatar_id":"","url":"https://api.github.com/users/noushi","html_url":"https://github.com/noushi","followers_url":"https://api.github.com/users/noushi/followers","following_url":"https://api.github.com/users/noushi/following{/other_user}","gists_url":"https://api.github.com/users/noushi/gists{/gist_id}","starred_url":"https://api.github.com/users/noushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noushi/subscriptions","organizations_url":"https://api.github.com/users/noushi/orgs","repos_url":"https://api.github.com/users/noushi/repos","events_url":"https://api.github.com/users/noushi/events{/privacy}","received_events_url":"https://api.github.com/users/noushi/received_events","type":"User","site_admin":false},"repo":{"id":62182878,"name":"postgres_exporter","full_name":"noushi/postgres_exporter","owner":{"login":"noushi","id":4186288,"avatar_url":"https://avatars.githubusercontent.com/u/4186288?v=3","gravatar_id":"","url":"https://api.github.com/users/noushi","html_url":"https://github.com/noushi","followers_url":"https://api.github.com/users/noushi/followers","following_url":"https://api.github.com/users/noushi/following{/other_user}","gists_url":"https://api.github.com/users/noushi/gists{/gist_id}","starred_url":"https://api.github.com/users/noushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noushi/subscriptions","organizations_url":"https://api.github.com/users/noushi/orgs","repos_url":"https://api.github.com/users/noushi/repos","events_url":"https://api.github.com/users/noushi/events{/privacy}","received_events_url":"https://api.github.com/users/noushi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/noushi/postgres_exporter","description":"A PostgresSQL metric exporter for Prometheus","fork":true,"url":"https://api.github.com/repos/noushi/postgres_exporter","forks_url":"https://api.github.com/repos/noushi/postgres_exporter/forks","keys_url":"https://api.github.com/repos/noushi/postgres_exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/noushi/postgres_exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/noushi/postgres_exporter/teams","hooks_url":"https://api.github.com/repos/noushi/postgres_exporter/hooks","issue_events_url":"https://api.github.com/repos/noushi/postgres_exporter/issues/events{/number}","events_url":"https://api.github.com/repos/noushi/postgres_exporter/events","assignees_url":"https://api.github.com/repos/noushi/postgres_exporter/assignees{/user}","branches_url":"https://api.github.com/repos/noushi/postgres_exporter/branches{/branch}","tags_url":"https://api.github.com/repos/noushi/postgres_exporter/tags","blobs_url":"https://api.github.com/repos/noushi/postgres_exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/noushi/postgres_exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/noushi/postgres_exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/noushi/postgres_exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/noushi/postgres_exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/noushi/postgres_exporter/languages","stargazers_url":"https://api.github.com/repos/noushi/postgres_exporter/stargazers","contributors_url":"https://api.github.com/repos/noushi/postgres_exporter/contributors","subscribers_url":"https://api.github.com/repos/noushi/postgres_exporter/subscribers","subscription_url":"https://api.github.com/repos/noushi/postgres_exporter/subscription","commits_url":"https://api.github.com/repos/noushi/postgres_exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/noushi/postgres_exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/noushi/postgres_exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/noushi/postgres_exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/noushi/postgres_exporter/contents/{+path}","compare_url":"https://api.github.com/repos/noushi/postgres_exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/noushi/postgres_exporter/merges","archive_url":"https://api.github.com/repos/noushi/postgres_exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/noushi/postgres_exporter/downloads","issues_url":"https://api.github.com/repos/noushi/postgres_exporter/issues{/number}","pulls_url":"https://api.github.com/repos/noushi/postgres_exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/noushi/postgres_exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/noushi/postgres_exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/noushi/postgres_exporter/labels{/name}","releases_url":"https://api.github.com/repos/noushi/postgres_exporter/releases{/id}","deployments_url":"https://api.github.com/repos/noushi/postgres_exporter/deployments","created_at":"2016-06-29T00:27:53Z","updated_at":"2016-06-29T00:27:54Z","pushed_at":"2016-07-20T00:13:43Z","git_url":"git://github.com/noushi/postgres_exporter.git","ssh_url":"git@github.com:noushi/postgres_exporter.git","clone_url":"https://github.com/noushi/postgres_exporter.git","svn_url":"https://github.com/noushi/postgres_exporter","homepage":null,"size":3035,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/noushi/postgres_exporter/pulls/1"},"html":{"href":"https://github.com/noushi/postgres_exporter/pull/1"},"issue":{"href":"https://api.github.com/repos/noushi/postgres_exporter/issues/1"},"comments":{"href":"https://api.github.com/repos/noushi/postgres_exporter/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/noushi/postgres_exporter/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/noushi/postgres_exporter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/noushi/postgres_exporter/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/noushi/postgres_exporter/statuses/fc3a14f6454ebd9bf82e9d2200dad45e2ae28ff1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":37,"deletions":12,"changed_files":1}}
{"actor":{"display_login":"ncabatoff"}}