Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
BinaryPath string // full path of the program, required for auto-update procedure
BinaryVersion string // version of the program, required for auto-update procedure
AutoUpdate string `yaml:"autoupdate"` // controls auto-update procedure
NoTrackMode bool `yaml:"no_track_mode"` // controls tracking sensitive information (query texts, etc)
ListenAddress string `yaml:"listen_address"` // Network address and port where the application should listen on
SendMetricsURL string `yaml:"send_metrics_url"` // URL of Weaponry service metric gateway
SendMetricsInterval time.Duration // Metric send interval
APIKey string `yaml:"api_key"` // API key for accessing to Weaponry
ServicesConnsSettings service.ConnsSettings `yaml:"services"` // All connections settings for exact services
Defaults map[string]string `yaml:"defaults"` // Defaults
DisableCollectors []string `yaml:"disable_collectors"` // List of collectors which should be disabled. DEPRECATED in favor collectors settings
CollectorsSettings model.CollectorsSettings `yaml:"collectors"` // Collectors settings propagated from main YAML configuration
Databases string `yaml:"databases"` // Regular expression string specifies databases from which metrics should be collected
DatabasesRE *regexp.Regexp // Regular expression object compiled from Databases
}
Config defines application's configuration.
Click to show internal directories.
Click to hide internal directories.