Merge "Avoid overwriting bucket in Gauge metric producer as anomaly tracker needs past buckets."
This commit is contained in:
committed by
Android (Google) Code Review
commit
42f9e527db
@@ -326,6 +326,7 @@ void GaugeMetricProducer::flushIfNeededLocked(const uint64_t& eventTimeNs) {
|
||||
}
|
||||
}
|
||||
|
||||
mCurrentSlicedBucketForAnomaly = std::make_shared<DimToValMap>();
|
||||
mCurrentSlicedBucket = std::make_shared<DimToGaugeFieldsMap>();
|
||||
|
||||
// Adjusts the bucket start time
|
||||
|
||||
Reference in New Issue
Block a user