climetrics

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingConfig   = errors.New("prometheus section missing, can't show metrics")
	ErrMetricsDisabled = errors.New("prometheus is not enabled, can't show metrics")
)
View Source
var ErrNilTable = errors.New("nil table")

ErrNilTable means a nil pointer was passed instead of a table instance. This is a programming error.

Functions

func New

func New(cfg configGetter) *cliMetrics

func NewMetricStore

func NewMetricStore() metricStore

Types

This section is empty.

Jump to

Keyboard shortcuts

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