GitHub user liu-zhaokun opened a pull request: https://github.com/apache/storm/pull/2037
[STORM-2363] Provide configuration to set the number of RollingWindow [https://issues.apache.org/jira/browse/STORM-2363?filter=-2](url) Users can set the number of RollingWindow which applied to storm's metric conveniently and dynamically by modifying default.yaml or storm.yaml.So they can adjust the accuracy of statistics.By passing that value from caller of CommonStats, we avoid reading storm config file again and again which looks redundant, and even doing it for constant doesn't look good. You can merge this pull request into a Git repository by running: $ git pull https://github.com/liu-zhaokun/storm master_numbuckets Alternatively you can review and apply these changes as the patch at: https://github.com/apache/storm/pull/2037.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2037 ---- commit 27d0e90da5ca7fbaf0c2a6169ac17aca44282354 Author: liuzhaokun <liu.zhao...@zte.com.cn> Date: 2017-04-01T00:56:21Z [STORM-2363] Provide configuration to set the number of RollingWindow ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---