Documentation ¶
Index ¶
Constants ¶
View Source
const ( NS = "ringpop" MetricsPath = "/metrics" )
Variables ¶
This section is empty.
Functions ¶
func MustRegister ¶
func MustRegister(collectors ...prometheus.Collector)
MustRegister registers a new metric in the registry. If the metric fail to register it will panic.
func MustRegisterCounter ¶
func MustRegisterCounter(name, help string) prometheus.Counter
MustRegisterCounter creates and registers new Counter with predefined namespace Panics if metrics with same name already registered
func NewCounter ¶
func NewCounter(name, help string) prometheus.Counter
NewCounter creates a new Counter with predefined namespace
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.