MCPcopy Create free account
hub / github.com/cortexproject/cortex / WriteRequest

Struct WriteRequest

pkg/cortexpb/cortex.pb.go:189–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187var xxx_messageInfo_MessageWithBufRef proto.InternalMessageInfo
188
189type WriteRequest struct {
190 Timeseries []PreallocTimeseries `protobuf:"bytes,1,rep,name=timeseries,proto3,customtype=PreallocTimeseries" json:"timeseries"`
191 Source SourceEnum `protobuf:"varint,2,opt,name=Source,proto3,enum=cortexpb.SourceEnum" json:"Source,omitempty"`
192 Metadata []*MetricMetadata `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty"`
193 SkipLabelNameValidation bool `protobuf:"varint,1000,opt,name=skip_label_name_validation,json=skipLabelNameValidation,proto3" json:"skip_label_name_validation,omitempty"`
194 MessageWithBufRef `protobuf:"bytes,1001,opt,name=Ref,proto3,embedded=Ref,customtype=MessageWithBufRef" json:"Ref"`
195 // When true, indicates that out-of-order samples should be discarded even if OOO is enabled.
196 DiscardOutOfOrder bool `protobuf:"varint,1002,opt,name=discard_out_of_order,json=discardOutOfOrder,proto3" json:"discard_out_of_order,omitempty"`
197}
198
199func (m *WriteRequest) Reset() { *m = WriteRequest{} }
200func (*WriteRequest) ProtoMessage() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected