{"action":"opened","number":18,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/pulls/18","id":94835538,"html_url":"https://github.com/ManageIQ/ovirt_metrics/pull/18","diff_url":"https://github.com/ManageIQ/ovirt_metrics/pull/18.diff","patch_url":"https://github.com/ManageIQ/ovirt_metrics/pull/18.patch","issue_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/issues/18","number":18,"state":"open","locked":false,"title":"Get the disks_ids in a way that would work for 3.6","user":{"login":"borod108","id":3274731,"avatar_url":"https://avatars.githubusercontent.com/u/3274731?v=3","gravatar_id":"","url":"https://api.github.com/users/borod108","html_url":"https://github.com/borod108","followers_url":"https://api.github.com/users/borod108/followers","following_url":"https://api.github.com/users/borod108/following{/other_user}","gists_url":"https://api.github.com/users/borod108/gists{/gist_id}","starred_url":"https://api.github.com/users/borod108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borod108/subscriptions","organizations_url":"https://api.github.com/users/borod108/orgs","repos_url":"https://api.github.com/users/borod108/repos","events_url":"https://api.github.com/users/borod108/events{/privacy}","received_events_url":"https://api.github.com/users/borod108/received_events","type":"User","site_admin":false},"body":"When doing query_vm_disk_realtime_metrics use vm_device_history instead\r\nof disks_vm_map to get the disks ids since this table has the right data\r\nin version 3.6 of Ovirt DWH and in version 4.0\r\n\r\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1373460","created_at":"2016-11-22T15:26:00Z","updated_at":"2016-11-22T15:26:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/pulls/18/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/pulls/18/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/issues/18/comments","statuses_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/statuses/6f630bd1c61a6e915757e7eaf6bac33553e27e4e","head":{"label":"borod108:bugs/1373460Disks","ref":"bugs/1373460Disks","sha":"6f630bd1c61a6e915757e7eaf6bac33553e27e4e","user":{"login":"borod108","id":3274731,"avatar_url":"https://avatars.githubusercontent.com/u/3274731?v=3","gravatar_id":"","url":"https://api.github.com/users/borod108","html_url":"https://github.com/borod108","followers_url":"https://api.github.com/users/borod108/followers","following_url":"https://api.github.com/users/borod108/following{/other_user}","gists_url":"https://api.github.com/users/borod108/gists{/gist_id}","starred_url":"https://api.github.com/users/borod108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borod108/subscriptions","organizations_url":"https://api.github.com/users/borod108/orgs","repos_url":"https://api.github.com/users/borod108/repos","events_url":"https://api.github.com/users/borod108/events{/privacy}","received_events_url":"https://api.github.com/users/borod108/received_events","type":"User","site_admin":false},"repo":{"id":74478590,"name":"ovirt_metrics","full_name":"borod108/ovirt_metrics","owner":{"login":"borod108","id":3274731,"avatar_url":"https://avatars.githubusercontent.com/u/3274731?v=3","gravatar_id":"","url":"https://api.github.com/users/borod108","html_url":"https://github.com/borod108","followers_url":"https://api.github.com/users/borod108/followers","following_url":"https://api.github.com/users/borod108/following{/other_user}","gists_url":"https://api.github.com/users/borod108/gists{/gist_id}","starred_url":"https://api.github.com/users/borod108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borod108/subscriptions","organizations_url":"https://api.github.com/users/borod108/orgs","repos_url":"https://api.github.com/users/borod108/repos","events_url":"https://api.github.com/users/borod108/events{/privacy}","received_events_url":"https://api.github.com/users/borod108/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/borod108/ovirt_metrics","description":"OvirtMetrics is an ActiveRecord-based gem for reading the oVirt History database.","fork":true,"url":"https://api.github.com/repos/borod108/ovirt_metrics","forks_url":"https://api.github.com/repos/borod108/ovirt_metrics/forks","keys_url":"https://api.github.com/repos/borod108/ovirt_metrics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/borod108/ovirt_metrics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/borod108/ovirt_metrics/teams","hooks_url":"https://api.github.com/repos/borod108/ovirt_metrics/hooks","issue_events_url":"https://api.github.com/repos/borod108/ovirt_metrics/issues/events{/number}","events_url":"https://api.github.com/repos/borod108/ovirt_metrics/events","assignees_url":"https://api.github.com/repos/borod108/ovirt_metrics/assignees{/user}","branches_url":"https://api.github.com/repos/borod108/ovirt_metrics/branches{/branch}","tags_url":"https://api.github.com/repos/borod108/ovirt_metrics/tags","blobs_url":"https://api.github.com/repos/borod108/ovirt_metrics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/borod108/ovirt_metrics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/borod108/ovirt_metrics/git/refs{/sha}","trees_url":"https://api.github.com/repos/borod108/ovirt_metrics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/borod108/ovirt_metrics/statuses/{sha}","languages_url":"https://api.github.com/repos/borod108/ovirt_metrics/languages","stargazers_url":"https://api.github.com/repos/borod108/ovirt_metrics/stargazers","contributors_url":"https://api.github.com/repos/borod108/ovirt_metrics/contributors","subscribers_url":"https://api.github.com/repos/borod108/ovirt_metrics/subscribers","subscription_url":"https://api.github.com/repos/borod108/ovirt_metrics/subscription","commits_url":"https://api.github.com/repos/borod108/ovirt_metrics/commits{/sha}","git_commits_url":"https://api.github.com/repos/borod108/ovirt_metrics/git/commits{/sha}","comments_url":"https://api.github.com/repos/borod108/ovirt_metrics/comments{/number}","issue_comment_url":"https://api.github.com/repos/borod108/ovirt_metrics/issues/comments{/number}","contents_url":"https://api.github.com/repos/borod108/ovirt_metrics/contents/{+path}","compare_url":"https://api.github.com/repos/borod108/ovirt_metrics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/borod108/ovirt_metrics/merges","archive_url":"https://api.github.com/repos/borod108/ovirt_metrics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/borod108/ovirt_metrics/downloads","issues_url":"https://api.github.com/repos/borod108/ovirt_metrics/issues{/number}","pulls_url":"https://api.github.com/repos/borod108/ovirt_metrics/pulls{/number}","milestones_url":"https://api.github.com/repos/borod108/ovirt_metrics/milestones{/number}","notifications_url":"https://api.github.com/repos/borod108/ovirt_metrics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/borod108/ovirt_metrics/labels{/name}","releases_url":"https://api.github.com/repos/borod108/ovirt_metrics/releases{/id}","deployments_url":"https://api.github.com/repos/borod108/ovirt_metrics/deployments","created_at":"2016-11-22T14:08:27Z","updated_at":"2016-11-22T14:08:29Z","pushed_at":"2016-11-22T15:25:38Z","git_url":"git://github.com/borod108/ovirt_metrics.git","ssh_url":"git@github.com:borod108/ovirt_metrics.git","clone_url":"https://github.com/borod108/ovirt_metrics.git","svn_url":"https://github.com/borod108/ovirt_metrics","homepage":null,"size":99,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"ManageIQ:master","ref":"master","sha":"cb32e9d87c9a82b5cb2a20bf1aa95ed27f866a6d","user":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"repo":{"id":9514810,"name":"ovirt_metrics","full_name":"ManageIQ/ovirt_metrics","owner":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ManageIQ/ovirt_metrics","description":"OvirtMetrics is an ActiveRecord-based gem for reading the oVirt History database.","fork":false,"url":"https://api.github.com/repos/ManageIQ/ovirt_metrics","forks_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/forks","keys_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/teams","hooks_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/hooks","issue_events_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/issues/events{/number}","events_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/events","assignees_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/assignees{/user}","branches_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/branches{/branch}","tags_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/tags","blobs_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/statuses/{sha}","languages_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/languages","stargazers_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/stargazers","contributors_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/contributors","subscribers_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/subscribers","subscription_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/subscription","commits_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/contents/{+path}","compare_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/merges","archive_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/downloads","issues_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/issues{/number}","pulls_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/pulls{/number}","milestones_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/milestones{/number}","notifications_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/labels{/name}","releases_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/releases{/id}","deployments_url":"https://api.github.com/repos/ManageIQ/ovirt_metrics/deployments","created_at":"2013-04-18T06:10:10Z","updated_at":"2016-11-02T17:13:58Z","pushed_at":"2016-11-17T01:53:39Z","git_url":"git://github.com/ManageIQ/ovirt_metrics.git","ssh_url":"git@github.com:ManageIQ/ovirt_metrics.git","clone_url":"https://github.com/ManageIQ/ovirt_metrics.git","svn_url":"https://github.com/ManageIQ/ovirt_metrics","homepage":null,"size":100,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":4,"forks":11,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/ovirt_metrics/pulls/18"},"html":{"href":"https://github.com/ManageIQ/ovirt_metrics/pull/18"},"issue":{"href":"https://api.github.com/repos/ManageIQ/ovirt_metrics/issues/18"},"comments":{"href":"https://api.github.com/repos/ManageIQ/ovirt_metrics/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/ovirt_metrics/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/ovirt_metrics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/ovirt_metrics/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/ovirt_metrics/statuses/6f630bd1c61a6e915757e7eaf6bac33553e27e4e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":43,"deletions":6,"changed_files":3}}
{"actor":{"display_login":"borod108"}}