Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Server server.Config `yaml:"server,omitempty"` Prometheus prom.Config `yaml:"prometheus,omitempty"` Loki loki.Config `yaml:"loki,omitempty"` Integrations integrations.ManagerConfig `yaml:"integrations,omitempty"` Tempo tempo.Config `yaml:"tempo,omitempty"` // We support a secondary server just for the /-/reload endpoint, since // invoking /-/reload against the primary server can cause the server // to restart. ReloadAddress string `yaml:"-"` ReloadPort int `yaml:"-"` }
Config contains underlying configurations for the agent
func Load ¶
Load loads a config file from a flagset. Flags will be registered to the flagset before parsing them with the values specified by args.
func (*Config) ApplyDefaults ¶
ApplyDefaults sets default values in the config
func (*Config) RegisterFlags ¶
RegisterFlags registers flags in underlying configs
Click to show internal directories.
Click to hide internal directories.