kubernetes/staging/src/k8s.io/apiserver/pkg/storage/cacher/metrics/metrics.go

const namespace

const subsystem

var listCacheCount

var listCacheNumFetched

var listCacheNumReturned

var InitCounter

var EventsReceivedCounter

var EventsCounter

var TerminatedWatchersCounter

var watchCacheResourceVersion

var watchCacheCapacityIncreaseTotal

var watchCacheCapacityDecreaseTotal

var WatchCacheCapacity

var WatchCacheInitializations

var WatchCacheReadWait

var ConsistentReadTotal

var registerMetrics

// Register all metrics.
func Register() {}

// RecordListCacheMetrics notes various metrics of the cost to serve a LIST request
func RecordListCacheMetrics(resourcePrefix, indexName string, numFetched, numReturned int) {}

// RecordResourceVersion sets the current resource version for a given resource type.
func RecordResourceVersion(resourcePrefix string, resourceVersion uint64) {}

// RecordsWatchCacheCapacityChange record watchCache capacity resize(increase or decrease) operations.
func RecordsWatchCacheCapacityChange(objType string, old, new int) {}