{"action":"created","comment":{"url":"https://api.github.com/repos/xapi-project/xenvm/pulls/comments/38419056","id":38419056,"diff_hunk":"@@ -50,7 +50,7 @@ let vgs_offline =\n let with_xenvmd ?existing_vg ?(cleanup_vg=true) (f : string -> 'a) =\n   let with_xenvmd_running loop =\n       xenvm [ \"set-vg-info\"; \"--pvpath\"; loop; \"-S\"; \"/tmp/xenvmd\"; vg; \"--local-allocator-path\"; \"/tmp/xenvm-local-allocator\"; \"--uri\"; \"file://local/services/xenvmd/\"^vg ] |> ignore_string;\n-      file_of_string \"test.xenvmd.conf\" (\"( (listenPort ()) (listenPath (Some \\\"/tmp/xenvmd\\\")) (host_allocation_quantum 128) (host_low_water_mark 8) (vg \"^vg^\") (devices (\"^loop^\")))\");\n+      file_of_string \"test.xenvmd.conf\" (\"( (listenPort ()) (listenPath (Some \\\"/tmp/xenvmd\\\")) (host_allocation_quantum 128) (host_low_water_mark 8) (vg \"^vg^\") (devices (\"^loop^\")) (rrd_ds_owner \\\"rrd-ds-owner\\\"))\");","path":"test/test.ml","position":5,"original_position":5,"commit_id":"9f6c7a07608c9e8c64a2bb6c7625b944c38181ca","original_commit_id":"9f6c7a07608c9e8c64a2bb6c7625b944c38181ca","user":{"login":"euanh","id":789066,"avatar_url":"https://avatars.githubusercontent.com/u/789066?v=3","gravatar_id":"","url":"https://api.github.com/users/euanh","html_url":"https://github.com/euanh","followers_url":"https://api.github.com/users/euanh/followers","following_url":"https://api.github.com/users/euanh/following{/other_user}","gists_url":"https://api.github.com/users/euanh/gists{/gist_id}","starred_url":"https://api.github.com/users/euanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/euanh/subscriptions","organizations_url":"https://api.github.com/users/euanh/orgs","repos_url":"https://api.github.com/users/euanh/repos","events_url":"https://api.github.com/users/euanh/events{/privacy}","received_events_url":"https://api.github.com/users/euanh/received_events","type":"User","site_admin":false},"body":"Could this string be split across several lines?  That would make merging future changes easier.","created_at":"2015-09-01T13:41:10Z","updated_at":"2015-09-01T13:41:10Z","html_url":"https://github.com/xapi-project/xenvm/pull/148#discussion_r38419056","pull_request_url":"https://api.github.com/repos/xapi-project/xenvm/pulls/148","_links":{"self":{"href":"https://api.github.com/repos/xapi-project/xenvm/pulls/comments/38419056"},"html":{"href":"https://github.com/xapi-project/xenvm/pull/148#discussion_r38419056"},"pull_request":{"href":"https://api.github.com/repos/xapi-project/xenvm/pulls/148"}}},"pull_request":{"url":"https://api.github.com/repos/xapi-project/xenvm/pulls/148","id":43855276,"html_url":"https://github.com/xapi-project/xenvm/pull/148","diff_url":"https://github.com/xapi-project/xenvm/pull/148.diff","patch_url":"https://github.com/xapi-project/xenvm/pull/148.patch","issue_url":"https://api.github.com/repos/xapi-project/xenvm/issues/148","number":148,"state":"open","locked":false,"title":"CP-13499: Provide physical utilisation metric to RRDD","user":{"login":"simonjbeaumont","id":1125539,"avatar_url":"https://avatars.githubusercontent.com/u/1125539?v=3","gravatar_id":"","url":"https://api.github.com/users/simonjbeaumont","html_url":"https://github.com/simonjbeaumont","followers_url":"https://api.github.com/users/simonjbeaumont/followers","following_url":"https://api.github.com/users/simonjbeaumont/following{/other_user}","gists_url":"https://api.github.com/users/simonjbeaumont/gists{/gist_id}","starred_url":"https://api.github.com/users/simonjbeaumont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonjbeaumont/subscriptions","organizations_url":"https://api.github.com/users/simonjbeaumont/orgs","repos_url":"https://api.github.com/users/simonjbeaumont/repos","events_url":"https://api.github.com/users/simonjbeaumont/events{/privacy}","received_events_url":"https://api.github.com/users/simonjbeaumont/received_events","type":"User","site_admin":false},"body":"The XenAPI changes to expose this metric are not yet merged but I have checked that this is exported by looking at the file exposed in the filesystem: `/dev/shm/metrics/xenvmd-<pid>-stats`.","created_at":"2015-09-01T09:35:06Z","updated_at":"2015-09-01T13:41:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7afd9656b4625fbcd02e937cc1b33a9958c57e92","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xapi-project/xenvm/pulls/148/commits","review_comments_url":"https://api.github.com/repos/xapi-project/xenvm/pulls/148/comments","review_comment_url":"https://api.github.com/repos/xapi-project/xenvm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xapi-project/xenvm/issues/148/comments","statuses_url":"https://api.github.com/repos/xapi-project/xenvm/statuses/9f6c7a07608c9e8c64a2bb6c7625b944c38181ca","head":{"label":"simonjbeaumont:cp-13499","ref":"cp-13499","sha":"9f6c7a07608c9e8c64a2bb6c7625b944c38181ca","user":{"login":"simonjbeaumont","id":1125539,"avatar_url":"https://avatars.githubusercontent.com/u/1125539?v=3","gravatar_id":"","url":"https://api.github.com/users/simonjbeaumont","html_url":"https://github.com/simonjbeaumont","followers_url":"https://api.github.com/users/simonjbeaumont/followers","following_url":"https://api.github.com/users/simonjbeaumont/following{/other_user}","gists_url":"https://api.github.com/users/simonjbeaumont/gists{/gist_id}","starred_url":"https://api.github.com/users/simonjbeaumont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonjbeaumont/subscriptions","organizations_url":"https://api.github.com/users/simonjbeaumont/orgs","repos_url":"https://api.github.com/users/simonjbeaumont/repos","events_url":"https://api.github.com/users/simonjbeaumont/events{/privacy}","received_events_url":"https://api.github.com/users/simonjbeaumont/received_events","type":"User","site_admin":false},"repo":{"id":40009274,"name":"xenvm","full_name":"simonjbeaumont/xenvm","owner":{"login":"simonjbeaumont","id":1125539,"avatar_url":"https://avatars.githubusercontent.com/u/1125539?v=3","gravatar_id":"","url":"https://api.github.com/users/simonjbeaumont","html_url":"https://github.com/simonjbeaumont","followers_url":"https://api.github.com/users/simonjbeaumont/followers","following_url":"https://api.github.com/users/simonjbeaumont/following{/other_user}","gists_url":"https://api.github.com/users/simonjbeaumont/gists{/gist_id}","starred_url":"https://api.github.com/users/simonjbeaumont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonjbeaumont/subscriptions","organizations_url":"https://api.github.com/users/simonjbeaumont/orgs","repos_url":"https://api.github.com/users/simonjbeaumont/repos","events_url":"https://api.github.com/users/simonjbeaumont/events{/privacy}","received_events_url":"https://api.github.com/users/simonjbeaumont/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/simonjbeaumont/xenvm","description":"A client/server LVM-like volume manager with thin-provisioning support","fork":true,"url":"https://api.github.com/repos/simonjbeaumont/xenvm","forks_url":"https://api.github.com/repos/simonjbeaumont/xenvm/forks","keys_url":"https://api.github.com/repos/simonjbeaumont/xenvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simonjbeaumont/xenvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simonjbeaumont/xenvm/teams","hooks_url":"https://api.github.com/repos/simonjbeaumont/xenvm/hooks","issue_events_url":"https://api.github.com/repos/simonjbeaumont/xenvm/issues/events{/number}","events_url":"https://api.github.com/repos/simonjbeaumont/xenvm/events","assignees_url":"https://api.github.com/repos/simonjbeaumont/xenvm/assignees{/user}","branches_url":"https://api.github.com/repos/simonjbeaumont/xenvm/branches{/branch}","tags_url":"https://api.github.com/repos/simonjbeaumont/xenvm/tags","blobs_url":"https://api.github.com/repos/simonjbeaumont/xenvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simonjbeaumont/xenvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simonjbeaumont/xenvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/simonjbeaumont/xenvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simonjbeaumont/xenvm/statuses/{sha}","languages_url":"https://api.github.com/repos/simonjbeaumont/xenvm/languages","stargazers_url":"https://api.github.com/repos/simonjbeaumont/xenvm/stargazers","contributors_url":"https://api.github.com/repos/simonjbeaumont/xenvm/contributors","subscribers_url":"https://api.github.com/repos/simonjbeaumont/xenvm/subscribers","subscription_url":"https://api.github.com/repos/simonjbeaumont/xenvm/subscription","commits_url":"https://api.github.com/repos/simonjbeaumont/xenvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/simonjbeaumont/xenvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/simonjbeaumont/xenvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/simonjbeaumont/xenvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/simonjbeaumont/xenvm/contents/{+path}","compare_url":"https://api.github.com/repos/simonjbeaumont/xenvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simonjbeaumont/xenvm/merges","archive_url":"https://api.github.com/repos/simonjbeaumont/xenvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simonjbeaumont/xenvm/downloads","issues_url":"https://api.github.com/repos/simonjbeaumont/xenvm/issues{/number}","pulls_url":"https://api.github.com/repos/simonjbeaumont/xenvm/pulls{/number}","milestones_url":"https://api.github.com/repos/simonjbeaumont/xenvm/milestones{/number}","notifications_url":"https://api.github.com/repos/simonjbeaumont/xenvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simonjbeaumont/xenvm/labels{/name}","releases_url":"https://api.github.com/repos/simonjbeaumont/xenvm/releases{/id}","created_at":"2015-07-31T14:31:13Z","updated_at":"2015-07-31T14:31:13Z","pushed_at":"2015-09-01T10:57:18Z","git_url":"git://github.com/simonjbeaumont/xenvm.git","ssh_url":"git@github.com:simonjbeaumont/xenvm.git","clone_url":"https://github.com/simonjbeaumont/xenvm.git","svn_url":"https://github.com/simonjbeaumont/xenvm","homepage":"","size":571,"stargazers_count":0,"watchers_count":0,"language":"OCaml","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":"xapi-project:master","ref":"master","sha":"4e01bbcbde460d3b7d406c5998db6fad3261f11f","user":{"login":"xapi-project","id":317268,"avatar_url":"https://avatars.githubusercontent.com/u/317268?v=3","gravatar_id":"","url":"https://api.github.com/users/xapi-project","html_url":"https://github.com/xapi-project","followers_url":"https://api.github.com/users/xapi-project/followers","following_url":"https://api.github.com/users/xapi-project/following{/other_user}","gists_url":"https://api.github.com/users/xapi-project/gists{/gist_id}","starred_url":"https://api.github.com/users/xapi-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xapi-project/subscriptions","organizations_url":"https://api.github.com/users/xapi-project/orgs","repos_url":"https://api.github.com/users/xapi-project/repos","events_url":"https://api.github.com/users/xapi-project/events{/privacy}","received_events_url":"https://api.github.com/users/xapi-project/received_events","type":"Organization","site_admin":false},"repo":{"id":29466809,"name":"xenvm","full_name":"xapi-project/xenvm","owner":{"login":"xapi-project","id":317268,"avatar_url":"https://avatars.githubusercontent.com/u/317268?v=3","gravatar_id":"","url":"https://api.github.com/users/xapi-project","html_url":"https://github.com/xapi-project","followers_url":"https://api.github.com/users/xapi-project/followers","following_url":"https://api.github.com/users/xapi-project/following{/other_user}","gists_url":"https://api.github.com/users/xapi-project/gists{/gist_id}","starred_url":"https://api.github.com/users/xapi-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xapi-project/subscriptions","organizations_url":"https://api.github.com/users/xapi-project/orgs","repos_url":"https://api.github.com/users/xapi-project/repos","events_url":"https://api.github.com/users/xapi-project/events{/privacy}","received_events_url":"https://api.github.com/users/xapi-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xapi-project/xenvm","description":"A client/server LVM-like volume manager with thin-provisioning support","fork":false,"url":"https://api.github.com/repos/xapi-project/xenvm","forks_url":"https://api.github.com/repos/xapi-project/xenvm/forks","keys_url":"https://api.github.com/repos/xapi-project/xenvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xapi-project/xenvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xapi-project/xenvm/teams","hooks_url":"https://api.github.com/repos/xapi-project/xenvm/hooks","issue_events_url":"https://api.github.com/repos/xapi-project/xenvm/issues/events{/number}","events_url":"https://api.github.com/repos/xapi-project/xenvm/events","assignees_url":"https://api.github.com/repos/xapi-project/xenvm/assignees{/user}","branches_url":"https://api.github.com/repos/xapi-project/xenvm/branches{/branch}","tags_url":"https://api.github.com/repos/xapi-project/xenvm/tags","blobs_url":"https://api.github.com/repos/xapi-project/xenvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xapi-project/xenvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xapi-project/xenvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/xapi-project/xenvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xapi-project/xenvm/statuses/{sha}","languages_url":"https://api.github.com/repos/xapi-project/xenvm/languages","stargazers_url":"https://api.github.com/repos/xapi-project/xenvm/stargazers","contributors_url":"https://api.github.com/repos/xapi-project/xenvm/contributors","subscribers_url":"https://api.github.com/repos/xapi-project/xenvm/subscribers","subscription_url":"https://api.github.com/repos/xapi-project/xenvm/subscription","commits_url":"https://api.github.com/repos/xapi-project/xenvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/xapi-project/xenvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/xapi-project/xenvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/xapi-project/xenvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/xapi-project/xenvm/contents/{+path}","compare_url":"https://api.github.com/repos/xapi-project/xenvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xapi-project/xenvm/merges","archive_url":"https://api.github.com/repos/xapi-project/xenvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xapi-project/xenvm/downloads","issues_url":"https://api.github.com/repos/xapi-project/xenvm/issues{/number}","pulls_url":"https://api.github.com/repos/xapi-project/xenvm/pulls{/number}","milestones_url":"https://api.github.com/repos/xapi-project/xenvm/milestones{/number}","notifications_url":"https://api.github.com/repos/xapi-project/xenvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xapi-project/xenvm/labels{/name}","releases_url":"https://api.github.com/repos/xapi-project/xenvm/releases{/id}","created_at":"2015-01-19T11:01:56Z","updated_at":"2015-06-09T17:17:46Z","pushed_at":"2015-09-01T10:57:19Z","git_url":"git://github.com/xapi-project/xenvm.git","ssh_url":"git@github.com:xapi-project/xenvm.git","clone_url":"https://github.com/xapi-project/xenvm.git","svn_url":"https://github.com/xapi-project/xenvm","homepage":"","size":1714,"stargazers_count":1,"watchers_count":1,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":11,"forks":5,"open_issues":11,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xapi-project/xenvm/pulls/148"},"html":{"href":"https://github.com/xapi-project/xenvm/pull/148"},"issue":{"href":"https://api.github.com/repos/xapi-project/xenvm/issues/148"},"comments":{"href":"https://api.github.com/repos/xapi-project/xenvm/issues/148/comments"},"review_comments":{"href":"https://api.github.com/repos/xapi-project/xenvm/pulls/148/comments"},"review_comment":{"href":"https://api.github.com/repos/xapi-project/xenvm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xapi-project/xenvm/pulls/148/commits"},"statuses":{"href":"https://api.github.com/repos/xapi-project/xenvm/statuses/9f6c7a07608c9e8c64a2bb6c7625b944c38181ca"}}}}