I agree the values are multiples of 20 and they're not row count.
So if possible, I want to get raw count of them.
Now, I have only one idea.
I count all parameters myself like below,
--------------------
begin
handling tuple
dbclient.incr("ack_count")
ack(tup)
rescue => err
dbclient.incr("fail_count")
log.error(tup.id.to_s + ":" + err.to_s)
fail(tup)
end
--------------------
Do you have other better ideas?
On Sun, Jan 11, 2015 at 11:53 PM, Nathan Leung <[email protected]> wrote:
> UI represents values as multiples of 20, and as I understand it's not a
> raw count but a sample (I could be wrong about the second part).
>
> On Sun, Jan 11, 2015 at 9:34 AM, Tetsuya MATSUDA <[email protected]>
> wrote:
>
>> Thank you for replying.
>>
>> There is not written about rounding off in docs, but the result of my
>> experiment is rounded off.
>> I will read docs you taught me and source code.
>>
>> Thanks,
>>
>> On Sat, Jan 10, 2015 at 9:35 AM, UmaraDissa1 . <[email protected]>
>> wrote:
>>
>>> I don't know of any rounding off the UI does, is this in the docs?
>>>
>>> It might be helpful for you to look at creating your own metric.
>>>
>>> Official documentation -
>>> http://storm.apache.org/documentation/Metrics.html
>>>
>>> Walkthrough - https://www.endgame.com/blog/storm-metrics-how-to.html
>>>
>>> On Sat, Jan 10, 2015 at 10:48 AM, Tetsuya MATSUDA <
>>> [email protected]> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I want to know correct number of acked, failed, emitted etc of my
>>>> topology.
>>>> In StormUI, they are not correct because of rounding off.
>>>>
>>>> Is there any way of counting these params?
>>>>
>>>> Thanks,
>>>> --
>>>> Tetsuya MATSUDA
>>>>
>>>>
>>>
>>
>>
>> --
>> 松田 徹也 -Tetsuya MATSUDA-
>> E-mail : [email protected] <[email protected]>
>>
>
>
--
松田 徹也 -Tetsuya MATSUDA-
E-mail : [email protected] <[email protected]>