prometheus

package
v0.0.0-...-ae1f611 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(conf []*config.Prometheus, watcher config.Watcher)

Types

type Prometheus

type Prometheus interface {
	CounterVec(name string) *prometheus.CounterVec
	GaugeVec(name string) *prometheus.GaugeVec
	HistogramVec(name string) *prometheus.HistogramVec
	SummaryVec(name string) *prometheus.SummaryVec
}

func Instance

func Instance() Prometheus

Jump to

Keyboard shortcuts

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