Changed tpstats logging interval from 1 second to 500 ms.
Set aggregationInterval min value to 1 second
Added logic of skipping negative values in MetricsCalculator