Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Server server.Config `yaml:"server"`
Prometheus prometheus.Config `yaml:"prometheus,omitempty"`
}
Config contains underlying configurations for the agent
func (*Config) ApplyDefaults ¶
func (c *Config) ApplyDefaults()
ApplyDefaults sets default values in the config
func (*Config) RegisterFlags ¶
func (c *Config) RegisterFlags(f *flag.FlagSet)
RegisterFlags registers flags in underlying configs
Click to show internal directories.
Click to hide internal directories.