monitor

package
v2.6.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: Apache-2.0 Imports: 18 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