metrics

package
v1.17.4-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: BSD-3-Clause Imports: 2 Imported by: 28

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