github.com/m3db/m3@v1.5.1-0.20231129193456-75a402aa583b/src/query/generated/proto/prompb/remote.proto (about)

     1  
     2  syntax = "proto3";
     3  package m3prometheus;
     4  
     5  option go_package = "prompb";
     6  
     7  import "github.com/m3db/m3/src/query/generated/proto/prompb/types.proto";
     8  import "github.com/gogo/protobuf/gogoproto/gogo.proto";
     9  
    10  message WriteRequest {
    11    repeated m3prometheus.TimeSeries timeseries = 1 [(gogoproto.nullable) = false];
    12  }
    13  
    14  message ReadRequest {
    15    repeated Query queries = 1;
    16  }
    17  
    18  message ReadResponse {
    19    // In same order as the request's queries.
    20    repeated QueryResult results = 1;
    21  }
    22  
    23  message Query {
    24    int64 start_timestamp_ms = 1;
    25    int64 end_timestamp_ms = 2;
    26    repeated m3prometheus.LabelMatcher matchers = 3;
    27  }
    28  
    29  message QueryResult {
    30    repeated m3prometheus.TimeSeries timeseries = 1;
    31  }