metrics

package
v0.15.8-beta.1 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ObserveAddCache

func ObserveAddCache(startTime time.Time)

func ObserveCacheHit

func ObserveCacheHit()

func ObserveCacheMiss

func ObserveCacheMiss()

func ObserveGetCache

func ObserveGetCache(startTime time.Time)

func ObserveNewEntry

func ObserveNewEntry()

func RecordEtcdRequestLatency

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

func Register

func Register()

Register all metrics.

func Reset

func Reset()

func UpdateObjectCount

func UpdateObjectCount(resourcePrefix string, count int64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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