diff options
author | 2018-04-23 09:39:10 -0700 | |
---|---|---|
committer | 2018-04-23 09:40:45 -0700 | |
commit | 0a0f2112852b471318aec4a331e1411dad2ffef3 (patch) | |
tree | 436159b5b9cfdca4404ec2ad65d80c7d88c5ad7e /src/main/protobuf | |
parent | 87621656da2377f5b59b0ee84ecaf54ea77b7bd8 (diff) |
This change adds timestamps (call start and end time) to the remote grpc log.
PiperOrigin-RevId: 193937177
Diffstat (limited to 'src/main/protobuf')
-rw-r--r-- | src/main/protobuf/BUILD | 1 | ||||
-rw-r--r-- | src/main/protobuf/remote_execution_log.proto | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/main/protobuf/BUILD b/src/main/protobuf/BUILD index 684dcb2e73..85aaa24a67 100644 --- a/src/main/protobuf/BUILD +++ b/src/main/protobuf/BUILD @@ -148,6 +148,7 @@ proto_library( name = "remote_execution_log_proto", srcs = ["remote_execution_log.proto"], deps = [ + "@com_google_protobuf//:well_known_types_timestamp_proto", "@googleapis//:google_bytestream_bytestream_proto", "@googleapis//:google_devtools_remoteexecution_v1test_remote_execution_proto", "@googleapis//:google_longrunning_operations_proto", diff --git a/src/main/protobuf/remote_execution_log.proto b/src/main/protobuf/remote_execution_log.proto index 1e4fa9f404..32d76946e8 100644 --- a/src/main/protobuf/remote_execution_log.proto +++ b/src/main/protobuf/remote_execution_log.proto @@ -16,6 +16,7 @@ syntax = "proto3"; package remote_logging; +import "google/protobuf/timestamp.proto"; import "google/bytestream/bytestream.proto"; import "google/devtools/remoteexecution/v1test/remote_execution.proto"; import "google/longrunning/operations.proto"; @@ -39,6 +40,12 @@ message LogEntry { // Method specific details for this call. RpcCallDetails details = 4; + + // Time the call started. + google.protobuf.Timestamp start_time = 5; + + // Time the call closed. + google.protobuf.Timestamp end_time = 6; } // Details for a call to |