[Analytics] Add analytics for subsequent pairing but entering pairing mode

Add is_in_paired_history field when the event is SECRET_HANDSHAKE

LOG_STORAGE_INCREASE(GB/week): <1
  1200000 perday * 7 days * (2+1 [tag+bool] + 2+8 [tag+int64] + 2+8 [tag+int64] + 2+1 [tag+bool]) bytes/record

Single record size (average): 26 bytes

PiperOrigin-RevId: 576717056
This commit is contained in:
hai007
2023-10-25 19:45:16 -07:00
committed by Copybara-Service
parent 629e7ba7c9
commit c1e5f47e3f
@@ -169,4 +169,13 @@ message FastPairLog {
optional int32 sass_connection_state = 22;
optional bool is_pair_triggered_by_settings = 23;
// The nearby mainline tethering module version.
optional int64 nearby_mainline_tethering_version = 24;
// The nearby nano app version for offload.
optional int64 nearby_nano_app_version = 25;
// For the SECRET_HANDSHAKE event, is the pairing device in paired history.
optional bool is_in_paired_history = 26;
}