- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RecordListCacheMetrics (0.8 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/cacher/metrics/metrics.go
legacyregistry.MustRegister(WatchCacheInitializations) legacyregistry.MustRegister(WatchCacheReadWait) }) } // RecordListCacheMetrics notes various metrics of the cost to serve a LIST request func RecordListCacheMetrics(resourcePrefix, indexName string, numFetched, numReturned int) { listCacheCount.WithLabelValues(resourcePrefix, indexName).Inc()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 07:39:23 UTC 2024 - 7.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go
if c.versioner != nil { if err := c.versioner.UpdateList(listObj, readResourceVersion, "", nil); err != nil { return err } } metrics.RecordListCacheMetrics(c.resourcePrefix, indexUsed, len(objs), listVal.Len()) return nil } // GuaranteedUpdate implements storage.Interface. func (c *Cacher) GuaranteedUpdate(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 51.8K bytes - Viewed (0)