Documentation
¶
Overview ¶
Package promutil contains Prometheus-related utils.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmptyRegisterer ¶
type EmptyRegisterer struct{}
EmptyRegisterer is an implementation of the prometheus.Registerer that does nothing.
func (EmptyRegisterer) MustRegister ¶
func (EmptyRegisterer) MustRegister(_ ...prometheus.Collector)
MustRegister implements the prometheus.Registerer for EmptyRegistrer.
func (EmptyRegisterer) Register ¶
func (EmptyRegisterer) Register(_ prometheus.Collector) (err error)
Register implements the prometheus.Registerer for EmptyRegistrer. err is always nil.
func (EmptyRegisterer) Unregister ¶
func (EmptyRegisterer) Unregister(_ prometheus.Collector) (ok bool)
Unregister implements the prometheus.Registerer for EmptyRegistrer. ok is always true.
Click to show internal directories.
Click to hide internal directories.