diff options
author | Rishab Ghanti <rghanti@google.com> | 2024-04-12 22:09:25 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-04-12 22:09:25 +0000 |
commit | 45f921b0be0d70f2c7ff41b548fd76b079267acb (patch) | |
tree | b4821d597a8d2619a9237ea2676c26cf8a110169 | |
parent | 68fc143ae326088ff367a4677d6d1581b4688f12 (diff) | |
parent | 3075d5fb57f3f987795571e53ae9be037736dc20 (diff) | |
download | proto_logging-45f921b0be0d70f2c7ff41b548fd76b079267acb.tar.gz |
Merge "Add atom for logging RDI with metric ID" into main
-rw-r--r-- | stats/atoms.proto | 1 | ||||
-rw-r--r-- | stats/atoms/bluetooth/bluetooth_extension_atoms.proto | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/stats/atoms.proto b/stats/atoms.proto index c0205b95..23b99407 100644 --- a/stats/atoms.proto +++ b/stats/atoms.proto @@ -1134,6 +1134,7 @@ message Atom { extensions 850; // VpnConnectionStateChanged vpn_connection_state_changed extensions 851; // VpnConnectionReported vpn_connection_reported extensions 853; // ExcessiveBinderProxyCountReported excessive_binder_proxy_count_reported + extensions 862; // RemoteDeviceInformationWithMetricId remote_device_information_with_metric_id extensions 9999; // Atom9999 atom_9999 // StatsdStats tracks platform atoms with ids up to 900. // Update StatsdStats::kMaxPushedAtomId when atom ids here approach that value. diff --git a/stats/atoms/bluetooth/bluetooth_extension_atoms.proto b/stats/atoms/bluetooth/bluetooth_extension_atoms.proto index 68265f44..f4259782 100644 --- a/stats/atoms/bluetooth/bluetooth_extension_atoms.proto +++ b/stats/atoms/bluetooth/bluetooth_extension_atoms.proto @@ -48,6 +48,7 @@ extend Atom { = 781 [(module) = "bluetooth"]; optional BluetoothRfcommConnectionAttempted bluetooth_rfcomm_connection_attempted = 782 [(module) = "bluetooth"]; + optional RemoteDeviceInformationWithMetricId remote_device_information_with_metric_id = 862 [(module) = "bluetooth"]; } /** @@ -302,4 +303,17 @@ message BluetoothRfcommConnectionAttempted { optional BluetoothRemoteDeviceInformation remote_device_information = 7 [(log_mode) = MODE_BYTES]; } +/** +* Logs remote device information with metric ID +* +* Logged from: +* packages/modules/Bluetooth +*/ +message RemoteDeviceInformationWithMetricId { + // Locally generated id for event matching + optional int32 metric_id = 1; + + // Remote Device Information + optional BluetoothRemoteDeviceInformation remote_device_information = 2 [(log_mode) = MODE_BYTES]; +}
\ No newline at end of file |