metrics

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Enabled = false

Functions

func MustRegister

func MustRegister(collectors ...prometheus.Collector)

Types

type Metrics

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

func New

func New(listener net.Listener) *Metrics

func (*Metrics) Run

func (m *Metrics) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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