Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newMetricValues (0.1 sec)

  1. cmd/metrics-v3-types.go

    // value of this type is passed to the `MetricsLoaderFn`.
    type MetricValues struct {
    	values      map[MetricName][]metricValue
    	descriptors map[MetricName]MetricDescriptor
    }
    
    func newMetricValues(d map[MetricName]MetricDescriptor) MetricValues {
    	return MetricValues{
    		values:      make(map[MetricName][]metricValue, len(d)),
    		descriptors: d,
    	}
    }
    
    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