custommetrics

package
v1.18.4 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
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"
)

Variables

This section is empty.

Functions

func GetCAdvisorCustomMetricsDefinitionPath

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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