Metadata represents the metadata associated with the given series' samples.
| 492 | |
| 493 | // Metadata represents the metadata associated with the given series' samples. |
| 494 | type MetadataV2 struct { |
| 495 | Type MetadataV2_MetricType `protobuf:"varint,1,opt,name=type,proto3,enum=cortexpb.MetadataV2_MetricType" json:"type,omitempty"` |
| 496 | // help_ref is a reference to the Request.symbols array representing help |
| 497 | // text for the metric. Help is optional, reference should point to an empty string in |
| 498 | // such a case. |
| 499 | HelpRef uint32 `protobuf:"varint,3,opt,name=help_ref,json=helpRef,proto3" json:"help_ref,omitempty"` |
| 500 | // unit_ref is a reference to the Request.symbols array representing a unit |
| 501 | // for the metric. Unit is optional, reference should point to an empty string in |
| 502 | // such a case. |
| 503 | UnitRef uint32 `protobuf:"varint,4,opt,name=unit_ref,json=unitRef,proto3" json:"unit_ref,omitempty"` |
| 504 | } |
| 505 | |
| 506 | func (m *MetadataV2) Reset() { *m = MetadataV2{} } |
| 507 | func (*MetadataV2) ProtoMessage() {} |
nothing calls this directly
no outgoing calls
no test coverage detected