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.
| 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. |
| 261 | type 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 | |
| 269 | func (m *WriteRequestV2) Reset() { *m = WriteRequestV2{} } |
| 270 | func (*WriteRequestV2) ProtoMessage() {} |
nothing calls this directly
no outgoing calls
no test coverage detected