Documentation
¶
Index ¶
- func NewCounter(sub, name, help string, labels ...string) (*prometheus.CounterVec, error)
- func NewGauge(sub, name, help string, labels ...string) (*prometheus.GaugeVec, error)
- func NewHistogram(sub, name, help string, labels ...string) (*prometheus.HistogramVec, error)
- func NewSummary(sub, name, help string, labels ...string) (*prometheus.SummaryVec, error)
- func Setup(ns string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCounter ¶ added in v0.7.0
func NewCounter(sub, name, help string, labels ...string) (*prometheus.CounterVec, error)
NewCounter creates and registers a counter.
func NewGauge ¶ added in v0.7.0
func NewGauge(sub, name, help string, labels ...string) (*prometheus.GaugeVec, error)
NewGauge creates and registers a gauge.
func NewHistogram ¶ added in v0.7.0
func NewHistogram(sub, name, help string, labels ...string) (*prometheus.HistogramVec, error)
NewHistogram creates and registers a histogram.
func NewSummary ¶ added in v0.7.0
func NewSummary(sub, name, help string, labels ...string) (*prometheus.SummaryVec, error)
NewSummary creates and registers a summary.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.