metrics

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateEvictionsCount

func UpdateEvictionsCount()

UpdateEvictionsCount adds 1 to the evictions counter

func UpdateNodeDrainCount

func UpdateNodeDrainCount(state string, nodeName string)

UpdateNodeDrainCount updates the number drains and drain state for a node

func UpdateNodePodsCount

func UpdateNodePodsCount(nodeType string, nodeName string, numPods int)

UpdateNodePodsCount updates nodePodsCount for a given node

func UpdateNodesMap

func UpdateNodesMap(nm nodes.Map)

UpdateNodesMap updates the metrics calculated by the nodes map

Types

This section is empty.

Jump to

Keyboard shortcuts

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