aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/loadtesting/agent/v1/trail_service.proto
blob: d61c5f64e666dfb5eba6430aac3914a8f6388968 (plain) (blame)
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
61
62
63
64
65
66
67
68
syntax = "proto3";

package yandex.cloud.loadtesting.agent.v1;

option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/loadtesting/agent/v1;agent";
option java_package = "yandex.cloud.api.loadtesting.agent.v1";

import "google/api/annotations.proto";


service TrailService {

  // Creates trail for specified job.
  rpc Create (CreateTrailRequest) returns (CreateTrailResponse) {
    option (google.api.http) = { post: "/loadtesting/agent/v1/trails" body: "*" };
  };
}

message CreateTrailRequest {
  string compute_instance_id = 1;
  repeated Trail data = 2;
  string job_id = 3;
  string agent_instance_id = 4;
}

message Trail {
  int64 overall = 1;
  string case_id = 2;
  string time = 3;
  int64 reqps = 4;
  int64 resps = 5;
  double expect = 6;
  int64 input = 7;
  int64 output = 8;
  double connect_time = 9;
  double send_time = 10;
  double latency = 11;
  double receive_time = 12;
  int64 threads = 13;

  double q50 = 14;
  double q75 = 15;
  double q80 = 16;
  double q85 = 17;
  double q90 = 18;
  double q95 = 19;
  double q98 = 20;
  double q99 = 21;
  double q100 = 22;

  message Codes {
    int64 code = 1;
    int64 count = 2;
  }
  repeated Codes http_codes = 23;
  repeated Codes net_codes = 24;

  message Intervals {
    double to = 1;
    int64 count = 2;
  }
  repeated Intervals time_intervals = 25;
}

message CreateTrailResponse {
  string trail_id = 1;
  int64 code = 2;
}