type github.com/prometheus/client_golang/prometheus.Labels
50 uses
github.com/prometheus/client_golang/prometheus (current package)
counter.go#L191: func (v *CounterVec) GetMetricWith(labels Labels) (Counter, error) {
counter.go#L214: func (v *CounterVec) With(labels Labels) Counter {
counter.go#L235: func (v *CounterVec) CurryWith(labels Labels) (*CounterVec, error) {
counter.go#L245: func (v *CounterVec) MustCurryWith(labels Labels) *CounterVec {
desc.go#L78: func NewDesc(fqName, help string, variableLabels []string, constLabels Labels) *Desc {
gauge.go#L202: func (v *GaugeVec) GetMetricWith(labels Labels) (Gauge, error) {
gauge.go#L225: func (v *GaugeVec) With(labels Labels) Gauge {
gauge.go#L246: func (v *GaugeVec) CurryWith(labels Labels) (*GaugeVec, error) {
gauge.go#L256: func (v *GaugeVec) MustCurryWith(labels Labels) *GaugeVec {
go_collector.go#L81: nil, Labels{"version": runtime.Version()}),
go_collector.go#L391: nil, Labels{"path": path, "version": version, "checksum": sum},
histogram.go#L142: ConstLabels Labels
histogram.go#L424: func (v *HistogramVec) GetMetricWith(labels Labels) (Observer, error) {
histogram.go#L447: func (v *HistogramVec) With(labels Labels) Observer {
histogram.go#L468: func (v *HistogramVec) CurryWith(labels Labels) (ObserverVec, error) {
histogram.go#L478: func (v *HistogramVec) MustCurryWith(labels Labels) ObserverVec {
labels.go#L32: type Labels map[string]string
labels.go#L49: func validateValuesInLabels(labels Labels, expectedNumberOfValues int) error {
metric.go#L92: ConstLabels Labels
observer.go#L44: GetMetricWith(Labels) (Observer, error)
observer.go#L46: With(Labels) Observer
observer.go#L48: CurryWith(Labels) (ObserverVec, error)
observer.go#L49: MustCurryWith(Labels) ObserverVec
summary.go#L113: ConstLabels Labels
summary.go#L587: func (v *SummaryVec) GetMetricWith(labels Labels) (Observer, error) {
summary.go#L610: func (v *SummaryVec) With(labels Labels) Observer {
summary.go#L631: func (v *SummaryVec) CurryWith(labels Labels) (ObserverVec, error) {
summary.go#L641: func (v *SummaryVec) MustCurryWith(labels Labels) ObserverVec {
vec.go#L85: func (m *metricVec) Delete(labels Labels) bool {
vec.go#L94: func (m *metricVec) curryWith(labels Labels) (*metricVec, error) {
vec.go#L136: func (m *metricVec) getMetricWith(labels Labels) (Metric, error) {
vec.go#L168: func (m *metricVec) hashLabels(labels Labels) (uint64, error) {
vec.go#L278: h uint64, labels Labels, curry []curriedLabelValue,
vec.go#L330: hash uint64, labels Labels, curry []curriedLabelValue,
vec.go#L367: h uint64, labels Labels, curry []curriedLabelValue,
vec.go#L394: desc *Desc, metrics []metricWithLabelValues, labels Labels, curry []curriedLabelValue,
vec.go#L425: func matchLabels(desc *Desc, values []string, labels Labels, curry []curriedLabelValue) bool {
vec.go#L445: func extractLabelValues(desc *Desc, labels Labels, curry []curriedLabelValue) []string {
wrap.go#L42: func WrapRegistererWith(labels Labels, reg Registerer) Registerer {
wrap.go#L79: labels Labels
wrap.go#L109: labels Labels
wrap.go#L150: labels Labels
wrap.go#L175: func wrapDesc(desc *Desc, prefix string, labels Labels) *Desc {
wrap.go#L176: constLabels := Labels{}
github.com/prometheus/client_golang/prometheus/promhttp
instrument_server.go#L265: if _, err := v.CurryWith(prometheus.Labels{label: "dummy"}); err == nil {
instrument_server.go#L269: if _, err := v.CurryWith(prometheus.Labels{label: "dummy"}); err == nil {
instrument_server.go#L280: var emptyLabels = prometheus.Labels{}
instrument_server.go#L282: func labels(code, method bool, reqMethod string, status int) prometheus.Labels {
instrument_server.go#L286: labels := prometheus.Labels{}
contrib.go.opencensus.io/exporter/prometheus
prometheus.go#L48: ConstLabels prometheus.Labels // ConstLabels will be set as labels on all views.
 |
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. |