{"action":"created","comment":{"url":"https://api.github.com/repos/prometheus/docs/pulls/comments/53550419","id":53550419,"diff_hunk":"@@ -175,15 +175,16 @@ vector of fewer elements with aggregated values:\n * `count` (count number of elements in the vector)\n \n These operators can either be used to aggregate over **all** label dimensions\n-or preserve distinct dimensions by including a `by`-clause.\n+or preserve distinct dimensions by including a `without` or `by` clause.\n \n-    <aggr-op>(<vector expression>) [by (<label list>)] [keep_common]\n+    <aggr-op>(<vector expression>) [without|by (<label list>)] [keep_common]\n \n-By default, labels that are not listed in the `by` clause will be dropped from\n-the result vector, even if their label values are identical between all\n-elements of the vector. The `keep_common` clause allows to keep those extra\n-labels (labels that are identical between elements, but not in the `by`\n-clause).\n+`without` removes the listed labels from the result vector, all other","path":"content/docs/querying/operators.md","position":15,"original_position":15,"commit_id":"6147f8f1aae06e2477837c441ce27954667ce468","original_commit_id":"6147f8f1aae06e2477837c441ce27954667ce468","user":{"login":"juliusv","id":538008,"avatar_url":"https://avatars.githubusercontent.com/u/538008?v=3","gravatar_id":"","url":"https://api.github.com/users/juliusv","html_url":"https://github.com/juliusv","followers_url":"https://api.github.com/users/juliusv/followers","following_url":"https://api.github.com/users/juliusv/following{/other_user}","gists_url":"https://api.github.com/users/juliusv/gists{/gist_id}","starred_url":"https://api.github.com/users/juliusv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliusv/subscriptions","organizations_url":"https://api.github.com/users/juliusv/orgs","repos_url":"https://api.github.com/users/juliusv/repos","events_url":"https://api.github.com/users/juliusv/events{/privacy}","received_events_url":"https://api.github.com/users/juliusv/received_events","type":"User","site_admin":false},"body":"s/all/while all/ (run-on sentence otherwise)","created_at":"2016-02-20T13:32:35Z","updated_at":"2016-02-20T13:32:35Z","html_url":"https://github.com/prometheus/docs/pull/328#discussion_r53550419","pull_request_url":"https://api.github.com/repos/prometheus/docs/pulls/328","_links":{"self":{"href":"https://api.github.com/repos/prometheus/docs/pulls/comments/53550419"},"html":{"href":"https://github.com/prometheus/docs/pull/328#discussion_r53550419"},"pull_request":{"href":"https://api.github.com/repos/prometheus/docs/pulls/328"}}},"pull_request":{"url":"https://api.github.com/repos/prometheus/docs/pulls/328","id":60048148,"html_url":"https://github.com/prometheus/docs/pull/328","diff_url":"https://github.com/prometheus/docs/pull/328.diff","patch_url":"https://github.com/prometheus/docs/pull/328.patch","issue_url":"https://api.github.com/repos/prometheus/docs/issues/328","number":328,"state":"open","locked":false,"title":"Document without aggregation modifier","user":{"login":"brian-brazil","id":7115638,"avatar_url":"https://avatars.githubusercontent.com/u/7115638?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-brazil","html_url":"https://github.com/brian-brazil","followers_url":"https://api.github.com/users/brian-brazil/followers","following_url":"https://api.github.com/users/brian-brazil/following{/other_user}","gists_url":"https://api.github.com/users/brian-brazil/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-brazil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-brazil/subscriptions","organizations_url":"https://api.github.com/users/brian-brazil/orgs","repos_url":"https://api.github.com/users/brian-brazil/repos","events_url":"https://api.github.com/users/brian-brazil/events{/privacy}","received_events_url":"https://api.github.com/users/brian-brazil/received_events","type":"User","site_admin":false},"body":"Without should be used by ~everyone as it doesn't drop job-level labels (e.g. env, region or datacenter) when aggregating so list it first.","created_at":"2016-02-20T13:29:53Z","updated_at":"2016-02-20T13:32:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6abcb4710111a3f8a76fdb5aff0ea128faaba29b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/prometheus/docs/pulls/328/commits","review_comments_url":"https://api.github.com/repos/prometheus/docs/pulls/328/comments","review_comment_url":"https://api.github.com/repos/prometheus/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prometheus/docs/issues/328/comments","statuses_url":"https://api.github.com/repos/prometheus/docs/statuses/6147f8f1aae06e2477837c441ce27954667ce468","head":{"label":"brian-brazil:without","ref":"without","sha":"6147f8f1aae06e2477837c441ce27954667ce468","user":{"login":"brian-brazil","id":7115638,"avatar_url":"https://avatars.githubusercontent.com/u/7115638?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-brazil","html_url":"https://github.com/brian-brazil","followers_url":"https://api.github.com/users/brian-brazil/followers","following_url":"https://api.github.com/users/brian-brazil/following{/other_user}","gists_url":"https://api.github.com/users/brian-brazil/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-brazil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-brazil/subscriptions","organizations_url":"https://api.github.com/users/brian-brazil/orgs","repos_url":"https://api.github.com/users/brian-brazil/repos","events_url":"https://api.github.com/users/brian-brazil/events{/privacy}","received_events_url":"https://api.github.com/users/brian-brazil/received_events","type":"User","site_admin":false},"repo":{"id":28494454,"name":"docs","full_name":"brian-brazil/docs","owner":{"login":"brian-brazil","id":7115638,"avatar_url":"https://avatars.githubusercontent.com/u/7115638?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-brazil","html_url":"https://github.com/brian-brazil","followers_url":"https://api.github.com/users/brian-brazil/followers","following_url":"https://api.github.com/users/brian-brazil/following{/other_user}","gists_url":"https://api.github.com/users/brian-brazil/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-brazil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-brazil/subscriptions","organizations_url":"https://api.github.com/users/brian-brazil/orgs","repos_url":"https://api.github.com/users/brian-brazil/repos","events_url":"https://api.github.com/users/brian-brazil/events{/privacy}","received_events_url":"https://api.github.com/users/brian-brazil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brian-brazil/docs","description":"Prometheus documentation: content and static site generator","fork":true,"url":"https://api.github.com/repos/brian-brazil/docs","forks_url":"https://api.github.com/repos/brian-brazil/docs/forks","keys_url":"https://api.github.com/repos/brian-brazil/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brian-brazil/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brian-brazil/docs/teams","hooks_url":"https://api.github.com/repos/brian-brazil/docs/hooks","issue_events_url":"https://api.github.com/repos/brian-brazil/docs/issues/events{/number}","events_url":"https://api.github.com/repos/brian-brazil/docs/events","assignees_url":"https://api.github.com/repos/brian-brazil/docs/assignees{/user}","branches_url":"https://api.github.com/repos/brian-brazil/docs/branches{/branch}","tags_url":"https://api.github.com/repos/brian-brazil/docs/tags","blobs_url":"https://api.github.com/repos/brian-brazil/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brian-brazil/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brian-brazil/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/brian-brazil/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brian-brazil/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/brian-brazil/docs/languages","stargazers_url":"https://api.github.com/repos/brian-brazil/docs/stargazers","contributors_url":"https://api.github.com/repos/brian-brazil/docs/contributors","subscribers_url":"https://api.github.com/repos/brian-brazil/docs/subscribers","subscription_url":"https://api.github.com/repos/brian-brazil/docs/subscription","commits_url":"https://api.github.com/repos/brian-brazil/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/brian-brazil/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/brian-brazil/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/brian-brazil/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/brian-brazil/docs/contents/{+path}","compare_url":"https://api.github.com/repos/brian-brazil/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brian-brazil/docs/merges","archive_url":"https://api.github.com/repos/brian-brazil/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brian-brazil/docs/downloads","issues_url":"https://api.github.com/repos/brian-brazil/docs/issues{/number}","pulls_url":"https://api.github.com/repos/brian-brazil/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/brian-brazil/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/brian-brazil/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brian-brazil/docs/labels{/name}","releases_url":"https://api.github.com/repos/brian-brazil/docs/releases{/id}","deployments_url":"https://api.github.com/repos/brian-brazil/docs/deployments","created_at":"2014-12-26T00:18:22Z","updated_at":"2015-01-02T10:46:22Z","pushed_at":"2016-02-20T13:28:13Z","git_url":"git://github.com/brian-brazil/docs.git","ssh_url":"git@github.com:brian-brazil/docs.git","clone_url":"https://github.com/brian-brazil/docs.git","svn_url":"https://github.com/brian-brazil/docs","homepage":null,"size":2369,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":"prometheus:next-release","ref":"next-release","sha":"1733b1bffd914483ce198adb31554b5aecc95544","user":{"login":"prometheus","id":3380462,"avatar_url":"https://avatars.githubusercontent.com/u/3380462?v=3","gravatar_id":"","url":"https://api.github.com/users/prometheus","html_url":"https://github.com/prometheus","followers_url":"https://api.github.com/users/prometheus/followers","following_url":"https://api.github.com/users/prometheus/following{/other_user}","gists_url":"https://api.github.com/users/prometheus/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheus/subscriptions","organizations_url":"https://api.github.com/users/prometheus/orgs","repos_url":"https://api.github.com/users/prometheus/repos","events_url":"https://api.github.com/users/prometheus/events{/privacy}","received_events_url":"https://api.github.com/users/prometheus/received_events","type":"Organization","site_admin":false},"repo":{"id":28233924,"name":"docs","full_name":"prometheus/docs","owner":{"login":"prometheus","id":3380462,"avatar_url":"https://avatars.githubusercontent.com/u/3380462?v=3","gravatar_id":"","url":"https://api.github.com/users/prometheus","html_url":"https://github.com/prometheus","followers_url":"https://api.github.com/users/prometheus/followers","following_url":"https://api.github.com/users/prometheus/following{/other_user}","gists_url":"https://api.github.com/users/prometheus/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheus/subscriptions","organizations_url":"https://api.github.com/users/prometheus/orgs","repos_url":"https://api.github.com/users/prometheus/repos","events_url":"https://api.github.com/users/prometheus/events{/privacy}","received_events_url":"https://api.github.com/users/prometheus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prometheus/docs","description":"Prometheus documentation: content and static site generator","fork":false,"url":"https://api.github.com/repos/prometheus/docs","forks_url":"https://api.github.com/repos/prometheus/docs/forks","keys_url":"https://api.github.com/repos/prometheus/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prometheus/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prometheus/docs/teams","hooks_url":"https://api.github.com/repos/prometheus/docs/hooks","issue_events_url":"https://api.github.com/repos/prometheus/docs/issues/events{/number}","events_url":"https://api.github.com/repos/prometheus/docs/events","assignees_url":"https://api.github.com/repos/prometheus/docs/assignees{/user}","branches_url":"https://api.github.com/repos/prometheus/docs/branches{/branch}","tags_url":"https://api.github.com/repos/prometheus/docs/tags","blobs_url":"https://api.github.com/repos/prometheus/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prometheus/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prometheus/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/prometheus/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prometheus/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/prometheus/docs/languages","stargazers_url":"https://api.github.com/repos/prometheus/docs/stargazers","contributors_url":"https://api.github.com/repos/prometheus/docs/contributors","subscribers_url":"https://api.github.com/repos/prometheus/docs/subscribers","subscription_url":"https://api.github.com/repos/prometheus/docs/subscription","commits_url":"https://api.github.com/repos/prometheus/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/prometheus/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/prometheus/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/prometheus/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/prometheus/docs/contents/{+path}","compare_url":"https://api.github.com/repos/prometheus/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prometheus/docs/merges","archive_url":"https://api.github.com/repos/prometheus/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prometheus/docs/downloads","issues_url":"https://api.github.com/repos/prometheus/docs/issues{/number}","pulls_url":"https://api.github.com/repos/prometheus/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/prometheus/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/prometheus/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prometheus/docs/labels{/name}","releases_url":"https://api.github.com/repos/prometheus/docs/releases{/id}","deployments_url":"https://api.github.com/repos/prometheus/docs/deployments","created_at":"2014-12-19T15:06:35Z","updated_at":"2016-01-28T03:48:49Z","pushed_at":"2016-02-20T13:29:54Z","git_url":"git://github.com/prometheus/docs.git","ssh_url":"git@github.com:prometheus/docs.git","clone_url":"https://github.com/prometheus/docs.git","svn_url":"https://github.com/prometheus/docs","homepage":"https://prometheus.io","size":3549,"stargazers_count":9,"watchers_count":9,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":19,"forks":45,"open_issues":19,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prometheus/docs/pulls/328"},"html":{"href":"https://github.com/prometheus/docs/pull/328"},"issue":{"href":"https://api.github.com/repos/prometheus/docs/issues/328"},"comments":{"href":"https://api.github.com/repos/prometheus/docs/issues/328/comments"},"review_comments":{"href":"https://api.github.com/repos/prometheus/docs/pulls/328/comments"},"review_comment":{"href":"https://api.github.com/repos/prometheus/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prometheus/docs/pulls/328/commits"},"statuses":{"href":"https://api.github.com/repos/prometheus/docs/statuses/6147f8f1aae06e2477837c441ce27954667ce468"}}}}