add_docker_metadata

package
v6.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2018 License: Apache-2.0 Imports: 14 Imported by: 121

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Host        string            `config:"host"`               // Docker socket (UNIX or TCP socket).
	TLS         *docker.TLSConfig `config:"ssl"`                // TLS settings for connecting to Docker.
	Fields      []string          `config:"match_fields"`       // A list of fields to match a container ID.
	MatchSource bool              `config:"match_source"`       // Match container ID from a log path present in source field.
	SourceIndex int               `config:"match_source_index"` // Index in the source path split by / to look for container ID.
	MatchPIDs   []string          `config:"match_pids"`         // A list of fields containing process IDs (PIDs).
	HostFS      string            `config:"system.hostfs"`      // Specifies the mount point of the host’s filesystem for use in monitoring a host from within a container.

	// Annotations are kept after container is killed, until they haven't been
	// accessed for a full `cleanup_timeout`:
	CleanupTimeout time.Duration `config:"cleanup_timeout"`
}

Config for docker processor.

Jump to

Keyboard shortcuts

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