metrics

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(interval time.Duration)

Types

type Meter

type Meter interface {
	Start(ctx context.Context) <-chan error
	RegisterCollectors(collectors ...func() (metric.Measurement, error))
	Sink(measure metric.Measurement)
	Meter() metric.Meter
}

func GetMeter

func GetMeter() Meter

Jump to

Keyboard shortcuts

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