From 98b59f0dc7840398a388963b1f9f7546de703e2d Mon Sep 17 00:00:00 2001 From: Tony Mak Date: Wed, 7 Aug 2019 11:50:58 +0100 Subject: [PATCH] Add package_name to text classifier related events. It was missing in the last CL, we would like to log the source package. Bug: 124437773 Test: m Change-Id: I53d8813e2e06a56a589bc7c261cfcdc2d70018d5 --- cmds/statsd/src/atoms.proto | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto index 35c4cebdcf6cb..7b83d85730cb8 100644 --- a/cmds/statsd/src/atoms.proto +++ b/cmds/statsd/src/atoms.proto @@ -6872,6 +6872,9 @@ message TextSelectionEvent { // Relative word (exclusive) index of the end of the smart selection. optional int32 relative_suggested_word_end_index = 10; + + // Name of source package. + optional string package_name = 11; } /** @@ -6909,6 +6912,9 @@ message TextLinkifyEvent { // Time spent on generating links in ms. optional int64 latency_millis = 10; + + // Name of source package. + optional string package_name = 11; } /** @@ -6940,6 +6946,9 @@ message ConversationActionsEvent { // The score of the first entity type. optional float score = 8; + + // Name of source package. + optional string package_name = 9; } /** @@ -6968,4 +6977,7 @@ message LanguageDetectionEvent { // Position of this action. optional int32 action_index = 7; + + // Name of source package. + optional string package_name = 8; }