commit | 0f6c1bcbc9a3310dbd8bce02951a7c38a1c3633e | [log] [tgz] |
---|---|---|
author | tsaichristine <tsaichristine@google.com> | Tue Apr 28 10:42:25 2020 -0700 |
committer | tsaichristine <tsaichristine@google.com> | Thu May 28 11:11:53 2020 -0700 |
tree | d9aa92b8e30a0dad9d8c43722d1992df7b5a4768 | |
parent | 12416fba4a9f98d697a6dfb27a7da6bc58dc570d [diff] |
StateTracker handles active state changes When a state change occurs, metrics should only make certain updates if the metric is active. This is already handled in CountMetricProducer and DurationMetricProducer. In ValueMetricProducer, we will return immediately if the metric is not active during a state change. Test: m statsd_test && adb sync data && adb shell data/nativetest/statsd_test/statsd_test Bug: b/153101724 Change-Id: Ib2a96600a0f1acec054638515d606716cf0ca6b6