metrics

package
v0.6.10 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Namespace = "bee"

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