diff --git a/src/proto/grpc/testing/messages.proto b/src/proto/grpc/testing/messages.proto index 8fe32e10ce2..689c6217360 100644 --- a/src/proto/grpc/testing/messages.proto +++ b/src/proto/grpc/testing/messages.proto @@ -213,16 +213,16 @@ message LoadBalancerStatsResponse { map rpcs_by_method = 3; } -// Request for retrieving a test client's real time stats. -message LoadBalancerRealTimeStatsRequest {} +// Request for retrieving a test client's accumulated stats. +message LoadBalancerAccumulatedStatsRequest {} -// Real-time stats for RPCs sent by a test client. -message LoadBalancerRealTimeStatsResponse { - // The real-time total number of RPCs issued. +// Accumulated stats for RPCs sent by a test client. +message LoadBalancerAccumulatedStatsResponse { + // The total number of RPCs have ever issued. int32 num_rpcs_started = 1; - // The real-time total number of RPCs completed successfully for each peer. + // The total number of RPCs have ever completed successfully for each peer. map num_rpcs_succeeded_by_peer = 2; - // The real-time total number of RPCs failed. + // The total number of RPCs have ever failed. int32 num_rpcs_failed = 3; } diff --git a/src/proto/grpc/testing/test.proto b/src/proto/grpc/testing/test.proto index a7aaa10eb53..5805a41da99 100644 --- a/src/proto/grpc/testing/test.proto +++ b/src/proto/grpc/testing/test.proto @@ -83,13 +83,10 @@ service LoadBalancerStatsService { // Gets the backend distribution for RPCs sent by a test client. rpc GetClientStats(LoadBalancerStatsRequest) returns (LoadBalancerStatsResponse) {} -} -// A service used to obtain real-time stats for verifying LB behavior. -service LoadBalancerRealTimeStatsService { - // Gets the real-time stats for RPCs sent by a test client. - rpc GetClientRealTimeStats(LoadBalancerRealTimeStatsRequest) - returns (LoadBalancerRealTimeStatsResponse) {} + // Gets the accumulated stats for RPCs sent by a test client. + rpc GetClientAccumulatedStats(LoadBalancerAccumulatedStatsRequest) + returns (LoadBalancerAccumulatedStatsResponse) {} } // A service to remotely control health status of an xDS test server.