{"action":"created","comment":{"url":"https://api.github.com/repos/gluster/gluster-mixins/pulls/comments/242804412","pull_request_review_id":186403851,"id":242804412,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MjgwNDQxMg==","diff_hunk":"@@ -6,10 +6,16 @@\n         rules: [\n           {\n             expr: |||\n-               sum(max(gluster_subvol_capacity_used_bytes{%(glusterExporterSelector)s}) BY (volume, subvolume)) BY (volume)\n+              sum(max(gluster_subvol_capacity_used_bytes{%(glusterExporterSelector)s}) BY (volume, subvolume)) BY (volume)\n             ||| % $._config,\n             record: 'gluster:volume_capacity_used_bytes_total:sum',\n           },\n+          {\n+            expr: |||\n+              sum(max(gluster_subvol_capacity_total_bytes{%(glusterExporterSelector)s}) BY (volume, subvolume)) BY (volume)\n+            ||| % $._config,\n+            record: 'gluster:volume_capacity_available_bytes_total:sum',","path":"rules/gluster-volume.libsonnet","position":13,"original_position":13,"commit_id":"daf3adae17a34dc4e3ac8d35c1784d6622af8e54","original_commit_id":"daf3adae17a34dc4e3ac8d35c1784d6622af8e54","user":{"login":"umangachapagain","id":10368581,"node_id":"MDQ6VXNlcjEwMzY4NTgx","avatar_url":"https://avatars1.githubusercontent.com/u/10368581?v=4","gravatar_id":"","url":"https://api.github.com/users/umangachapagain","html_url":"https://github.com/umangachapagain","followers_url":"https://api.github.com/users/umangachapagain/followers","following_url":"https://api.github.com/users/umangachapagain/following{/other_user}","gists_url":"https://api.github.com/users/umangachapagain/gists{/gist_id}","starred_url":"https://api.github.com/users/umangachapagain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umangachapagain/subscriptions","organizations_url":"https://api.github.com/users/umangachapagain/orgs","repos_url":"https://api.github.com/users/umangachapagain/repos","events_url":"https://api.github.com/users/umangachapagain/events{/privacy}","received_events_url":"https://api.github.com/users/umangachapagain/received_events","type":"User","site_admin":false},"body":"gluster:volume_capacity_total_bytes:sum","created_at":"2018-12-19T06:39:56Z","updated_at":"2018-12-19T06:40:40Z","html_url":"https://github.com/gluster/gluster-mixins/pull/17#discussion_r242804412","pull_request_url":"https://api.github.com/repos/gluster/gluster-mixins/pulls/17","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/gluster/gluster-mixins/pulls/comments/242804412"},"html":{"href":"https://github.com/gluster/gluster-mixins/pull/17#discussion_r242804412"},"pull_request":{"href":"https://api.github.com/repos/gluster/gluster-mixins/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/gluster/gluster-mixins/pulls/17","id":237266462,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MjY2NDYy","html_url":"https://github.com/gluster/gluster-mixins/pull/17","diff_url":"https://github.com/gluster/gluster-mixins/pull/17.diff","patch_url":"https://github.com/gluster/gluster-mixins/pull/17.patch","issue_url":"https://api.github.com/repos/gluster/gluster-mixins/issues/17","number":17,"state":"open","locked":false,"title":"Added recording rule for total volume capacity","user":{"login":"shtripat","id":6771252,"node_id":"MDQ6VXNlcjY3NzEyNTI=","avatar_url":"https://avatars0.githubusercontent.com/u/6771252?v=4","gravatar_id":"","url":"https://api.github.com/users/shtripat","html_url":"https://github.com/shtripat","followers_url":"https://api.github.com/users/shtripat/followers","following_url":"https://api.github.com/users/shtripat/following{/other_user}","gists_url":"https://api.github.com/users/shtripat/gists{/gist_id}","starred_url":"https://api.github.com/users/shtripat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shtripat/subscriptions","organizations_url":"https://api.github.com/users/shtripat/orgs","repos_url":"https://api.github.com/users/shtripat/repos","events_url":"https://api.github.com/users/shtripat/events{/privacy}","received_events_url":"https://api.github.com/users/shtripat/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Shubhendu <shtripat@redhat.com>","created_at":"2018-12-10T10:22:30Z","updated_at":"2018-12-19T06:40:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1e22a55607fccb0db1987e8b041dc90eca1d955b","assignee":{"login":"shtripat","id":6771252,"node_id":"MDQ6VXNlcjY3NzEyNTI=","avatar_url":"https://avatars0.githubusercontent.com/u/6771252?v=4","gravatar_id":"","url":"https://api.github.com/users/shtripat","html_url":"https://github.com/shtripat","followers_url":"https://api.github.com/users/shtripat/followers","following_url":"https://api.github.com/users/shtripat/following{/other_user}","gists_url":"https://api.github.com/users/shtripat/gists{/gist_id}","starred_url":"https://api.github.com/users/shtripat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shtripat/subscriptions","organizations_url":"https://api.github.com/users/shtripat/orgs","repos_url":"https://api.github.com/users/shtripat/repos","events_url":"https://api.github.com/users/shtripat/events{/privacy}","received_events_url":"https://api.github.com/users/shtripat/received_events","type":"User","site_admin":false},"assignees":[{"login":"shtripat","id":6771252,"node_id":"MDQ6VXNlcjY3NzEyNTI=","avatar_url":"https://avatars0.githubusercontent.com/u/6771252?v=4","gravatar_id":"","url":"https://api.github.com/users/shtripat","html_url":"https://github.com/shtripat","followers_url":"https://api.github.com/users/shtripat/followers","following_url":"https://api.github.com/users/shtripat/following{/other_user}","gists_url":"https://api.github.com/users/shtripat/gists{/gist_id}","starred_url":"https://api.github.com/users/shtripat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shtripat/subscriptions","organizations_url":"https://api.github.com/users/shtripat/orgs","repos_url":"https://api.github.com/users/shtripat/repos","events_url":"https://api.github.com/users/shtripat/events{/privacy}","received_events_url":"https://api.github.com/users/shtripat/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1161003901,"node_id":"MDU6TGFiZWwxMTYxMDAzOTAx","url":"https://api.github.com/repos/gluster/gluster-mixins/labels/in%20progress","name":"in progress","color":"4a3fc6","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/gluster/gluster-mixins/pulls/17/commits","review_comments_url":"https://api.github.com/repos/gluster/gluster-mixins/pulls/17/comments","review_comment_url":"https://api.github.com/repos/gluster/gluster-mixins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gluster/gluster-mixins/issues/17/comments","statuses_url":"https://api.github.com/repos/gluster/gluster-mixins/statuses/daf3adae17a34dc4e3ac8d35c1784d6622af8e54","head":{"label":"shtripat:recording-rule-volume-total-capacity","ref":"recording-rule-volume-total-capacity","sha":"daf3adae17a34dc4e3ac8d35c1784d6622af8e54","user":{"login":"shtripat","id":6771252,"node_id":"MDQ6VXNlcjY3NzEyNTI=","avatar_url":"https://avatars0.githubusercontent.com/u/6771252?v=4","gravatar_id":"","url":"https://api.github.com/users/shtripat","html_url":"https://github.com/shtripat","followers_url":"https://api.github.com/users/shtripat/followers","following_url":"https://api.github.com/users/shtripat/following{/other_user}","gists_url":"https://api.github.com/users/shtripat/gists{/gist_id}","starred_url":"https://api.github.com/users/shtripat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shtripat/subscriptions","organizations_url":"https://api.github.com/users/shtripat/orgs","repos_url":"https://api.github.com/users/shtripat/repos","events_url":"https://api.github.com/users/shtripat/events{/privacy}","received_events_url":"https://api.github.com/users/shtripat/received_events","type":"User","site_admin":false},"repo":{"id":161126279,"node_id":"MDEwOlJlcG9zaXRvcnkxNjExMjYyNzk=","name":"gluster-mixins","full_name":"shtripat/gluster-mixins","private":false,"owner":{"login":"shtripat","id":6771252,"node_id":"MDQ6VXNlcjY3NzEyNTI=","avatar_url":"https://avatars0.githubusercontent.com/u/6771252?v=4","gravatar_id":"","url":"https://api.github.com/users/shtripat","html_url":"https://github.com/shtripat","followers_url":"https://api.github.com/users/shtripat/followers","following_url":"https://api.github.com/users/shtripat/following{/other_user}","gists_url":"https://api.github.com/users/shtripat/gists{/gist_id}","starred_url":"https://api.github.com/users/shtripat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shtripat/subscriptions","organizations_url":"https://api.github.com/users/shtripat/orgs","repos_url":"https://api.github.com/users/shtripat/repos","events_url":"https://api.github.com/users/shtripat/events{/privacy}","received_events_url":"https://api.github.com/users/shtripat/received_events","type":"User","site_admin":false},"html_url":"https://github.com/shtripat/gluster-mixins","description":null,"fork":true,"url":"https://api.github.com/repos/shtripat/gluster-mixins","forks_url":"https://api.github.com/repos/shtripat/gluster-mixins/forks","keys_url":"https://api.github.com/repos/shtripat/gluster-mixins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shtripat/gluster-mixins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shtripat/gluster-mixins/teams","hooks_url":"https://api.github.com/repos/shtripat/gluster-mixins/hooks","issue_events_url":"https://api.github.com/repos/shtripat/gluster-mixins/issues/events{/number}","events_url":"https://api.github.com/repos/shtripat/gluster-mixins/events","assignees_url":"https://api.github.com/repos/shtripat/gluster-mixins/assignees{/user}","branches_url":"https://api.github.com/repos/shtripat/gluster-mixins/branches{/branch}","tags_url":"https://api.github.com/repos/shtripat/gluster-mixins/tags","blobs_url":"https://api.github.com/repos/shtripat/gluster-mixins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shtripat/gluster-mixins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shtripat/gluster-mixins/git/refs{/sha}","trees_url":"https://api.github.com/repos/shtripat/gluster-mixins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shtripat/gluster-mixins/statuses/{sha}","languages_url":"https://api.github.com/repos/shtripat/gluster-mixins/languages","stargazers_url":"https://api.github.com/repos/shtripat/gluster-mixins/stargazers","contributors_url":"https://api.github.com/repos/shtripat/gluster-mixins/contributors","subscribers_url":"https://api.github.com/repos/shtripat/gluster-mixins/subscribers","subscription_url":"https://api.github.com/repos/shtripat/gluster-mixins/subscription","commits_url":"https://api.github.com/repos/shtripat/gluster-mixins/commits{/sha}","git_commits_url":"https://api.github.com/repos/shtripat/gluster-mixins/git/commits{/sha}","comments_url":"https://api.github.com/repos/shtripat/gluster-mixins/comments{/number}","issue_comment_url":"https://api.github.com/repos/shtripat/gluster-mixins/issues/comments{/number}","contents_url":"https://api.github.com/repos/shtripat/gluster-mixins/contents/{+path}","compare_url":"https://api.github.com/repos/shtripat/gluster-mixins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shtripat/gluster-mixins/merges","archive_url":"https://api.github.com/repos/shtripat/gluster-mixins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shtripat/gluster-mixins/downloads","issues_url":"https://api.github.com/repos/shtripat/gluster-mixins/issues{/number}","pulls_url":"https://api.github.com/repos/shtripat/gluster-mixins/pulls{/number}","milestones_url":"https://api.github.com/repos/shtripat/gluster-mixins/milestones{/number}","notifications_url":"https://api.github.com/repos/shtripat/gluster-mixins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shtripat/gluster-mixins/labels{/name}","releases_url":"https://api.github.com/repos/shtripat/gluster-mixins/releases{/id}","deployments_url":"https://api.github.com/repos/shtripat/gluster-mixins/deployments","created_at":"2018-12-10T06:14:50Z","updated_at":"2018-12-10T06:14:52Z","pushed_at":"2018-12-19T06:31:12Z","git_url":"git://github.com/shtripat/gluster-mixins.git","ssh_url":"git@github.com:shtripat/gluster-mixins.git","clone_url":"https://github.com/shtripat/gluster-mixins.git","svn_url":"https://github.com/shtripat/gluster-mixins","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":null,"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":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1","node_id":"MDc6TGljZW5zZTEx"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gluster:master","ref":"master","sha":"96e13e63916babb9399428572089932b48714cf8","user":{"login":"gluster","id":622644,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMjY0NA==","avatar_url":"https://avatars3.githubusercontent.com/u/622644?v=4","gravatar_id":"","url":"https://api.github.com/users/gluster","html_url":"https://github.com/gluster","followers_url":"https://api.github.com/users/gluster/followers","following_url":"https://api.github.com/users/gluster/following{/other_user}","gists_url":"https://api.github.com/users/gluster/gists{/gist_id}","starred_url":"https://api.github.com/users/gluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gluster/subscriptions","organizations_url":"https://api.github.com/users/gluster/orgs","repos_url":"https://api.github.com/users/gluster/repos","events_url":"https://api.github.com/users/gluster/events{/privacy}","received_events_url":"https://api.github.com/users/gluster/received_events","type":"Organization","site_admin":false},"repo":{"id":159487556,"node_id":"MDEwOlJlcG9zaXRvcnkxNTk0ODc1NTY=","name":"gluster-mixins","full_name":"gluster/gluster-mixins","private":false,"owner":{"login":"gluster","id":622644,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMjY0NA==","avatar_url":"https://avatars3.githubusercontent.com/u/622644?v=4","gravatar_id":"","url":"https://api.github.com/users/gluster","html_url":"https://github.com/gluster","followers_url":"https://api.github.com/users/gluster/followers","following_url":"https://api.github.com/users/gluster/following{/other_user}","gists_url":"https://api.github.com/users/gluster/gists{/gist_id}","starred_url":"https://api.github.com/users/gluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gluster/subscriptions","organizations_url":"https://api.github.com/users/gluster/orgs","repos_url":"https://api.github.com/users/gluster/repos","events_url":"https://api.github.com/users/gluster/events{/privacy}","received_events_url":"https://api.github.com/users/gluster/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/gluster/gluster-mixins","description":"A set of Grafana dashboards and Prometheus alerts for Gluster.","fork":false,"url":"https://api.github.com/repos/gluster/gluster-mixins","forks_url":"https://api.github.com/repos/gluster/gluster-mixins/forks","keys_url":"https://api.github.com/repos/gluster/gluster-mixins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gluster/gluster-mixins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gluster/gluster-mixins/teams","hooks_url":"https://api.github.com/repos/gluster/gluster-mixins/hooks","issue_events_url":"https://api.github.com/repos/gluster/gluster-mixins/issues/events{/number}","events_url":"https://api.github.com/repos/gluster/gluster-mixins/events","assignees_url":"https://api.github.com/repos/gluster/gluster-mixins/assignees{/user}","branches_url":"https://api.github.com/repos/gluster/gluster-mixins/branches{/branch}","tags_url":"https://api.github.com/repos/gluster/gluster-mixins/tags","blobs_url":"https://api.github.com/repos/gluster/gluster-mixins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gluster/gluster-mixins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gluster/gluster-mixins/git/refs{/sha}","trees_url":"https://api.github.com/repos/gluster/gluster-mixins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gluster/gluster-mixins/statuses/{sha}","languages_url":"https://api.github.com/repos/gluster/gluster-mixins/languages","stargazers_url":"https://api.github.com/repos/gluster/gluster-mixins/stargazers","contributors_url":"https://api.github.com/repos/gluster/gluster-mixins/contributors","subscribers_url":"https://api.github.com/repos/gluster/gluster-mixins/subscribers","subscription_url":"https://api.github.com/repos/gluster/gluster-mixins/subscription","commits_url":"https://api.github.com/repos/gluster/gluster-mixins/commits{/sha}","git_commits_url":"https://api.github.com/repos/gluster/gluster-mixins/git/commits{/sha}","comments_url":"https://api.github.com/repos/gluster/gluster-mixins/comments{/number}","issue_comment_url":"https://api.github.com/repos/gluster/gluster-mixins/issues/comments{/number}","contents_url":"https://api.github.com/repos/gluster/gluster-mixins/contents/{+path}","compare_url":"https://api.github.com/repos/gluster/gluster-mixins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gluster/gluster-mixins/merges","archive_url":"https://api.github.com/repos/gluster/gluster-mixins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gluster/gluster-mixins/downloads","issues_url":"https://api.github.com/repos/gluster/gluster-mixins/issues{/number}","pulls_url":"https://api.github.com/repos/gluster/gluster-mixins/pulls{/number}","milestones_url":"https://api.github.com/repos/gluster/gluster-mixins/milestones{/number}","notifications_url":"https://api.github.com/repos/gluster/gluster-mixins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gluster/gluster-mixins/labels{/name}","releases_url":"https://api.github.com/repos/gluster/gluster-mixins/releases{/id}","deployments_url":"https://api.github.com/repos/gluster/gluster-mixins/deployments","created_at":"2018-11-28T10:55:50Z","updated_at":"2018-12-17T14:00:53Z","pushed_at":"2018-12-19T06:31:13Z","git_url":"git://github.com/gluster/gluster-mixins.git","ssh_url":"git@github.com:gluster/gluster-mixins.git","clone_url":"https://github.com/gluster/gluster-mixins.git","svn_url":"https://github.com/gluster/gluster-mixins","homepage":"","size":18,"stargazers_count":1,"watchers_count":1,"language":"Makefile","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":16,"license":{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1","node_id":"MDc6TGljZW5zZTEx"},"forks":4,"open_issues":16,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gluster/gluster-mixins/pulls/17"},"html":{"href":"https://github.com/gluster/gluster-mixins/pull/17"},"issue":{"href":"https://api.github.com/repos/gluster/gluster-mixins/issues/17"},"comments":{"href":"https://api.github.com/repos/gluster/gluster-mixins/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/gluster/gluster-mixins/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/gluster/gluster-mixins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gluster/gluster-mixins/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/gluster/gluster-mixins/statuses/daf3adae17a34dc4e3ac8d35c1784d6622af8e54"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"umangachapagain"}}