892f3d32293b8358c72da4a94633827abbda640b |
|
02-May-2018 |
Yangster-mac <yanglu@google.com> |
Reset statsd and correctly record the dump reason when system server restarts/crashes. Test: statsd test BUG: b/79161505 Change-Id: I0646c764964f6eafde91f9ae0179a1c837af320d
/frameworks/base/cmds/statsd/tests/guardrail/StatsdStats_test.cpp
|
e68f3a5811209eeab71976bc583c6075d9a5979a |
|
04-Apr-2018 |
Yangster-mac <yanglu@google.com> |
Flush the partial bucket when startd shuts down or config updated. Test: statsd test BUG: b/77556036 Change-Id: Ie4a04ace55e07c4529cdff5906ba874f8815f620
/frameworks/base/cmds/statsd/tests/guardrail/StatsdStats_test.cpp
|
faa1af535bf6ede5fcab2e0bad5f6c16908916a9 |
|
31-Mar-2018 |
David Chen <dwchen@google.com> |
Includes annotations with statsd reports. It's tricky to determine the source of the metrics on a device currently since we can take the union of multiple configs and send only one giant statsd_config into statsd. We will use the int64 field to track the sub config id's and the int32 field to track the version for each sub config, but the fields are named more generically as annotations. The annotations are available in both the reports and metadata. Test: Check that all unit-tests pass on marlin-eng Bug: 77327261 Change-Id: Ic37c549c8b2991676f69948c515156765c9f5108
/frameworks/base/cmds/statsd/tests/guardrail/StatsdStats_test.cpp
|
5caaa9d8542585e537ac762c35879eb42dd6bbb4 |
|
07-Mar-2018 |
Chenjie Yu <cjyu@google.com> |
Clean up atoms.proto changes are: 1) for pushed atoms, use attribution node in place of uid when appropriate 2) name changes to be more consistent Bug: 73823969 Test: manual test Change-Id: Iacf7186dbd7a2282f7fe481f43dbbf92e1165b47
/frameworks/base/cmds/statsd/tests/guardrail/StatsdStats_test.cpp
|
20e9e6231a1aba79b4e5ae47f3ccfb066920e60f |
|
28-Feb-2018 |
Yao Chen <yaochen@google.com> |
Reduce statsd binary size from 730KB-> 664KB 1. StatsdStats does not use the proto object in memory anymore. 2. lite_static -> lite 3. don't use sstream Bug: 72129300 Test: statsd_test Change-Id: I8a5adaf222d4d5034e8bf115215fb6dd5f042cac
/frameworks/base/cmds/statsd/tests/guardrail/StatsdStats_test.cpp
|
330af58f2b8582b855085655fae553cdfaf44e6c |
|
09-Feb-2018 |
Yangster-mac <yanglu@google.com> |
Use elapsed realtime instead of times based on wall clock, which can jump around and go backwards. Test: statsd unit test passed Change-Id: Ib541df99231e171b3be2a24f75632693e36da90e
/frameworks/base/cmds/statsd/tests/guardrail/StatsdStats_test.cpp
|
94e197cceb2ba7df13ff8de04f60bfeec64015d9 |
|
03-Jan-2018 |
Yangster-mac <yanglu@google.com> |
1/ Change all "name" to id in statsD. 2/ Handle Subscription for alert. 3/ Support no_report_metric Bug: 69522276 Test: all statsd unit tests passed. Change-Id: I851b235f2d149b8602b0cad632d5bf541962f40a
/frameworks/base/cmds/statsd/tests/guardrail/StatsdStats_test.cpp
|
31d14d72dc4f66b96fc486fef81b9df3c5ef3194 |
|
13-Dec-2017 |
Chenjie Yu <cjyu@google.com> |
rename pulled atoms to shorter names Test: unit test Change-Id: I337341dc69ea658f5972cd9962c536a1f11d77f9
/frameworks/base/cmds/statsd/tests/guardrail/StatsdStats_test.cpp
|
e1d143a0589f22876f17fcb2f892fd9a39a3ebd9 |
|
14-Dec-2017 |
Bookatz <bookatz@google.com> |
StatsdStats alerts -rename alerted_times Renaming declared_times to alerted_times. Test: still compiles and passes tests Change-Id: Ib7c890a21bb91a7185c6d3a098b1bec8bd868ad5
/frameworks/base/cmds/statsd/tests/guardrail/StatsdStats_test.cpp
|
8f2f3d82053693b0dac828e848e2bb238e1db2d2 |
|
07-Dec-2017 |
Bookatz <bookatz@google.com> |
Anomaly Alert declarations in StatsdStats StatsdStats now tracks the number of times an anomaly is detected (per config, per alert name). Also adds a configKey to AnomalyTracker, which is needed, not only for statsdstats, but also (in the future) for reporting the header information to incidentd. Bug: 67978682 Test: adb shell data/nativetest64/statsd_test/statsd_test Change-Id: Ib254db7e1edb4f0f193f4772d17f14934cdf7e30
/frameworks/base/cmds/statsd/tests/guardrail/StatsdStats_test.cpp
|
1d0136d322899cd9db4416c22873ee7ed01d843a |
|
01-Dec-2017 |
Bookatz <bookatz@google.com> |
Anomaly detection statsdstats Adds statsdstats for tracking the number of anomaly alarms registered. Test: adb shell data/nativetest64/statsd_test/statsd_test Bug: 67978682 Change-Id: I4aa0539a13c60ccb3b7fd2a4f41c4ad867f3a4ea
/frameworks/base/cmds/statsd/tests/guardrail/StatsdStats_test.cpp
|
0fac5b17e6ec11461a35859740212daa13d2c5cd |
|
29-Nov-2017 |
Yao Chen <yaochen@google.com> |
Add no more than 20 timestamps for a config in StatsdStats. To avoid the array to grow unboundedly. Test: added unit tests. Change-Id: I3c4823b2a89bb69428d81b9fe348e7ea9aba24c7
/frameworks/base/cmds/statsd/tests/guardrail/StatsdStats_test.cpp
|
69f1baf7dd3d6e595abdae000adf0f197558d0ea |
|
28-Nov-2017 |
Yao Chen <yaochen@google.com> |
Some fixes in StatsdStats, and add some unit tests + Add timestamp for when metric data is reported. Test: statsd_test Change-Id: Ief5ec5172feed4ec74b7422b77cf69ec8361ef2f
/frameworks/base/cmds/statsd/tests/guardrail/StatsdStats_test.cpp
|
b356151e63140085cb96fa16804ee18b3862a4fc |
|
22-Nov-2017 |
Yao Chen <yaochen@google.com> |
Add StatsdStats and guardrail. + StatsdStats is the global class that tracks the stats about statsd. + Added guardrail for classes that have a map which could potentially grow unboundedly with the number of logs. TODO: add unit tests & CTS for StatsdStats, and guardrail add stats for pulled atoms. Test: statsd_test Change-Id: I0ea562de4dd3f6162f7923a9c193420b482c1d51
/frameworks/base/cmds/statsd/tests/guardrail/StatsdStats_test.cpp
|