manager

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL