prometheus

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 4 Imported by: 1

README

prometheus

Monitor Prometheus metrics.

Documentation

Index

Constants

View Source
const (
	Proto = "prometheus"
)

Variables

This section is empty.

Functions

func NewCounter

func NewCounter(cv *prometheus.CounterVec) metrics.Counter

NewCounter new a prometheus counter and returns Counter.

func NewGauge

func NewGauge(gv *prometheus.GaugeVec) metrics.Gauge

NewGauge new a prometheus gauge and returns Gauge.

func NewHistogram

func NewHistogram(hv *prometheus.HistogramVec) metrics.Observer

NewHistogram new a prometheus histogram and returns Histogram.

func NewSummary

func NewSummary(sv *prometheus.SummaryVec) metrics.Observer

NewSummary new a prometheus summary and returns Histogram.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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