package custommetrics
import "k8s.io/kubernetes/pkg/kubelet/custommetrics"
Package custommetrics contains support for instrumenting cAdvisor to gather custom metrics from pods.
Index ¶
Constants ¶
const ( // CustomMetricsDefinitionContainerFile is the file in container that stores Custom Metrics definition CustomMetricsDefinitionContainerFile = "definition.json" // CustomMetricsDefinitionDir is the dir where Custom Metrics definition is stored CustomMetricsDefinitionDir = "/etc/custom-metrics" )
Functions ¶
func GetCAdvisorCustomMetricsDefinitionPath ¶
GetCAdvisorCustomMetricsDefinitionPath returns a path to a cAdvisor-specific custom metrics configuration. Alpha implementation.
Source Files ¶
custom_metrics.go
- Version
- v1.23.14
- Published
- Nov 9, 2022
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 22 seconds ago –
Tools for package owners.