github.com/pinpoint-apm/pinpoint-go-agent@v1.4.1-0.20240110120318-a50c2eb18c8c/protobuf/Service.proto (about)

     1  syntax = "proto3";
     2  
     3  import "google/protobuf/empty.proto";
     4  import "v1/Span.proto";
     5  import "v1/Stat.proto";
     6  import "v1/Cmd.proto";
     7  
     8  option java_multiple_files = true;
     9  option java_package = "com.navercorp.pinpoint.grpc.trace";
    10  option java_outer_classname = "ServiceProto";
    11  option go_package = "/v1";
    12  
    13  package v1;
    14  
    15  service Span {
    16      rpc SendSpan (stream PSpanMessage) returns (google.protobuf.Empty) {
    17      }
    18  }
    19  
    20  service Agent {
    21      rpc RequestAgentInfo (PAgentInfo) returns (PResult) {
    22      }
    23      rpc PingSession (stream PPing) returns (stream PPing) {
    24      }
    25  }
    26  
    27  service Metadata {
    28      rpc RequestSqlMetaData (PSqlMetaData) returns (PResult) {
    29      }
    30      rpc RequestSqlUidMetaData (PSqlUidMetaData) returns (PResult) {
    31      }
    32      rpc RequestApiMetaData (PApiMetaData) returns (PResult) {
    33      }
    34      rpc RequestStringMetaData (PStringMetaData) returns (PResult) {
    35      }
    36      rpc RequestExceptionMetaData (PExceptionMetaData) returns (PResult) {
    37      }
    38  }
    39  
    40  service Stat {
    41      rpc SendAgentStat (stream PStatMessage) returns (google.protobuf.Empty) {
    42      }
    43  }
    44  
    45  service ProfilerCommandService {
    46      // deprecated api
    47      rpc HandleCommand (stream PCmdMessage) returns (stream PCmdRequest) {
    48          option deprecated = true;
    49      }
    50  
    51      rpc HandleCommandV2 (stream PCmdMessage) returns (stream PCmdRequest) {
    52      }
    53  
    54      rpc CommandEcho (PCmdEchoResponse) returns (google.protobuf.Empty) {
    55      }
    56  
    57      rpc CommandStreamActiveThreadCount (stream PCmdActiveThreadCountRes) returns (google.protobuf.Empty) {
    58      }
    59  
    60      rpc CommandActiveThreadDump (PCmdActiveThreadDumpRes) returns (google.protobuf.Empty) {
    61      }
    62  
    63      rpc CommandActiveThreadLightDump (PCmdActiveThreadLightDumpRes) returns (google.protobuf.Empty) {
    64      }
    65  }