metrics

package
v0.0.0-...-ea9d892 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Emitter

type Emitter struct{}

func NewEmitter

func NewEmitter() *Emitter

func (*Emitter) TryEmitDurationFrom

func (e *Emitter) TryEmitDurationFrom(logger lager.Logger, name string, from time.Time)

func (*Emitter) TryEmitError

func (e *Emitter) TryEmitError(logger lager.Logger, command string, err error, exitCode int32)

func (*Emitter) TryEmitUsage

func (e *Emitter) TryEmitUsage(logger lager.Logger, name string, usage int64, units string)

func (*Emitter) TryIncrementRunCount

func (e *Emitter) TryIncrementRunCount(command string, err error)

Jump to

Keyboard shortcuts

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