commit | c189bdcb05d0aa9cf4f2e9f6d894f57aab6efe98 | [log] [tgz] |
---|---|---|
author | David Chen <dwchen@google.com> | Fri Feb 09 16:09:26 2018 -0800 |
committer | David Chen <dwchen@google.com> | Fri Feb 09 16:09:26 2018 -0800 |
tree | a15c8ef0624385cc57fdd0c7ba6d3f1600d80eb2 | |
parent | f9420f4dddebc89db11ee04d1ef22e9944fc1396 [diff] |
Small fix to anomaly tracker in statsd. If the config specifies only one past bucket for anomaly detection, statsd doesn't want to store any past buckets since only the current bucket being tracked in the Metrics Producer is used for deciding if we hit the anomaly. Test: Checked that statsd_test passes. Change-Id: I7ca65bf7d2dfcb2d5c7d5c90f63f4a1c70fbc792