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

Method Describe

prometheus/go_collector_go116.go:69–74  ·  view source on GitHub ↗

Describe returns all descriptions of the collector.

(ch chan<- *Desc)

Source from the content-addressed store, hash-verified

67
68// Describe returns all descriptions of the collector.
69func (c *goCollector) Describe(ch chan<- *Desc) {
70 c.base.Describe(ch)
71 for _, i := range c.msMetrics {
72 ch <- i.desc
73 }
74}
75
76// Collect returns the current state of all metrics of the collector.
77func (c *goCollector) Collect(ch chan<- Metric) {

Callers

nothing calls this directly

Calls 1

DescribeMethod · 0.65

Tested by

no test coverage detected