Add empty message definitions for real-time stats service and configure service.

pull/24435/head
Chengyuan Zhang 4 years ago
parent 50d0b6d84d
commit 7ded166d7d
  1. 6
      src/proto/grpc/testing/messages.proto
  2. 5
      src/proto/grpc/testing/test.proto

@ -213,6 +213,9 @@ message LoadBalancerStatsResponse {
map<string, RpcsByPeer> rpcs_by_method = 3;
}
// Request for retrieving a test client's real time stats.
message LoadBalancerRealTimeStatsRequest {}
// Real-time stats for RPCs sent by a test client.
message LoadBalancerRealTimeStatsResponse {
// The real-time total number of RPCs issued.
@ -244,3 +247,6 @@ message ClientConfigureRequest {
// The collection of custom metadata to be attached to RPCs sent by the client.
repeated Metadata metadata = 2;
}
// Response for updating a test client's configuration.
message ClientConfigureResponse {}

@ -88,7 +88,7 @@ service LoadBalancerStatsService {
// 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(grpc.testing.Empty)
rpc GetClientRealTimeStats(LoadBalancerRealTimeStatsRequest)
returns (LoadBalancerRealTimeStatsResponse) {}
}
@ -100,5 +100,6 @@ service XdsUpdateHealthService {
// A service to dynamically update the configuration of an xDS test client.
service XdsUpdateClientConfigureService {
rpc Configure(ClientConfigureRequest) returns (grpc.testing.Empty);
// Update the tes client's configuration.
rpc Configure(ClientConfigureRequest) returns (ClientConfigureResponse);
}

Loading…
Cancel
Save