forked from envoyproxy/nighthawk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput.proto
60 lines (52 loc) · 1.26 KB
/
output.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
syntax = "proto3";
package nighthawk.client;
import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";
import "envoy/config/core/v3/base.proto";
import "api/client/options.proto";
message Counter {
string name = 1;
uint64 value = 2;
}
message Percentile {
oneof duration_type {
google.protobuf.Duration duration = 1;
double raw_value = 4;
}
double percentile = 2;
uint64 count = 3;
}
message Statistic {
uint64 count = 1;
string id = 2;
oneof mean_type {
google.protobuf.Duration mean = 3;
double raw_mean = 8;
}
oneof pstdev_type {
google.protobuf.Duration pstdev = 4;
double raw_pstdev = 10;
}
repeated Percentile percentiles = 5;
oneof min_type {
google.protobuf.Duration min = 6;
uint64 raw_min = 12;
}
oneof max_type {
google.protobuf.Duration max = 7;
uint64 raw_max = 13;
}
}
message Result {
string name = 1;
repeated Statistic statistics = 2;
repeated Counter counters = 3;
google.protobuf.Duration execution_duration = 4;
google.protobuf.Timestamp execution_start = 5;
}
message Output {
google.protobuf.Timestamp timestamp = 1;
nighthawk.client.CommandLineOptions options = 2;
repeated Result results = 3;
envoy.config.core.v3.BuildVersion version = 4;
}