Back to / pkg / storage / etcd3 / metrics

Package metrics

Latest Go to latest

The latest major version is .

Published: Sep 16, 2020 | License: Apache-2.0 | Module:


func RecordEtcdRequestLatency

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

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

func UpdateEtcdDbSize(ep string, size int64)

UpdateEtcdDbSize sets the etcd_db_total_size_in_bytes metric.

func UpdateObjectCount

func UpdateObjectCount(resourcePrefix string, count int64)

UpdateObjectCount sets the etcd_object_counts metric.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier