{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/1364","repository_url":"https://api.github.com/repos/influxdata/telegraf","labels_url":"https://api.github.com/repos/influxdata/telegraf/issues/1364/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/telegraf/issues/1364/comments","events_url":"https://api.github.com/repos/influxdata/telegraf/issues/1364/events","html_url":"https://github.com/influxdata/telegraf/pull/1364","id":159760953,"number":1364,"title":"Add Histogram support aggregation","user":{"login":"alimousazy","id":3162446,"avatar_url":"https://avatars.githubusercontent.com/u/3162446?v=3","gravatar_id":"","url":"https://api.github.com/users/alimousazy","html_url":"https://github.com/alimousazy","followers_url":"https://api.github.com/users/alimousazy/followers","following_url":"https://api.github.com/users/alimousazy/following{/other_user}","gists_url":"https://api.github.com/users/alimousazy/gists{/gist_id}","starred_url":"https://api.github.com/users/alimousazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alimousazy/subscriptions","organizations_url":"https://api.github.com/users/alimousazy/orgs","repos_url":"https://api.github.com/users/alimousazy/repos","events_url":"https://api.github.com/users/alimousazy/events{/privacy}","received_events_url":"https://api.github.com/users/alimousazy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-06-11T07:31:55Z","updated_at":"2016-07-16T21:30:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/influxdata/telegraf/pulls/1364","html_url":"https://github.com/influxdata/telegraf/pull/1364","diff_url":"https://github.com/influxdata/telegraf/pull/1364.diff","patch_url":"https://github.com/influxdata/telegraf/pull/1364.patch"},"body":"### Required for all PRs:\r\n\r\n- [ ] CHANGELOG.md updated\r\n- [x] Sign [CLA](https://influxdata.com/community/cla/) (if not already signed)\r\n- [ ] README.md updated (if adding a new plugin)\r\n\r\nAdding Histogram (aggregation) support. User can list down metric for aggregation, supported methods\r\n1- Percentile 90 80 ... 20 etc.\r\n2- Count.\r\n3- Mean.\r\n4- Variance.\r\n\r\nMethod used to calculate these values has a very low memory print and specially designed for streaming data. More information can be found  here  http://jmlr.org/papers/volume11/ben-haim10a/ben-haim10a.pdf and here  https://www.vividcortex.com/blog/2013/07/08/streaming-approximate-histograms/.\r\n\r\nNote: This method of  Streaming Approximate Histograms  result  quantile approximations there for it may not lead for exact values. User can optimize accuracy by increase bucket size.\r\n\r\nI'm thinking about introducing  middleware plugins which process data between inputs and output this will make the agent code clean and allow user to provide additional processing to the pipeline, If you agree on this I will move the code and put it inside a folder called middleware. Creating interface for middle ware to add and retrieve metrics using channels "},"comment":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/comments/233152047","html_url":"https://github.com/influxdata/telegraf/pull/1364#issuecomment-233152047","issue_url":"https://api.github.com/repos/influxdata/telegraf/issues/1364","id":233152047,"user":{"login":"alimousazy","id":3162446,"avatar_url":"https://avatars.githubusercontent.com/u/3162446?v=3","gravatar_id":"","url":"https://api.github.com/users/alimousazy","html_url":"https://github.com/alimousazy","followers_url":"https://api.github.com/users/alimousazy/followers","following_url":"https://api.github.com/users/alimousazy/following{/other_user}","gists_url":"https://api.github.com/users/alimousazy/gists{/gist_id}","starred_url":"https://api.github.com/users/alimousazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alimousazy/subscriptions","organizations_url":"https://api.github.com/users/alimousazy/orgs","repos_url":"https://api.github.com/users/alimousazy/repos","events_url":"https://api.github.com/users/alimousazy/events{/privacy}","received_events_url":"https://api.github.com/users/alimousazy/received_events","type":"User","site_admin":false},"created_at":"2016-07-16T21:30:43Z","updated_at":"2016-07-16T21:30:43Z","body":"I have to add command line option to generate default filters (Disabled) when generating configuration file ) please let me know what command line option you prefer for such operation ?"}}
{"actor":{"display_login":"alimousazy"}}