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

Struct uncheckedCollector

prometheus/wrap_test.go:27–29  ·  view source on GitHub ↗

uncheckedCollector wraps a Collector but its Describe method yields no Desc.

Source from the content-addressed store, hash-verified

25
26// uncheckedCollector wraps a Collector but its Describe method yields no Desc.
27type uncheckedCollector struct {
28 c Collector
29}
30
31func (u uncheckedCollector) Describe(_ chan<- *Desc) {}
32func (u uncheckedCollector) Collect(c chan<- Metric) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected