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"` // A list of process names to match Processes []string `yaml:"processes"` // A map with keys specifying the `plugin_instance` value to be sent for // the values which are regexes that match process names. See example in // description. ProcessMatch map[string]string `yaml:"processMatch"` // Collect metrics on the number of context switches made by the process CollectContextSwitch bool `yaml:"collectContextSwitch" default:"false"` // The path to the proc filesystem -- useful to override if the agent is // running in a container. ProcFSPath string `yaml:"procFSPath" default:"/proc"` }
Config is the monitor-specific config with the generic config embedded
Click to show internal directories.
Click to hide internal directories.