Documentation ¶
Overview ¶
Package docker contains a monitor for getting metrics about containers running in a docker engine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { config.MonitorConfig `acceptsEndpoints:"false"` // The URL of the docker server DockerURL string `yaml:"dockerURL" default:"unix:///var/run/docker.sock"` // The maximum amount of time to wait for docker API requests TimeoutSeconds int `yaml:"timeoutSeconds" default:"5"` // A mapping of container label names to dimension names. The corresponding // label values will become the dimension value for the mapped name. E.g. // `io.kubernetes.container.name: container_spec_name` would result in a // dimension called `container_spec_name` that has the value of the // `io.kubernetes.container.name` container label. LabelsToDimensions map[string]string `yaml:"labelsToDimensions"` // A list of filters of images to exclude. Supports literals, globs, and // regex. ExcludedImages []string `yaml:"excludedImages"` }
Config for this monitor
Click to show internal directories.
Click to hide internal directories.