Merge "Dump the stats for count/gauge/value metrics." into pi-dev