pod_metrics

package
v0.3.65 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	UnassignedNodeType = "unassigned"
	UnknownNodeType    = "unknown"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterContextMetrics

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

func ExposeClusterContextMetrics

func ExposeClusterContextMetrics(
	context context.ClusterContext,
	utilisationService utilisation.UtilisationService,
	queueUtilisationService utilisation.PodUtilisationService,
	nodeInfoService node.NodeInfoService,
) *ClusterContextMetrics

func (*ClusterContextMetrics) Collect

func (m *ClusterContextMetrics) Collect(metrics chan<- prometheus.Metric)

func (*ClusterContextMetrics) Describe

func (m *ClusterContextMetrics) Describe(desc chan<- *prometheus.Desc)

Jump to

Keyboard shortcuts

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