metrics

package
v0.0.0-...-e917273 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPlanCollector

func NewPlanCollector(p *config.Plan) prom.Collector

NewPlanCollector returns a prometheus collector for a execution plan.

func NewStageCollector

func NewStageCollector(stage *config.Stage) prom.Collector

NewStageCollector returns a prometheus collector for a execution stage.

Types

type Scope

type Scope interface {
	Register(prom.Collector) error
}

Scope is a metrics scope.

func NewScope

func NewScope() Scope

NewScope returns a new scope.

Jump to

Keyboard shortcuts

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