var etcdRequestLatency …
var etcdRequestCounts …
var etcdRequestErrorCounts …
var objectCounts …
var dbTotalSize …
var storageSizeDescription …
var storageMonitor …
var etcdEventsReceivedCounts …
var etcdBookmarkCounts …
var etcdLeaseObjectCounts …
var listStorageCount …
var listStorageNumFetched …
var listStorageNumSelectorEvals …
var listStorageNumReturned …
var decodeErrorCounts …
var registerMetrics …
func Register() { … }
func UpdateObjectCount(resourcePrefix string, count int64) { … }
func RecordEtcdRequest(verb, resource string, err error, startTime time.Time) { … }
func RecordEtcdEvent(resource string) { … }
func RecordEtcdBookmark(resource string) { … }
func RecordDecodeError(resource string) { … }
func Reset() { … }
var sinceInSeconds …
func UpdateEtcdDbSize(ep string, size int64) { … }
func SetStorageMonitorGetter(getter func() ([]Monitor, error)) { … }
func UpdateLeaseObjectCount(count int64) { … }
func RecordStorageListMetrics(resource string, numFetched, numEvald, numReturned int) { … }
type Monitor …
type StorageMetrics …
type monitorCollector …
func (m *monitorCollector) setGetter(monitorGetter func() ([]Monitor, error)) { … }
func (m *monitorCollector) getGetter() func() ([]Monitor, error) { … }
func (c *monitorCollector) DescribeWithStability(ch chan<- *compbasemetrics.Desc) { … }
func (c *monitorCollector) CollectWithStability(ch chan<- compbasemetrics.Metric) { … }