- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for descriptorMap (0.1 sec)
-
cmd/metrics-v3-types.go
isExactlyOneSet := (mg.loader == nil) != (mg.bucketLoader == nil) if !isExactlyOneSet { panic("Exactly one Loader function must be set") } mg.descriptorMap = make(map[MetricName]MetricDescriptor, len(mg.Descriptors)) for _, desc := range mg.Descriptors { mg.descriptorMap[desc.Name] = desc } } // SetCache is a helper to initialize MetricsGroup. It sets the cache object.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 30 22:28:46 UTC 2024 - 15.6K bytes - Viewed (0)