monitoring

package
v0.121.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	// contains filtered or unexported fields
}

func NewMonitor

func NewMonitor(namespace string, hostClient client.Client) *Monitor

func (*Monitor) StartMonitoring

func (m *Monitor) StartMonitoring(ctx context.Context, logger logging.Logger)

StartMonitoring is a blocking method that periodically logs data from the status of HorizontalPodAutoscaler objects. It takes into account all HPAs in the same namespace as the current landscaper deployment. In this way it allows a simple monitoring of the cpu and memory consumption of the landscaper pods.

Jump to

Keyboard shortcuts

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