metrics

package
v0.19.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2020 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 UpdateObjectCount

func UpdateObjectCount(resourcePrefix string, count int64)

UpdateObjectCount sets the etcd_object_counts metric.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL