From c1e5f47e3f35521debdcbb4c675ebccf3ea9b28a Mon Sep 17 00:00:00 2001 From: hai007 Date: Wed, 25 Oct 2023 19:44:15 -0700 Subject: [PATCH] [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 --- internal/proto/analytics/fast_pair_log.proto | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/internal/proto/analytics/fast_pair_log.proto b/internal/proto/analytics/fast_pair_log.proto index cfea1892..38897940 100644 --- a/internal/proto/analytics/fast_pair_log.proto +++ b/internal/proto/analytics/fast_pair_log.proto @@ -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; }