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

package metrics

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


Package Files


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 2020-02-23. Refresh now. Tools for package owners.