Documentation ¶
Index ¶
- func RecordEtcdBookmark(resource string)
- func RecordEtcdRequestLatency(verb, resource string, startTime time.Time)
- func RecordStorageListMetrics(resource string, numFetched, numEvald, numReturned int)
- func Register()
- func Reset()
- func UpdateEtcdDbSize(ep string, size int64)
- func UpdateLeaseObjectCount(count int64)
- func UpdateObjectCount(resourcePrefix string, count int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecordEtcdBookmark ¶ added in v0.20.0
func RecordEtcdBookmark(resource string)
RecordEtcdBookmark updates the etcd_bookmark_counts metric.
func RecordEtcdRequestLatency ¶
RecordEtcdRequestLatency sets the etcd_request_duration_seconds metrics.
func RecordStorageListMetrics ¶ added in v0.23.0
RecordListEtcd3Metrics notes various metrics of the cost to serve a LIST request
func UpdateEtcdDbSize ¶ added in v0.19.0
UpdateEtcdDbSize sets the etcd_db_total_size_in_bytes metric.
func UpdateLeaseObjectCount ¶ added in v0.18.18
func UpdateLeaseObjectCount(count int64)
UpdateLeaseObjectCount sets the etcd_lease_object_counts metric.
func UpdateObjectCount ¶
UpdateObjectCount sets the apiserver_storage_object_counts and etcd_object_counts (deprecated) metric.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.