diff options
Diffstat (limited to 'proto/icing/proto/logging.proto')
-rw-r--r-- | proto/icing/proto/logging.proto | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/proto/icing/proto/logging.proto b/proto/icing/proto/logging.proto index fcedeed..4854521 100644 --- a/proto/icing/proto/logging.proto +++ b/proto/icing/proto/logging.proto @@ -55,6 +55,10 @@ message InitializeStatsProto { // Any dependencies have changed. DEPENDENCIES_CHANGED = 7; + + // Change detected in Icing's feature flags since last initialization that + // requires recovery. + FEATURE_FLAG_CHANGED = 8; } // Possible recovery causes for document store: @@ -170,7 +174,7 @@ message PutDocumentStatsProto { // Stats of the top-level function IcingSearchEngine::Search() and // IcingSearchEngine::GetNextPage(). -// Next tag: 26 +// Next tag: 28 message QueryStatsProto { // TODO(b/305098009): deprecate. Use parent_search_stats instead. // The UTF-8 length of the query string @@ -252,7 +256,7 @@ message QueryStatsProto { optional bool is_join_query = 23; // Stats of the search. Only valid for first page. - // Next tag: 13 + // Next tag: 16 message SearchStats { // The UTF-8 length of the query string optional int32 query_length = 1; @@ -290,6 +294,15 @@ message QueryStatsProto { // Number of hits fetched by integer index before applying any filters. optional int32 num_fetched_hits_integer_index = 12; + + // Time used in Lexer to extract lexer tokens from the query. + optional int32 query_processor_lexer_extract_token_latency_ms = 13; + + // Time used in Parser to consume lexer tokens extracted from the query. + optional int32 query_processor_parser_consume_query_latency_ms = 14; + + // Time used in QueryVisitor to visit and build (nested) DocHitInfoIterator. + optional int32 query_processor_query_visitor_latency_ms = 15; } // Search stats for parent. Only valid for first page. @@ -298,6 +311,12 @@ message QueryStatsProto { // Search stats for child. optional SearchStats child_search_stats = 25; + // Byte size of the lite index hit buffer. + optional int64 lite_index_hit_buffer_byte_size = 26; + + // Byte size of the unsorted tail of the lite index hit buffer. + optional int64 lite_index_hit_buffer_unsorted_byte_size = 27; + reserved 9; } |