apiserver: k8s.io/apiserver/pkg/storage/etcd3/metrics Index | Files

package metrics

import "k8s.io/apiserver/pkg/storage/etcd3/metrics"

Index

Package Files

metrics.go

func RecordEtcdBookmark Uses

func RecordEtcdBookmark(resource string)

RecordEtcdBookmark updates the etcd_bookmark_counts metric.

func RecordEtcdRequestLatency Uses

func RecordEtcdRequestLatency(verb, resource string, startTime time.Time)

RecordEtcdRequestLatency sets the etcd_request_duration_seconds metrics.

func Register Uses

func Register()

Register all metrics.

func Reset Uses

func Reset()

Reset resets the etcd_request_duration_seconds metric.

func UpdateEtcdDbSize Uses

func UpdateEtcdDbSize(ep string, size int64)

UpdateEtcdDbSize sets the etcd_db_total_size_in_bytes metric.

func UpdateObjectCount Uses

func UpdateObjectCount(resourcePrefix string, count int64)

UpdateObjectCount sets the etcd_object_counts metric.

Package metrics imports 4 packages (graph) and is imported by 7 packages. Updated 2020-10-10. Refresh now. Tools for package owners.