{"action":"created","issue":{"url":"https://api.github.com/repos/sensu/sensu/issues/1218","repository_url":"https://api.github.com/repos/sensu/sensu","labels_url":"https://api.github.com/repos/sensu/sensu/issues/1218/labels{/name}","comments_url":"https://api.github.com/repos/sensu/sensu/issues/1218/comments","events_url":"https://api.github.com/repos/sensu/sensu/issues/1218/events","html_url":"https://github.com/sensu/sensu/issues/1218","id":147142409,"number":1218,"title":"DISCUSS: Aggregates 2.0 (including support for standalone check aggregates)!","user":{"login":"calebhailey","id":141373,"avatar_url":"https://avatars.githubusercontent.com/u/141373?v=3","gravatar_id":"","url":"https://api.github.com/users/calebhailey","html_url":"https://github.com/calebhailey","followers_url":"https://api.github.com/users/calebhailey/followers","following_url":"https://api.github.com/users/calebhailey/following{/other_user}","gists_url":"https://api.github.com/users/calebhailey/gists{/gist_id}","starred_url":"https://api.github.com/users/calebhailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebhailey/subscriptions","organizations_url":"https://api.github.com/users/calebhailey/orgs","repos_url":"https://api.github.com/users/calebhailey/repos","events_url":"https://api.github.com/users/calebhailey/events{/privacy}","received_events_url":"https://api.github.com/users/calebhailey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sensu/sensu/labels/Feature","name":"Feature","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/sensu/sensu/milestones/1","html_url":"https://github.com/sensu/sensu/milestones/0.24","labels_url":"https://api.github.com/repos/sensu/sensu/milestones/1/labels","id":1688265,"number":1,"title":"0.24","description":"","creator":{"login":"calebhailey","id":141373,"avatar_url":"https://avatars.githubusercontent.com/u/141373?v=3","gravatar_id":"","url":"https://api.github.com/users/calebhailey","html_url":"https://github.com/calebhailey","followers_url":"https://api.github.com/users/calebhailey/followers","following_url":"https://api.github.com/users/calebhailey/following{/other_user}","gists_url":"https://api.github.com/users/calebhailey/gists{/gist_id}","starred_url":"https://api.github.com/users/calebhailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebhailey/subscriptions","organizations_url":"https://api.github.com/users/calebhailey/orgs","repos_url":"https://api.github.com/users/calebhailey/repos","events_url":"https://api.github.com/users/calebhailey/events{/privacy}","received_events_url":"https://api.github.com/users/calebhailey/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":4,"state":"open","created_at":"2016-04-06T21:08:40Z","updated_at":"2016-04-26T18:21:05Z","due_on":"2016-05-10T07:00:00Z","closed_at":null},"comments":6,"created_at":"2016-04-09T16:17:00Z","updated_at":"2016-04-26T19:24:09Z","closed_at":null,"body":"This is a meta issue, er, _aggregating_ all outstanding issues & PRs related to **Sensu aggregates** into a single location for discussion and eventual implementation. If you are aware of a related issue or PR &ndash; open or closed &ndash; please comment on this issue with a link, so we can take every scenario into consideration before designing Aggregates 2.0. \r\n\r\nRelated issues: \r\n\r\n- https://github.com/sensu/sensu/issues/766\r\n- https://github.com/sensu/sensu/issues/803 \r\n- https://github.com/sensu/sensu/pull/915\r\n- https://github.com/sensu/sensu/issues/1041\r\n- https://github.com/sensu/sensu/issues/1187\r\n\r\nWe'll update this ticket as we begin planning aggregate improvements, so please stay tuned for updates &ndash; your feedback is important! #monitoringlove \r\n"},"comment":{"url":"https://api.github.com/repos/sensu/sensu/issues/comments/214858187","html_url":"https://github.com/sensu/sensu/issues/1218#issuecomment-214858187","issue_url":"https://api.github.com/repos/sensu/sensu/issues/1218","id":214858187,"user":{"login":"calebhailey","id":141373,"avatar_url":"https://avatars.githubusercontent.com/u/141373?v=3","gravatar_id":"","url":"https://api.github.com/users/calebhailey","html_url":"https://github.com/calebhailey","followers_url":"https://api.github.com/users/calebhailey/followers","following_url":"https://api.github.com/users/calebhailey/following{/other_user}","gists_url":"https://api.github.com/users/calebhailey/gists{/gist_id}","starred_url":"https://api.github.com/users/calebhailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebhailey/subscriptions","organizations_url":"https://api.github.com/users/calebhailey/orgs","repos_url":"https://api.github.com/users/calebhailey/repos","events_url":"https://api.github.com/users/calebhailey/events{/privacy}","received_events_url":"https://api.github.com/users/calebhailey/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T19:24:09Z","updated_at":"2016-04-26T19:24:09Z","body":"@keymone hmm, that is an interesting point. What level of detail would be necessary for \"stale result detection\"? I would think you would want multiple counters for that too; e.g.: \r\n\r\n```\r\n$ curl -s http://hostname:4567/aggregates/my_aggregate?max_age=xxx\r\n{\r\n  \"clients\": 15,\r\n  \"checks\": 2,\r\n  \"status\": {\r\n    \"ok\": 18,\r\n    \"warning\": 0,\r\n    \"critical\": 1,\r\n    \"unknown\": 0,\r\n    \"total\": 19\r\n  },\r\n  \"stale\": {\r\n    \"clients\": 2,\r\n    \"checks\": 4\r\n  }\r\n}\r\n```\r\n\r\nWhat should stale counters represent? Should they be a subset of clients included in the aggregate `clients` counter, or a separate count (e.g. should the above example mean 2/15 clients are stale, or 2/17 clients are stale)? "}}