Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CounterVec ¶
type CounterVec struct {
// contains filtered or unexported fields
}
func NewCounterVec ¶
func NewCounterVec(namespace, subsystem, metricsName, help string, labels []string) *CounterVec
func (*CounterVec) Add ¶
func (self *CounterVec) Add(count float64, labels ...string)
func (*CounterVec) Inc ¶
func (self *CounterVec) Inc(labels ...string)
type GaugeVec ¶
type GaugeVec struct {
// contains filtered or unexported fields
}
func NewGaugeVec ¶
type Timer ¶
type Timer struct {
// contains filtered or unexported fields
}
func NewTimer ¶
func NewTimer(namespace, subsystem, metricName, help string, labels []string, opts ...TimerOption) *Timer
NewTimer
type TimerOption ¶
type TimerOption func(*timerOptions)
func WithTimerBuckets ¶
func WithTimerBuckets(buk []float64) TimerOption
func WithTimerConstLabels ¶
func WithTimerConstLabels(lables map[string]string) TimerOption
Click to show internal directories.
Click to hide internal directories.