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 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 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 5 packages. Updated 2019-11-22. Refresh now. Tools for package owners.