metrics

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Watch

func Watch(ctx context.Context, m Metrics)

Watch registers the metrics and continuously logs them to the console.

Types

type Metrics

type Metrics interface {
	Register(reg prometheus.Registerer)
}

Metrics represents a set of registerable metrics.

Jump to

Keyboard shortcuts

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