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

Method msCollect

prometheus/go_collector_go116.go:118–122  ·  view source on GitHub ↗
(ch chan<- Metric, ms *runtime.MemStats)

Source from the content-addressed store, hash-verified

116}
117
118func (c *goCollector) msCollect(ch chan<- Metric, ms *runtime.MemStats) {
119 for _, i := range c.msMetrics {
120 ch <- MustNewConstMetric(i.desc, i.valType, i.eval(ms))
121 }
122}

Callers 1

CollectMethod · 0.95

Calls 1

MustNewConstMetricFunction · 0.85

Tested by

no test coverage detected