mikejihbe/metrics

Histogram mean becomes NaN as sum becomes too large

Open

#13 opened on 2012年5月24日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)JavaScript (575 stars) (58 forks)batch import
bughelp wanted

説明

I have one metric based on a Histogram with about 90000 entries. The sum becomes huge... and the mean becomes NaN. Actually it becomes a strange number followed by NaNNaNNaN. e.g..

653238.5-217636.16666666666NaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaN...

コントリビューターガイド