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 `yaml:",inline" acceptsEndpoints:"true"` Host string `yaml:"host" validate:"required"` Port uint16 `yaml:"port" validate:"required"` Name string `yaml:"name"` // A list of databases along with optional authentication credentials. Databases []Database `yaml:"databases" required:"true"` // These credentials serve as defaults for all databases if not overridden Username string `yaml:"username"` Password string `yaml:"password" neverLog:"true"` // A SignalFx extension to the plugin that allows us to disable the normal // behavior of the MySQL collectd plugin where the `host` dimension is set // to the hostname of the MySQL database server. When `false` (the // recommended and default setting), the globally configured `hostname` // config is used instead. ReportHost bool `yaml:"reportHost"` }
Config is the monitor-specific config with the generic config embedded
Click to show internal directories.
Click to hide internal directories.