Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CounterVec ¶
CounterVec represents a vector of labelled counters
type Histogram ¶
type Histogram interface {
Observe(float64)
}
Histogram represents a histogram metric
type WrappedCounterVec ¶
type WrappedCounterVec struct {
// contains filtered or unexported fields
}
WrappedCounterVec wraps a prometheus CounterVec
func NewWrappedCounterVec ¶
func NewWrappedCounterVec(opts prometheus.CounterOpts, labelNames []string) *WrappedCounterVec
NewWrappedCounterVec creates a prometheus CounterVec that is wrapped
func (*WrappedCounterVec) WithLabelValues ¶
func (wG *WrappedCounterVec) WithLabelValues(lvs ...string) Counter
WithLabelValues implements the WithLabelValues to meet the CounterVec interface
type WrappedGaugeVec ¶
type WrappedGaugeVec struct {
// contains filtered or unexported fields
}
WrappedGaugeVec wraps a prometheus GaugeVec
func NewWrappedGaugeVec ¶
func NewWrappedGaugeVec(opts prometheus.GaugeOpts, labelNames []string) *WrappedGaugeVec
NewWrappedGaugeVec creates a prometheus GaugeVec that is wrapped
func (*WrappedGaugeVec) WithLabelValues ¶
func (wG *WrappedGaugeVec) WithLabelValues(lvs ...string) Gauge
WithLabelValues implements the WithLabelValues to meet the GaugeVec interface
Click to show internal directories.
Click to hide internal directories.