OSDN Git Service

Statsd value metric anomaly detection
authorBookatz <bookatz@google.com>
Fri, 15 Dec 2017 02:38:27 +0000 (18:38 -0800)
committerAdam Bookatz <bookatz@google.com>
Fri, 15 Dec 2017 18:10:10 +0000 (18:10 +0000)
commitde1b5562c8a6fdad1e9d2f409c7aa35a23181d34
tree87bc8c7ed5635151bfb398cf38a308e73365cf80
parente1080cfceb241be88698262a2fada6ac7e6693f6
Statsd value metric anomaly detection

Add anomly detection to Value metric in statsd.

Test: make statsd_test && adb sync data && adb shell data/nativetest64/statsd_test/statsd_test
Test: run cts-dev -m CtsStatsdHostTestCases -t android.cts.statsd.HostAtomTests#testValueAnomalyDetection
Fixes: 70240042
Change-Id: I05cf36495cdfd0ac7aa1a922f0e253a60fda1787
cmds/statsd/src/metrics/ValueMetricProducer.cpp
cmds/statsd/src/metrics/ValueMetricProducer.h
cmds/statsd/tests/metrics/ValueMetricProducer_test.cpp