That setting was set to 60 seconds. Metrics do get logged but the timings
are totally inconsistent. I am noting the same behavior for builtin metrics
too. Observed time interval between metric logs is not constant and differs
from what is specified in configuration.

On Wed, Aug 5, 2015 at 8:12 PM, Hong Jeon <[email protected]> wrote:

> What is the setting of your "topology.builtin.metrics.bucket.secs" in your
> storm.yaml?
> You can also set this value programatically through the Config object.
> Basically, all of the registered metrics in your topology will be reported
> to your metrics consumer every bucket seconds you specify.
>
> Maybe you are only seeing the CountMetrics get written to the log every so
> often, while your debug happens more frequently?
>
> On Wed, Aug 5, 2015 at 7:04 AM, Abhishek Agarwal <[email protected]>
> wrote:
>
>> Hi,
>> I have created few CountMetrics in my bolt which I initialize and
>> register in the prepare method of my bolt. I run my topology on intellij in
>> debug mode and I have verified that metrics increases. Yet, the reporting
>> seems to be inconsistent. Sometimes the metrics get logged and other times
>> it is not the case. What could be the reason which could result in
>> something like this?
>>
>>
>>
>> --
>> Regards,
>> Abhishek Agarwal
>>
>>
>


-- 
Regards,
Abhishek Agarwal

Reply via email to