func github.com/prometheus/client_golang/prometheus.NewConstMetric
5 uses
github.com/prometheus/client_golang/prometheus (current package)
value.go#L82: func NewConstMetric(desc *Desc, valueType ValueType, value float64, labelValues ...string) (Metric, error) {
value.go#L100: m, err := NewConstMetric(desc, valueType, value, labelValues...)
github.com/prometheus/client_golang/prometheus/promhttp
instrument_server.go#L231: m, err = prometheus.NewConstMetric(desc, prometheus.UntypedValue, 0, lvs...)
contrib.go.opencensus.io/exporter/prometheus
prometheus.go#L220: return prometheus.NewConstMetric(desc, prometheus.CounterValue, pv, labelValues...)
prometheus.go#L227: return prometheus.NewConstMetric(desc, prometheus.GaugeValue, pv, labelValues...)
 |
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. |