prometheus

package
v0.0.196 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type CounterVec

type CounterVec struct {
	// contains filtered or unexported fields
}

func (*CounterVec) WithLabelValues

func (p *CounterVec) WithLabelValues(lvs ...string) metrics.Counter

type GaugeVec

type GaugeVec struct {
	// contains filtered or unexported fields
}

func (*GaugeVec) WithLabelValues

func (p *GaugeVec) WithLabelValues(lvs ...string) metrics.Gauge

type HistogramVec

type HistogramVec struct {
	// contains filtered or unexported fields
}

func (*HistogramVec) WithLabelValues

func (p *HistogramVec) WithLabelValues(lvs ...string) metrics.Histogram

type Metrics

type Metrics struct {
}

func (Metrics) Counter

func (mf Metrics) Counter(opts metrics.CounterOpts) metrics.Counter

func (Metrics) CounterVec

func (mf Metrics) CounterVec(opts metrics.CounterOpts, labelNames []string) metrics.CounterVec

func (Metrics) Gauge

func (mf Metrics) Gauge(opts metrics.GaugeOpts) metrics.Gauge

func (Metrics) GaugeVec

func (mf Metrics) GaugeVec(opts metrics.GaugeOpts, labelNames []string) metrics.GaugeVec

func (Metrics) Histogram

func (mf Metrics) Histogram(opts metrics.HistogramOpts) metrics.Histogram

func (Metrics) HistogramVec

func (mf Metrics) HistogramVec(opts metrics.HistogramOpts, labelNames []string) metrics.HistogramVec

func (Metrics) Summary

func (mf Metrics) Summary(opts metrics.SummaryOpts) metrics.Summary

func (Metrics) SummaryVec

func (mf Metrics) SummaryVec(opts metrics.SummaryOpts, labelNames []string) metrics.SummaryVec

type MetricsEngine

type MetricsEngine struct {
	// contains filtered or unexported fields
}

func (*MetricsEngine) Metrics

func (m *MetricsEngine) Metrics() metrics.Metrics

func (*MetricsEngine) MetricsHandler

func (m *MetricsEngine) MetricsHandler() http.Handler

type SummaryVec

type SummaryVec struct {
	// contains filtered or unexported fields
}

func (*SummaryVec) WithLabelValues

func (p *SummaryVec) WithLabelValues(lvs ...string) metrics.Summary

Jump to

Keyboard shortcuts

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