MCPcopy Create free account
hub / github.com/prometheus/common / String

Method String

model/labels.go:156–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154}
155
156func (l LabelNames) String() string {
157 labelStrings := make([]string, 0, len(l))
158 for _, label := range l {
159 labelStrings = append(labelStrings, string(label))
160 }
161 return strings.Join(labelStrings, ", ")
162}
163
164// A LabelValue is an associated value for a LabelName.
165type LabelValue string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected