Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 42f9e527 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 6041a4a2 fa14c11f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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