aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/proto
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-09-28 16:30:55 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-09-28 16:30:55 -0700
commit0c80c7d12c7affaea272c127bb6cad10c5f07a44 (patch)
treeae3e63a695b7e766f65b7bb223542d8cc08187d2 /src/proto
parentdb1a5cce471cb038953f4221401142da85c2412a (diff)
Collecting failure status progress
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/grpc/testing/control.proto10
-rw-r--r--src/proto/grpc/testing/stats.proto8
2 files changed, 18 insertions, 0 deletions
diff --git a/src/proto/grpc/testing/control.proto b/src/proto/grpc/testing/control.proto
index ece6910815..8cffca5f2c 100644
--- a/src/proto/grpc/testing/control.proto
+++ b/src/proto/grpc/testing/control.proto
@@ -137,6 +137,11 @@ message ServerConfig {
// If we use an OTHER_SERVER client_type, this string gives more detail
string other_server_api = 11;
+
+ // c++-only options (for now) --------------------------------
+
+ // Buffer pool size (no buffer pool specified if unset)
+ int32 buffer_pool_size = 1001;
}
message ServerArgs {
@@ -213,6 +218,9 @@ message ScenarioResultSummary
double latency_95 = 9;
double latency_99 = 10;
double latency_999 = 11;
+
+ int64 successful_requests = 12;
+ int64 failed_requests = 13;
}
// Results of a single benchmark scenario.
@@ -232,4 +240,6 @@ message ScenarioResult {
// Information on success or failure of each worker
repeated bool client_success = 7;
repeated bool server_success = 8;
+ // Number of failed requests (one row per status code seen)
+ repeated RequestResultCount request_results = 9;
}
diff --git a/src/proto/grpc/testing/stats.proto b/src/proto/grpc/testing/stats.proto
index f9d116110b..d40d714801 100644
--- a/src/proto/grpc/testing/stats.proto
+++ b/src/proto/grpc/testing/stats.proto
@@ -59,6 +59,11 @@ message HistogramData {
double count = 6;
}
+message RequestResultCount {
+ int32 status_code = 1;
+ int64 count = 2;
+}
+
message ClientStats {
// Latency histogram. Data points are in nanoseconds.
HistogramData latencies = 1;
@@ -67,4 +72,7 @@ message ClientStats {
double time_elapsed = 2;
double time_user = 3;
double time_system = 4;
+
+ // Number of failed requests (one row per status code seen)
+ repeated RequestResultCount request_results = 5;
}