Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { config.MonitorConfig `singleInstance:"true"` // Path to the root of the host filesystem. Useful when running in a // container and the host filesystem is mounted in some subdirectory under // /. HostFSPath string `yaml:"hostFSPath"` // If true, the filesystems selected by `fsTypes` and `mountPoints` will be // excluded and all others included. IgnoreSelected *bool `yaml:"ignoreSelected"` // The filesystem types to include/exclude. FSTypes []string `` /* 240-byte string literal not displayed */ // The mount paths to include/exclude, is interpreted as a regex if // surrounded by `/`. Note that you need to include the full path as the // agent will see it, irrespective of the hostFSPath option. MountPoints []string `yaml:"mountPoints" default:"[\"/^/var/lib/docker/containers/\", \"/^/var/lib/rkt/pods/\", \"/^/net//\", \"/^/smb//\"]"` ReportByDevice bool `yaml:"reportByDevice" default:"false"` ReportInodes bool `yaml:"reportInodes" default:"false"` }
Config is the monitor-specific config with the generic config embedded
Click to show internal directories.
Click to hide internal directories.