Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ToPromMetrics (0.18 sec)

  1. cmd/metrics-v3-types.go

    	return MetricValues{
    		values:      make(map[MetricName][]metricValue, len(d)),
    		descriptors: d,
    	}
    }
    
    // ToPromMetrics - converts the internal metric values to Prometheus
    // adding the given name prefix. The extraLabels are added to each metric as
    // constant labels.
    func (m *MetricValues) ToPromMetrics(namePrefix string, extraLabels map[string]string,
    ) []prometheus.Metric {
    	metrics := make([]prometheus.Metric, 0, len(m.values))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top