aboutsummaryrefslogtreecommitdiff
path: root/proto/icing/proto/logging.proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto/icing/proto/logging.proto')
-rw-r--r--proto/icing/proto/logging.proto18
1 files changed, 15 insertions, 3 deletions
diff --git a/proto/icing/proto/logging.proto b/proto/icing/proto/logging.proto
index 04f655d..ca795cd 100644
--- a/proto/icing/proto/logging.proto
+++ b/proto/icing/proto/logging.proto
@@ -49,6 +49,9 @@ message InitializeStatsProto {
// The document log is using legacy format.
LEGACY_DOCUMENT_LOG_FORMAT = 5;
+
+ // The current code version is different from existing data version.
+ VERSION_CHANGED = 6;
}
// Possible recovery causes for document store:
@@ -114,7 +117,7 @@ message InitializeStatsProto {
}
// Stats of the top-level function IcingSearchEngine::Put().
-// Next tag: 7
+// Next tag: 10
message PutDocumentStatsProto {
// Overall time used for the function call.
optional int32 latency_ms = 1;
@@ -122,8 +125,7 @@ message PutDocumentStatsProto {
// Time used to store the document.
optional int32 document_store_latency_ms = 2;
- // Time used to index the document. It does not include the time to merge
- // indices.
+ // Time used to index the document.
optional int32 index_latency_ms = 3;
// Time used to merge the indices.
@@ -139,6 +141,16 @@ message PutDocumentStatsProto {
reserved 2;
}
optional TokenizationStats tokenization_stats = 6;
+
+ // Time used to index all indexable string terms in the document. It does not
+ // include the time to merge indices.
+ optional int32 term_index_latency_ms = 7;
+
+ // Time used to index all indexable integers in the document.
+ optional int32 integer_index_latency_ms = 8;
+
+ // Time used to index all qualified id join strings in the document.
+ optional int32 qualified_id_join_index_latency_ms = 9;
}
// Stats of the top-level function IcingSearchEngine::Search() and