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

Method unwrapRecursively

prometheus/wrap.go:186–193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

184}
185
186func (c *wrappingCollector) unwrapRecursively() Collector {
187 switch wc := c.wrappedCollector.(type) {
188 case *wrappingCollector:
189 return wc.unwrapRecursively()
190 default:
191 return wc
192 }
193}
194
195type wrappingMetric struct {
196 wrappedMetric Metric

Callers 1

RegisterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected