monitor

package
v2.8.2-0...-dd449ac Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// HealthCounter for pods which are rescheduled by stork monitor
	HealthCounter = prometheus.NewCounter(prometheus.CounterOpts{
		Name: "stork_pods_rescheduled_total",
		Help: "The total number of pods reschduler by stork pod monitor",
	})
)

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	Driver      volume.Driver
	IntervalSec int64
	Recorder    record.EventRecorder
	// contains filtered or unexported fields
}

Monitor Storage driver monitor

func (*Monitor) Start

func (m *Monitor) Start() error

Start Starts the monitor

func (*Monitor) Stop

func (m *Monitor) Stop() error

Stop Stops the monitor

Jump to

Keyboard shortcuts

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