Documentation
¶
Overview ¶
Package pgscv is a pgSCV main helper
Package pgscv is a pgSCV main helper
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
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
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
AuthConfig http.AuthConfig `yaml:"authentication"` // TLS and Basic auth configuration
CollectTopTable int `yaml:"collect_top_table"` // Limit elements on Table collector
CollectTopIndex int `yaml:"collect_top_index"` // Limit elements on Indexes collector
CollectTopQuery int `yaml:"collect_top_query"` // Limit elements on Statements collector
SkipConnErrorMode bool `yaml:"skip_conn_error_mode"` // Skipping connection errors and creating a Service instance.
DiscoveryConfig *any `yaml:"discovery"`
DiscoveryServices *map[string]sd.Discovery
ConnTimeout int `yaml:"conn_timeout"`
URLPrefix string `yaml:"url_prefix"` // Url prefix
ThrottlingInterval *int `yaml:"throttling_interval"`
ConcurrencyLimit *int `yaml:"concurrency_limit"`
}
Config defines application's configuration.
Click to show internal directories.
Click to hide internal directories.