mikejihbe/metrics

Standard deviation is Nan

Open

#51 opened on Oct 3, 2017

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (58 forks)batch import
help wanted

Repository metrics

Stars
 (575 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

My service is outputting metrics to Grafana but it's end points are never called. What I'm finding is that the standard deviation value is NaN, output via:

send(util.format('%s.%s', histogram.name, 'stddev'), histogram.stdDev(), timestamp);

in graphite-reporter.js. I suspect this should output zero.

Contributor guide