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

Method Describe

prometheus/registry_test.go:1110–1115  ·  prometheus/registry_test.go::collidingCollector.Describe

Describe satisfies part of the prometheus.Collector interface.

(desc chan<- *prometheus.Desc)

Source from the content-addressed store, hash-verified

1108
1109// Describe satisfies part of the prometheus.Collector interface.
1110func (m *collidingCollector) Describe(desc chan<- *prometheus.Desc) {
1111 m.a.Describe(desc)
1112 m.b.Describe(desc)
1113 m.c.Describe(desc)
1114 m.d.Describe(desc)
1115}
1116
1117// Collect satisfies part of the prometheus.Collector interface.
1118func (m *collidingCollector) Collect(metric chan<- prometheus.Metric) {

Callers

nothing calls this directly

Calls 1

DescribeMethod · 0.65

Tested by

no test coverage detected