Documentation ¶
Overview ¶
Package prom wraps prometheus metrics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counter ¶
type Counter struct {
// contains filtered or unexported fields
}
Counter is a prom metric.
func NewCounter ¶
func NewCounter(opts prometheus.GaugeOpts, labels ...string) *Counter
NewCounter factory method for Counter.
type Histo ¶
type Histo struct {
// contains filtered or unexported fields
}
Histo is a prom metric.
func NewHisto ¶
func NewHisto(opts prometheus.HistogramOpts, labels ...string) *Histo
NewHisto factory method for Histo.
type Increment ¶
type Increment struct {
// contains filtered or unexported fields
}
Increment is a prom metric.
func NewIncrement ¶
func NewIncrement(opts prometheus.CounterOpts, labels ...string) *Increment
NewIncrement factory method for Increment.
Click to show internal directories.
Click to hide internal directories.