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

Method GetUnit

pkg/cortexpb/cortex.pb.go:905–910  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

903}
904
905func (m *MetricMetadata) GetUnit() string {
906 if m != nil {
907 return m.Unit
908 }
909 return ""
910}
911
912type Metric struct {
913 Labels []LabelAdapter `protobuf:"bytes,1,rep,name=labels,proto3,customtype=LabelAdapter" json:"labels"`

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected