Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector interface { Run(stop <-chan struct{}) IncManagedInstances() DecManagedInstances() AddEvent(resource, operation string) }
func NewPrometheusCollector ¶
func NewPrometheusCollector() Collector
NewPrometheusCollector creates the Prometheus metrics collector. It also registers all internal metric collector to prometheus, so do not call this function multiple times.
Click to show internal directories.
Click to hide internal directories.