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

package metrics

import "k8s.io/kubernetes/staging/src/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). Updated 2019-10-02. Refresh now. Tools for package owners.