metrics

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

type Counter interface {
	Inc()
}

type Generator

type Generator struct {
	Config   *limits.Config
	Duration Histogram
	Errors   Counter
}

func (*Generator) Run

func (g *Generator) Run(ctx context.Context) error

type Histogram

type Histogram interface {
	Observe(float64)
}

Jump to

Keyboard shortcuts

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