utils

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultConfig

func DefaultConfig(rateInterval time.Duration, labelPrefix string) *MetricsDiscoveryConfig

DefaultConfig returns a configuration equivalent to the former pre-advanced-config settings. This means that "normal" series labels will be of the form `<prefix><<.Resource>>`, cadvisor series will be of the form `container_`, and have the label `pod_name`. Any series ending in total will be treated as a rate metric.

Types

This section is empty.

Jump to

Keyboard shortcuts

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