metric

package
v2.13.13 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const PrometheusMetricsPath = "/metrics"

PrometheusMetricsPath is the KSM prometheus metrics endpoint.

Variables

This section is empty.

Functions

func GetDeploymentNameForContainer

func GetDeploymentNameForContainer() definition.FetchFunc

GetDeploymentNameForContainer returns the name of the deployment has created a container. It's providing this information inheriting some metrics from its pod. Returns an empty string if its pod hasn't been created by a deployment.

func GetDeploymentNameForPod

func GetDeploymentNameForPod() definition.FetchFunc

GetDeploymentNameForPod returns the name of the deployment has created a Pod. It returns an empty string if Pod hasn't been created by a deployment.

func GetDeploymentNameForReplicaSet

func GetDeploymentNameForReplicaSet() definition.FetchFunc

GetDeploymentNameForReplicaSet returns the name of the deployment has created a ReplicaSet.

func GetStatusForContainer

func GetStatusForContainer() definition.FetchFunc

GetStatusForContainer returns the status of a container

func UnscheduledItemsPatcher

func UnscheduledItemsPatcher(destination definition.RawGroups, source definition.RawGroups)

UnscheduledItemsPatcher adds to the destination RawGroups the pods that haven't been scheduled

Types

This section is empty.

Jump to

Keyboard shortcuts

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