diff options
author | Yao Chen <yaochen@google.com> | 2017-10-06 16:01:10 -0700 |
---|---|---|
committer | Yao Chen <yaochen@google.com> | 2017-10-10 10:03:46 -0700 |
commit | caf339d004fad667748b68912c254df4e75cdc5a (patch) | |
tree | cc5110037173b5a07535d300590b950de3356378 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 077734befca20bb37b9d3f4de3032510a8b19ca9 (diff) |
More complete implementation for condition and log matchers in statsd.
+ also synced proto from google3 to fix the LogEntryMatcher proto
+ MetricsManager represents StatsdConfig, it's responsible for initializing and managing all
LogEntryMatcher, Condition, and Metrics. Start review from here.
+ Added more complete StatsdConfig initialization, including building the map for:
LogEntryMatcher -> Metrics
LogEntryMatcher -> Condition
Condition -> Metrics.
All the maps use index(int). The extra amount of memory for storing mappings help us
quickly process log events.
The StatsdConfig initialization process detects malformed config
- Circle dependency
- Missing definition
etc.
And once we detect ANY error, statsd will reject the config. And the resources related to this
config will be released.
Test: Added unit tests
Change-Id: I2c4aefdbf3e2aa1701eacbb2fb5e653819ec1fbb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions