metrics

package
v0.0.0-...-fa704fd Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Namespace = "pen"

Namespace is prefixed before every metric. If it is changed, it must be done before any metrics collector is registered.

Functions

func PrometheusCollectorsFromFields

func PrometheusCollectorsFromFields(i interface{}) (cs []prometheus.Collector)

Types

type Collector

type Collector interface {
	Metrics() []prometheus.Collector
}

Jump to

Keyboard shortcuts

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