From 996e6a42fffff2d8cb689c232ba8334d8ab85077 Mon Sep 17 00:00:00 2001 From: Wu Sheng Date: Wed, 18 Jul 2018 16:28:19 +0800 Subject: [PATCH] Add start time and end time. --- service-mesh-probe/service-mesh.proto | 30 ++++++++++++++------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/service-mesh-probe/service-mesh.proto b/service-mesh-probe/service-mesh.proto index ceec3ef..e36c574 100644 --- a/service-mesh-probe/service-mesh.proto +++ b/service-mesh-probe/service-mesh.proto @@ -27,20 +27,22 @@ service ServiceMeshMetricService { } message serviceMeshMetric { - string sourceServiceName = 1; - int32 sourceServiceId = 2; - string sourceServiceInstance = 3; - int32 sourceServiceInstanceId = 4; - string destServiceName = 5; - int32 destServiceId = 6; - string destServiceInstance = 7; - int32 destServiceInstanceId = 8; - string endpoint = 9; - int32 latency = 10; - int32 responseCode = 11; - bool status = 12; - Protocol protocol = 13; - DetectPoint detectPoint = 14; + int64 startTime = 1; + int64 endTime = 2; + string sourceServiceName = 3; + int32 sourceServiceId = 4; + string sourceServiceInstance = 5; + int32 sourceServiceInstanceId = 6; + string destServiceName = 7; + int32 destServiceId = 8; + string destServiceInstance = 9; + int32 destServiceInstanceId = 10; + string endpoint = 11; + int32 latency = 12; + int32 responseCode = 13; + bool status = 14; + Protocol protocol = 15; + DetectPoint detectPoint = 16; } enum Protocol { -- GitLab