Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectorManager ¶
type CollectorManager struct { // MetricCollector is resposible to collect resource and energy consumption metrics and calculate them when needed MetricCollector *collector.Collector // PrometheusCollector implements the external Collector interface provided by the Prometheus client PrometheusCollector *collector.PrometheusCollector // Watcher register in the kubernetes apiserver to watch for pod events to add or remove it from the ContainersMetrics map Watcher *kubernetes.ObjListWatcher }
func New ¶
func New() *CollectorManager
func (*CollectorManager) Start ¶
func (m *CollectorManager) Start() error
Click to show internal directories.
Click to hide internal directories.