commit | 06dba5d79c096b02d3ba6fb73e64451ff12e388d | [log] [tgz] |
---|---|---|
author | Yao Chen <yaochen@google.com> | Fri Jan 26 13:38:16 2018 -0800 |
committer | Yao Chen <yaochen@google.com> | Thu Mar 01 15:22:55 2018 -0800 |
tree | b9b61d75abe1019a931afaa6428f0b3a16482126 | |
parent | aec6950118319e93084f4c3d2ba6087e8f7e15df [diff] |
Add API to let metrics directly drop data without writing to an output. + Metrics will do flushIfNeeded() to correctly move the clock and informing AnomalyTracker the past bucket info, and then clear past buckets. + We will still keep the current bucket data for the validity of the future metrics. Bug: 70571383 Test: statsd_test Change-Id: Ib13c45574974e7b4e82bd8f305091dc93bda76f5