Merge "Avoid overwriting bucket in Gauge metric producer as anomaly tracker needs past buckets."