diff options
| author | 2019-03-05 11:44:19 +0000 | |
|---|---|---|
| committer | 2019-03-05 11:44:19 +0000 | |
| commit | 9ced580541efd68dd1e9f5d5a67bdcce84d68c2a (patch) | |
| tree | 8e0ca86a4655ecc82c293bd8d9884194fe5d75fa | |
| parent | 3f4b5d08abb38044672758d59fc21b07441b26c4 (diff) | |
| parent | ea9ec719081dabe00415f6fc0d6eb844c193ca07 (diff) | |
Merge "Add log metrics for contextual card loading."
| -rw-r--r-- | core/proto/android/app/settings_enums.proto | 11 | ||||
| -rw-r--r-- | proto/src/metrics_constants/metrics_constants.proto | 9 |
2 files changed, 19 insertions, 1 deletions
diff --git a/core/proto/android/app/settings_enums.proto b/core/proto/android/app/settings_enums.proto index 5064d23453a7..445075da7f90 100644 --- a/core/proto/android/app/settings_enums.proto +++ b/core/proto/android/app/settings_enums.proto @@ -616,7 +616,7 @@ enum Action { // OS: Q ACTION_PANEL_INTERACTION = 1658; - // ACTION: Show Contextual homepage, log latency in loading cards + // ACTION: Show Contextual homepage. Log total loading latency. ACTION_CONTEXTUAL_HOME_SHOW = 1662; // ACTION: Contextual card displays @@ -649,6 +649,15 @@ enum Action { ACTION_ATCSCUC = 1680; ACTION_ATCHNUC = 1681; + + // ACTION: Individual contextual card loading time + ACTION_CONTEXTUAL_CARD_LOAD = 1684; + + //ACTION: Contextual card loading timeout + ACTION_CONTEXTUAL_CARD_LOAD_TIMEOUT = 1685; + + //ACTION: Log result for each card's eligibility check + ACTION_CONTEXTUAL_CARD_ELIGIBILITY = 1686; } /** diff --git a/proto/src/metrics_constants/metrics_constants.proto b/proto/src/metrics_constants/metrics_constants.proto index 0a6e92371d6a..91b161d3192f 100644 --- a/proto/src/metrics_constants/metrics_constants.proto +++ b/proto/src/metrics_constants/metrics_constants.proto @@ -7078,6 +7078,15 @@ message MetricsEvent { // Open: Settings will show the conditional when Grayscale mode is on SETTINGS_CONDITION_GRAYSCALE_MODE = 1683; + // ACTION: Individual contextual card loading time + ACTION_CONTEXTUAL_CARD_LOAD = 1684; + + //ACTION: Contextual card loading timeout + ACTION_CONTEXTUAL_CARD_LOAD_TIMEOUT = 1685; + + //ACTION: Log result for each card's eligibility check + ACTION_CONTEXTUAL_CARD_ELIGIBILITY = 1686; + // ---- End Q Constants, all Q constants go above this line ---- // Add new aosp constants above this line. // END OF AOSP CONSTANTS |