func github.com/prometheus/client_golang/prometheus.MustNewConstMetric
16 uses
github.com/prometheus/client_golang/prometheus (current package)
expvar_collector.go#L95: m = MustNewConstMetric(desc, UntypedValue, v, copiedLabels...)
expvar_collector.go#L98: m = MustNewConstMetric(desc, UntypedValue, 1, copiedLabels...)
expvar_collector.go#L100: m = MustNewConstMetric(desc, UntypedValue, 0, copiedLabels...)
go_collector.go#L315: ch <- MustNewConstMetric(c.goroutinesDesc, GaugeValue, float64(runtime.NumGoroutine()))
go_collector.go#L317: ch <- MustNewConstMetric(c.threadsDesc, GaugeValue, float64(n))
go_collector.go#L330: ch <- MustNewConstMetric(c.goInfoDesc, GaugeValue, 1)
go_collector.go#L357: ch <- MustNewConstMetric(i.desc, i.valType, i.eval(ms))
go_collector.go#L387: c := &selfCollector{MustNewConstMetric(
process_collector_other.go#L41: ch <- MustNewConstMetric(c.cpuTotal, CounterValue, stat.CPUTime())
process_collector_other.go#L42: ch <- MustNewConstMetric(c.vsize, GaugeValue, float64(stat.VirtualMemory()))
process_collector_other.go#L43: ch <- MustNewConstMetric(c.rss, GaugeValue, float64(stat.ResidentMemory()))
process_collector_other.go#L45: ch <- MustNewConstMetric(c.startTime, GaugeValue, startTime)
process_collector_other.go#L54: ch <- MustNewConstMetric(c.openFDs, GaugeValue, float64(fds))
process_collector_other.go#L60: ch <- MustNewConstMetric(c.maxFDs, GaugeValue, float64(limits.OpenFiles))
process_collector_other.go#L61: ch <- MustNewConstMetric(c.maxVsize, GaugeValue, float64(limits.AddressSpace))
value.go#L99: func MustNewConstMetric(desc *Desc, valueType ValueType, value float64, labelValues ...string) Metric {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |