Documentation
¶
Index ¶
- func NewCounter(prefix, name, help string) prometheus.Counter
- func NewCounterVec(prefix, name, help string, labelNames []string) *prometheus.CounterVec
- func NewGauge(prefix, name, help string) prometheus.Gauge
- func NewGaugeVec(prefix, name, help string, labelNames []string) *prometheus.GaugeVec
- func Register(registry PrometheusRegistry, collectors ...PrometheusCollector) (err error)
- type PrometheusCollector
- type PrometheusRegistry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCounter ¶
func NewCounter(prefix, name, help string) prometheus.Counter
func NewCounterVec ¶
func NewCounterVec(prefix, name, help string, labelNames []string) *prometheus.CounterVec
func NewGauge ¶
func NewGauge(prefix, name, help string) prometheus.Gauge
func NewGaugeVec ¶
func NewGaugeVec(prefix, name, help string, labelNames []string) *prometheus.GaugeVec
func Register ¶
func Register(registry PrometheusRegistry, collectors ...PrometheusCollector, ) (err error)
Types ¶
type PrometheusCollector ¶
type PrometheusCollector interface { prometheus.Collector }
type PrometheusRegistry ¶
type PrometheusRegistry interface { prometheus.Registerer }
Click to show internal directories.
Click to hide internal directories.