Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func (*Config) ApplyShared ¶
ApplyShared sets the shared config in to the server and all agents.
type SharedConfig ¶
type SharedConfig struct {
LoggingLevel string `yaml:"logging" default:"info"`
Indexer *indexer.Config `yaml:"indexer"`
Store *store.Config `yaml:"store"`
MetricsAddr string `yaml:"metricsAddr" default:"localhost:8080"`
// fetches and uploads once a shutdown starts. One value covers every agent.
ShutdownTimeoutSeconds int `yaml:"shutdownTimeoutSeconds" default:"10"`
// values covers every agent; an agent may still set its own.
FetchTimeouts agent.FetchTimeouts `yaml:"fetchTimeouts"`
}
Click to show internal directories.
Click to hide internal directories.