Documentation ¶
Overview ¶
Package metrics provides metric reporting for TestGrid components.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CycleReporter ¶ added in v0.0.111
type CycleReporter struct {
// contains filtered or unexported fields
}
CycleReporter reports the status of the task that spawned it and how long it took.
func (*CycleReporter) Fail ¶ added in v0.0.111
func (pr *CycleReporter) Fail()
Fail reports a failure or unexpected error
func (*CycleReporter) Skip ¶ added in v0.0.111
func (pr *CycleReporter) Skip()
Skip reports a cycle that was skipped due to an expected condition, flag, or configuration
func (*CycleReporter) Success ¶ added in v0.0.111
func (pr *CycleReporter) Success()
Success reports success
type Cyclic ¶ added in v0.0.111
type Cyclic struct {
// contains filtered or unexported fields
}
Cyclic is a collection of metrics that measures how long a task takes to complete
func (*Cyclic) Start ¶ added in v0.0.111
func (p *Cyclic) Start() *CycleReporter
Start returns a PeriodicReporter that logs metrics when one of its methods are called.
Click to show internal directories.
Click to hide internal directories.