diff options
author | Chenjie Yu <cjyu@google.com> | 2018-11-19 13:29:40 -0800 |
---|---|---|
committer | Chenjie Yu <cjyu@google.com> | 2018-11-19 16:39:47 -0800 |
commit | e077fd2e9cc044579c735c16f61fa990273b56f8 (patch) | |
tree | 1f8947ed5f3c4d6b1c5bc8b0b480b9dac2a4fd3b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 211af382c2b8eb171fb8995d0fc703fcd7089533 (diff) |
deprecate ALL_CONDITION_CHANGE in gauge
The feature set for GaugeMetric is the following:
1. Pull/Push once per bucket ----> RANDON_ONE_SAMPLE
Have 1 gauge per bucket, if condition is true
2. Pull when condition becomes true ----> CONDITION_CHANGE_TO_TRUE
Have 1 gauge per condition change to true, up to n
3. Pushed events multiple copies ----> FIRST_N_SAMPLE
Have 1 gauge per event, up to n
4. Pull on trigger ----> FIRST_N_SAMPLE
Have 1 gauge per trigger, up to n
For P, feature 1,2,3 work and same config can be used for P&Q.
(FIRST_N_SAMPLES is new but the code works, as would otherwise be
intended)
Feature 4 is new in Q.
Bug: 119783642
Bug: 118639742
Test: unit test
Change-Id: I671f7a5d3fdf9c2db4e8b6a137e3e45211874dcc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions