newrelic-platform/metrics_publish_java — pull request #42 by tboeghk (2014-02-13 08:13:31+00:00)
Title: fixes a bug that may corrupt json marshalling

the varnish new relic plugin somehow managed to sneak in values whose product produced a `Infinity` value that broke JSON marshalling afterwards. This pr adds a precondition to the `sumOfSquares` field and prevents it from being infinite. This does not break JSON marshalling anymore.