[ 
https://issues.apache.org/jira/browse/STORM-3186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16936246#comment-16936246
 ] 

Rishabh Jain commented on STORM-3186:
-------------------------------------

[~Srdo] My approach is to create a new property in Config.java for reporting 
interval time and create a class-level variable in reporter classes which I 
will set it in prepare method and use in the start method. Let me know if this 
approach seems okay.

> Customizable configuration for metric reporting interval
> --------------------------------------------------------
>
>                 Key: STORM-3186
>                 URL: https://issues.apache.org/jira/browse/STORM-3186
>             Project: Apache Storm
>          Issue Type: Improvement
>          Components: storm-server, storm-webapp
>    Affects Versions: 2.0.0
>            Reporter: Zhengdai Hu
>            Assignee: Rishabh Jain
>            Priority: Major
>              Labels: newbie
>
> In current implementation, all subclass of ScheduledReporter are hard coded 
> report interval of 10 seconds. However I think it would make sense to make 
> this an item in configuration so user can change the reporting frequency to 
> fit their needs.
> See discussion https://github.com/apache/storm/pull/2764#discussion_r203726617



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to