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

Method Collect

prometheus/registry_test.go:51–53  ·  view source on GitHub ↗
(c chan<- prometheus.Metric)

Source from the content-addressed store, hash-verified

49
50func (u uncheckedCollector) Describe(_ chan<- *prometheus.Desc) {}
51func (u uncheckedCollector) Collect(c chan<- prometheus.Metric) {
52 u.c.Collect(c)
53}
54
55func testHandler(t testing.TB) {
56 // TODO(beorn7): This test is a bit too "end-to-end". It tests quite a

Callers

nothing calls this directly

Calls 1

CollectMethod · 0.65

Tested by

no test coverage detected