stats

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Flush

func Flush()

func NewClockWithObserve

func NewClockWithObserve(name string, tags ...stats.Tag) *stats.Clock

func Start

func Start(ctx context.Context, logger hclog.Logger, options ...func(*Options))

func WithHandler

func WithHandler(handler stats.Handler) func(*Options)

func WithTick

func WithTick(tick time.Duration) func(*Options)

Types

type Options

type Options struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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