prome

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultSummaryHelper

func DefaultSummaryHelper(ns, subsystem, name string, labels ...string) *prometheus.SummaryVec

DefaultSummaryHelper was used to fast create and register prometheus summary metric with default

func NewCounterHelper

func NewCounterHelper(ns, subsystem, name string, labels ...string) *prometheus.CounterVec

NewCounterHelper was used to fast create and register prometheus counter metric

func NewGaugeHelper

func NewGaugeHelper(ns, subsystem, name string, labels ...string) *prometheus.GaugeVec

NewGaugeHelper was used to fast create and register prometheus gauge metric

func NewHistogramHelper

func NewHistogramHelper(ns, subsystem, name string, buckets []float64, labels ...string) *prometheus.HistogramVec

NewHistogramHelper was used to fast create and register prometheus histogram metric

func NewSummaryHelper

func NewSummaryHelper(ns, subsystem, name string, ageBuckets, bufCap uint32, maxAge time.Duration,
	objs map[float64]float64, labels ...string) *prometheus.SummaryVec

NewSummaryHelper was used to fast create and register prometheus summary metric

Types

This section is empty.

Jump to

Keyboard shortcuts

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