prometheus

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPackageName added in v0.5.2

func GetPackageName() string

func RegisterReplacer added in v0.5.2

func RegisterReplacer(s string, replaceWith string)

func Replacers added in v0.5.2

func Replacers() map[string]string

Types

type Counter

type Counter struct{ kitmetrics.Counter }

func (*Counter) With

func (c *Counter) With(labelValues ...string) metrics.Counter

type Gauge

type Gauge struct{ kitmetrics.Gauge }

func (*Gauge) With

func (g *Gauge) With(labelValues ...string) metrics.Gauge

type Histogram

type Histogram struct{ kitmetrics.Histogram }

func (*Histogram) With

func (h *Histogram) With(labelValues ...string) metrics.Histogram

type Provider

type Provider struct {
	SkipRegisterErr bool
}

func (*Provider) NewCounter

func (p *Provider) NewCounter(o metrics.CounterOpts) metrics.Counter

func (*Provider) NewGauge

func (p *Provider) NewGauge(o metrics.GaugeOpts) metrics.Gauge

func (*Provider) NewHistogram

func (p *Provider) NewHistogram(o metrics.HistogramOpts) metrics.Histogram

Jump to

Keyboard shortcuts

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