MCPcopy
hub / github.com/prometheus/client_golang / Desc

Method Desc

prometheus/wrap.go:201–203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

199}
200
201func (m *wrappingMetric) Desc() *Desc {
202 return wrapDesc(m.wrappedMetric.Desc(), m.prefix, m.labels)
203}
204
205func (m *wrappingMetric) Write(out *dto.Metric) error {
206 if err := m.wrappedMetric.Write(out); err != nil {

Callers

nothing calls this directly

Calls 2

wrapDescFunction · 0.85
DescMethod · 0.65

Tested by

no test coverage detected