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