package metrics
import "k8s.io/apiserver/pkg/storage/etcd3/metrics"
Index ¶
- func RecordEtcdRequestLatency(verb, resource string, startTime time.Time)
- func Register()
- func Reset()
- func UpdateEtcdDbSize(ep string, size int64)
- func UpdateLeaseObjectCount(count int64)
- func UpdateObjectCount(resourcePrefix string, count int64)
Functions ¶
func RecordEtcdRequestLatency ¶
RecordEtcdRequestLatency sets the etcd_request_duration_seconds metrics.
func Register ¶
func Register()
Register all metrics.
func Reset ¶
func Reset()
Reset resets the etcd_request_duration_seconds metric.
func UpdateEtcdDbSize ¶
UpdateEtcdDbSize sets the etcd_db_total_size_in_bytes metric.
func UpdateLeaseObjectCount ¶
func UpdateLeaseObjectCount(count int64)
UpdateLeaseObjectCount sets the etcd_lease_object_counts metric.
func UpdateObjectCount ¶
UpdateObjectCount sets the etcd_object_counts metric.
Source Files ¶
metrics.go
- Version
- v0.19.11
- Published
- May 18, 2021
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 58 seconds ago –
Tools for package owners.