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

Struct WriteRequestV2

pkg/cortexpb/cortex.pb.go:261–267  ·  view source on GitHub ↗

refer to https://github.com/prometheus/prometheus/blob/v3.5.0/prompb/io/prometheus/write/v2/types.proto The histogram and Sample are shared with PRW1.

Source from the content-addressed store, hash-verified

259// refer to https://github.com/prometheus/prometheus/blob/v3.5.0/prompb/io/prometheus/write/v2/types.proto
260// The histogram and Sample are shared with PRW1.
261type WriteRequestV2 struct {
262 Symbols []string `protobuf:"bytes,4,rep,name=symbols,proto3" json:"symbols,omitempty"`
263 Timeseries []PreallocTimeseriesV2 `protobuf:"bytes,5,rep,name=timeseries,proto3,customtype=PreallocTimeseriesV2" json:"timeseries"`
264 Source SourceEnum `protobuf:"varint,6,opt,name=Source,proto3,enum=cortexpb.SourceEnum" json:"Source,omitempty"`
265 SkipLabelNameValidation bool `protobuf:"varint,1000,opt,name=skip_label_name_validation,json=skipLabelNameValidation,proto3" json:"skip_label_name_validation,omitempty"`
266 MessageWithBufRef `protobuf:"bytes,1001,opt,name=Ref,proto3,embedded=Ref,customtype=MessageWithBufRef" json:"Ref"`
267}
268
269func (m *WriteRequestV2) Reset() { *m = WriteRequestV2{} }
270func (*WriteRequestV2) ProtoMessage() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected