kubernetes: k8s.io/kubernetes/pkg/kubelet/custommetrics Index | Files

package custommetrics

import "k8s.io/kubernetes/pkg/kubelet/custommetrics"

Package custommetrics contains support for instrumenting cAdvisor to gather custom metrics from pods.


Package Files



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"

func GetCAdvisorCustomMetricsDefinitionPath Uses

func GetCAdvisorCustomMetricsDefinitionPath(container *v1.Container) (*string, error)

GetCAdvisorCustomMetricsDefinitionPath returns a path to a cAdvisor-specific custom metrics configuration. Alpha implementation.

Package custommetrics imports 2 packages (graph) and is imported by 91 packages. Updated 2019-07-10. Refresh now. Tools for package owners.