{"action":"created","comment":{"url":"https://api.github.com/repos/DataDog/documentation/pulls/comments/192017267","pull_request_review_id":124704593,"id":192017267,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MjAxNzI2Nw==","diff_hunk":"@@ -299,11 +299,11 @@ For example, an offset of 2 would start graphing at the number 3 ranked series,\n \n ### count_nonzero()\n \n-Count all the non-zero values for a given metric\n+For a query grouped by some tag key, count the number of tag values with nonzero metric values at each point. E.g. for `count_nonzero(system.load.1{*} by {host})` return a time series representing the number of hosts with nonzero system load at each point.","path":"content/graphing/miscellaneous/functions.md","position":5,"original_position":5,"commit_id":"14729bc6296943c4eaaf4c07b6fee370facee5f3","original_commit_id":"14729bc6296943c4eaaf4c07b6fee370facee5f3","user":{"login":"phrawzty","id":625232,"node_id":"MDQ6VXNlcjYyNTIzMg==","avatar_url":"https://avatars1.githubusercontent.com/u/625232?v=4","gravatar_id":"","url":"https://api.github.com/users/phrawzty","html_url":"https://github.com/phrawzty","followers_url":"https://api.github.com/users/phrawzty/followers","following_url":"https://api.github.com/users/phrawzty/following{/other_user}","gists_url":"https://api.github.com/users/phrawzty/gists{/gist_id}","starred_url":"https://api.github.com/users/phrawzty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phrawzty/subscriptions","organizations_url":"https://api.github.com/users/phrawzty/orgs","repos_url":"https://api.github.com/users/phrawzty/repos","events_url":"https://api.github.com/users/phrawzty/events{/privacy}","received_events_url":"https://api.github.com/users/phrawzty/received_events","type":"User","site_admin":false},"body":"The word \"some\", when used as a determiner, indicates plurality, therefore the object needs to be plural as well. That said, note that the usage here is zero, one, or more tags, which should be expressed clearly. Consider:\r\n> For a query grouped by one or more tag keys, count the […]","created_at":"2018-05-31T08:01:24Z","updated_at":"2018-05-31T08:01:31Z","html_url":"https://github.com/DataDog/documentation/pull/2570#discussion_r192017267","pull_request_url":"https://api.github.com/repos/DataDog/documentation/pulls/2570","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/DataDog/documentation/pulls/comments/192017267"},"html":{"href":"https://github.com/DataDog/documentation/pull/2570#discussion_r192017267"},"pull_request":{"href":"https://api.github.com/repos/DataDog/documentation/pulls/2570"}}},"pull_request":{"url":"https://api.github.com/repos/DataDog/documentation/pulls/2570","id":191593650,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxNTkzNjUw","html_url":"https://github.com/DataDog/documentation/pull/2570","diff_url":"https://github.com/DataDog/documentation/pull/2570.diff","patch_url":"https://github.com/DataDog/documentation/pull/2570.patch","issue_url":"https://api.github.com/repos/DataDog/documentation/issues/2570","number":2570,"state":"open","locked":false,"title":"Make the description of the count_no* functions more specific","user":{"login":"cmatteri","id":1922831,"node_id":"MDQ6VXNlcjE5MjI4MzE=","avatar_url":"https://avatars3.githubusercontent.com/u/1922831?v=4","gravatar_id":"","url":"https://api.github.com/users/cmatteri","html_url":"https://github.com/cmatteri","followers_url":"https://api.github.com/users/cmatteri/followers","following_url":"https://api.github.com/users/cmatteri/following{/other_user}","gists_url":"https://api.github.com/users/cmatteri/gists{/gist_id}","starred_url":"https://api.github.com/users/cmatteri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmatteri/subscriptions","organizations_url":"https://api.github.com/users/cmatteri/orgs","repos_url":"https://api.github.com/users/cmatteri/repos","events_url":"https://api.github.com/users/cmatteri/events{/privacy}","received_events_url":"https://api.github.com/users/cmatteri/received_events","type":"User","site_admin":false},"body":"### Motivation\r\nThe existing description is not very specific. A more detailed description has been requested. Feel free to make suggestions about the wording. It makes sense to me as it is now, but I'm not the target audience.\r\n\r\n### Preview link\r\nhttps://docs-staging.datadoghq.com/chrism/count-functions/graphing/miscellaneous/functions/#count-nonzero\r\n\r\n### Additional Notes","created_at":"2018-05-30T22:03:43Z","updated_at":"2018-05-31T08:01:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89c42ff7204116a3a326753e354d66359901dad4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":794806364,"node_id":"MDU6TGFiZWw3OTQ4MDYzNjQ=","url":"https://api.github.com/repos/DataDog/documentation/labels/App","name":"App","color":"d4c5f9","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/DataDog/documentation/pulls/2570/commits","review_comments_url":"https://api.github.com/repos/DataDog/documentation/pulls/2570/comments","review_comment_url":"https://api.github.com/repos/DataDog/documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DataDog/documentation/issues/2570/comments","statuses_url":"https://api.github.com/repos/DataDog/documentation/statuses/14729bc6296943c4eaaf4c07b6fee370facee5f3","head":{"label":"DataDog:chrism/count-functions","ref":"chrism/count-functions","sha":"14729bc6296943c4eaaf4c07b6fee370facee5f3","user":{"login":"DataDog","id":365230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NTIzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/365230?v=4","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"repo":{"id":2967233,"node_id":"MDEwOlJlcG9zaXRvcnkyOTY3MjMz","name":"documentation","full_name":"DataDog/documentation","owner":{"login":"DataDog","id":365230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NTIzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/365230?v=4","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DataDog/documentation","description":"The source for Datadog's documentation site.","fork":false,"url":"https://api.github.com/repos/DataDog/documentation","forks_url":"https://api.github.com/repos/DataDog/documentation/forks","keys_url":"https://api.github.com/repos/DataDog/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DataDog/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DataDog/documentation/teams","hooks_url":"https://api.github.com/repos/DataDog/documentation/hooks","issue_events_url":"https://api.github.com/repos/DataDog/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/DataDog/documentation/events","assignees_url":"https://api.github.com/repos/DataDog/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/DataDog/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/DataDog/documentation/tags","blobs_url":"https://api.github.com/repos/DataDog/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DataDog/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DataDog/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/DataDog/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DataDog/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/DataDog/documentation/languages","stargazers_url":"https://api.github.com/repos/DataDog/documentation/stargazers","contributors_url":"https://api.github.com/repos/DataDog/documentation/contributors","subscribers_url":"https://api.github.com/repos/DataDog/documentation/subscribers","subscription_url":"https://api.github.com/repos/DataDog/documentation/subscription","commits_url":"https://api.github.com/repos/DataDog/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/DataDog/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/DataDog/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/DataDog/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/DataDog/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/DataDog/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DataDog/documentation/merges","archive_url":"https://api.github.com/repos/DataDog/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DataDog/documentation/downloads","issues_url":"https://api.github.com/repos/DataDog/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/DataDog/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/DataDog/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/DataDog/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DataDog/documentation/labels{/name}","releases_url":"https://api.github.com/repos/DataDog/documentation/releases{/id}","deployments_url":"https://api.github.com/repos/DataDog/documentation/deployments","created_at":"2011-12-12T20:32:29Z","updated_at":"2018-05-31T07:49:42Z","pushed_at":"2018-05-31T08:00:30Z","git_url":"git://github.com/DataDog/documentation.git","ssh_url":"git@github.com:DataDog/documentation.git","clone_url":"https://github.com/DataDog/documentation.git","svn_url":"https://github.com/DataDog/documentation","homepage":"http://docs.datadoghq.com","size":235279,"stargazers_count":47,"watchers_count":47,"language":"HTML","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":98,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":98,"open_issues":13,"watchers":47,"default_branch":"master"}},"base":{"label":"DataDog:master","ref":"master","sha":"8272066e1f7fe696c01c2d4eeddb8531298dec02","user":{"login":"DataDog","id":365230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NTIzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/365230?v=4","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"repo":{"id":2967233,"node_id":"MDEwOlJlcG9zaXRvcnkyOTY3MjMz","name":"documentation","full_name":"DataDog/documentation","owner":{"login":"DataDog","id":365230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NTIzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/365230?v=4","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DataDog/documentation","description":"The source for Datadog's documentation site.","fork":false,"url":"https://api.github.com/repos/DataDog/documentation","forks_url":"https://api.github.com/repos/DataDog/documentation/forks","keys_url":"https://api.github.com/repos/DataDog/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DataDog/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DataDog/documentation/teams","hooks_url":"https://api.github.com/repos/DataDog/documentation/hooks","issue_events_url":"https://api.github.com/repos/DataDog/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/DataDog/documentation/events","assignees_url":"https://api.github.com/repos/DataDog/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/DataDog/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/DataDog/documentation/tags","blobs_url":"https://api.github.com/repos/DataDog/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DataDog/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DataDog/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/DataDog/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DataDog/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/DataDog/documentation/languages","stargazers_url":"https://api.github.com/repos/DataDog/documentation/stargazers","contributors_url":"https://api.github.com/repos/DataDog/documentation/contributors","subscribers_url":"https://api.github.com/repos/DataDog/documentation/subscribers","subscription_url":"https://api.github.com/repos/DataDog/documentation/subscription","commits_url":"https://api.github.com/repos/DataDog/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/DataDog/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/DataDog/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/DataDog/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/DataDog/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/DataDog/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DataDog/documentation/merges","archive_url":"https://api.github.com/repos/DataDog/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DataDog/documentation/downloads","issues_url":"https://api.github.com/repos/DataDog/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/DataDog/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/DataDog/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/DataDog/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DataDog/documentation/labels{/name}","releases_url":"https://api.github.com/repos/DataDog/documentation/releases{/id}","deployments_url":"https://api.github.com/repos/DataDog/documentation/deployments","created_at":"2011-12-12T20:32:29Z","updated_at":"2018-05-31T07:49:42Z","pushed_at":"2018-05-31T08:00:30Z","git_url":"git://github.com/DataDog/documentation.git","ssh_url":"git@github.com:DataDog/documentation.git","clone_url":"https://github.com/DataDog/documentation.git","svn_url":"https://github.com/DataDog/documentation","homepage":"http://docs.datadoghq.com","size":235279,"stargazers_count":47,"watchers_count":47,"language":"HTML","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":98,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":98,"open_issues":13,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DataDog/documentation/pulls/2570"},"html":{"href":"https://github.com/DataDog/documentation/pull/2570"},"issue":{"href":"https://api.github.com/repos/DataDog/documentation/issues/2570"},"comments":{"href":"https://api.github.com/repos/DataDog/documentation/issues/2570/comments"},"review_comments":{"href":"https://api.github.com/repos/DataDog/documentation/pulls/2570/comments"},"review_comment":{"href":"https://api.github.com/repos/DataDog/documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DataDog/documentation/pulls/2570/commits"},"statuses":{"href":"https://api.github.com/repos/DataDog/documentation/statuses/14729bc6296943c4eaaf4c07b6fee370facee5f3"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"phrawzty"}}