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"` // The name of the particular RabbitMQ instance. Can be a Go template // using other config options. This will be used as the `plugin_instance` // dimension. BrokerName string `yaml:"brokerName" default:"{{.host}}-{{.port}}"` CollectChannels *bool `yaml:"collectChannels"` CollectConnections *bool `yaml:"collectConnections"` CollectExchanges *bool `yaml:"collectExchanges"` CollectNodes *bool `yaml:"collectNodes"` CollectQueues *bool `yaml:"collectQueues"` HTTPTimeout *int `yaml:"httpTimeout"` VerbosityLevel string `yaml:"verbosityLevel"` Username string `yaml:"username" validate:"required"` Password string `yaml:"password" validate:"required" neverLog:"true"` // contains filtered or unexported fields }
Config is the monitor-specific config with the generic config embedded
func (*Config) PythonConfig ¶
PythonConfig returns the embedded python.Config struct from the interface
Click to show internal directories.
Click to hide internal directories.