Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for ToPromMetrics (0.14 seconds)

  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))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Feb 28 19:33:08 GMT 2025
    - 15.6K bytes
    - Click Count (0)
Back to Top