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 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 UpdateObjectCount ¶
UpdateObjectCount sets the etcd_object_counts metric.
Source Files ¶
metrics.go
- Version
- v0.19.7
- Published
- Jan 13, 2021
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 13 seconds ago –
Tools for package owners.