metrics

package
v0.0.0-...-058fe0e Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ImagePullSummary records the summary of pulling image latency.
	ImagePullSummary = prometheus.NewSummaryVec(
		prometheus.SummaryOpts{
			Subsystem: pouchSubsystem,
			Name:      "image_pull_latency_microseconds",
			Help:      "Latency in microseconds to pull a image.",
		},
		[]string{"image"},
	)
)

Functions

func Register

func Register()

Register all metrics.

func SinceInMicroseconds

func SinceInMicroseconds(start time.Time) float64

SinceInMicroseconds gets the time since the specified start in microseconds.

Types

This section is empty.

Jump to

Keyboard shortcuts

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