diff options
| author | 2020-05-26 22:26:56 +0100 | |
|---|---|---|
| committer | 2020-05-29 20:15:47 +0100 | |
| commit | d8698fa6be799ad560705a30b204390c1e3005c6 (patch) | |
| tree | e4f4ca346597d8b8b1cf3323f692aff2c6b5b871 | |
| parent | 2294f39e2a27758d7b1c698594414096028d34ee (diff) | |
UpdateEngineUpdateAttemptReported: add super and slot size, and free space
Additional information are important to evaluate the impact of Virtual
A/B on devices especially related to OTA take rate.
In order to find a correlation between the OTA take rate and the storage
composition, the following metrics are added to the
UpdateEngineUpdateAttemptReported:
- super_partition_size_bytes: the size of the super partition,
- slot_size_bytes: the size of the current slot, and
- super_free_space_bytes: representing the free space in the super
partition.
Bug: 154016862
Bug: 157720191
Test: m
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I9a6146831a4d6254f8c4d1bfe0df9ca97ef15d34
| -rw-r--r-- | cmds/statsd/src/atoms.proto | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto index c474e71da023..36a8b2cfc084 100644 --- a/cmds/statsd/src/atoms.proto +++ b/cmds/statsd/src/atoms.proto @@ -8645,6 +8645,15 @@ message UpdateEngineUpdateAttemptReported { // system property when the device takes the update. e.g. // Android/aosp_sailfish/sailfish:10/QP1A.190425.004/5507117:userdebug/test-keys optional string source_fingerprint = 8; + + // Size of super partition. + optional int64 super_partition_size_bytes = 9; + + // Size of current slot within the super partition. + optional int64 slot_size_bytes = 10; + + // Free space available in the super partition. + optional int64 super_free_space_bytes = 11; } /** |