github.com/pachyderm/pachyderm@v1.13.4/src/client/debug/debug.proto (about)

     1  syntax = "proto3";
     2  
     3  package debug;
     4  option go_package = "github.com/pachyderm/pachyderm/src/client/debug";
     5  
     6  import "google/protobuf/wrappers.proto";
     7  import "google/protobuf/duration.proto";
     8  
     9  import "client/pps/pps.proto";
    10  
    11  message ProfileRequest {
    12    Profile profile = 1;
    13    Filter filter = 2;
    14  }
    15  
    16  message Profile {
    17      string name = 1;
    18      google.protobuf.Duration duration = 2; // only meaningful if name == "cpu"
    19  }
    20  
    21  message Filter {
    22    oneof filter {
    23      bool pachd = 1;	
    24      pps.Pipeline pipeline = 2;	
    25      Worker worker = 3;
    26    }
    27  }
    28  
    29  message Worker {
    30     string pod = 1;
    31     bool redirected = 2;
    32  }
    33  
    34  message BinaryRequest {
    35    Filter filter = 1;
    36  }
    37  
    38  message DumpRequest {
    39    Filter filter = 1;
    40    // Limit sets the limit for the number of commits / jobs that are returned for each repo / pipeline in the dump.
    41    int64 limit = 2;
    42  }
    43  
    44  service Debug {
    45    rpc Profile(ProfileRequest) returns (stream google.protobuf.BytesValue) {}
    46    rpc Binary(BinaryRequest) returns (stream google.protobuf.BytesValue) {}
    47    rpc Dump(DumpRequest) returns (stream google.protobuf.BytesValue) {}
    48  }