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

Method Collect

prometheus/wrap_test.go:32–34  ·  view source on GitHub ↗
(c chan<- Metric)

Source from the content-addressed store, hash-verified

30
31func (u uncheckedCollector) Describe(_ chan<- *Desc) {}
32func (u uncheckedCollector) Collect(c chan<- Metric) {
33 u.c.Collect(c)
34}
35
36func toMetricFamilies(cs ...Collector) []*dto.MetricFamily {
37 reg := NewRegistry()

Callers

nothing calls this directly

Calls 1

CollectMethod · 0.65

Tested by

no test coverage detected