Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ServerConfig server.Config `yaml:"server,omitempty"` // deprecated use ClientConfigs instead ClientConfig client.Config `yaml:"client,omitempty"` ClientConfigs []client.Config `yaml:"clients,omitempty"` PositionsConfig positions.Config `yaml:"positions,omitempty"` ScrapeConfig []scrapeconfig.Config `yaml:"scrape_configs,omitempty"` TargetConfig file.Config `yaml:"target_config,omitempty"` }
Config for promtail, describing what files to watch.
func (*Config) RegisterFlags ¶
RegisterFlags registers flags.
Click to show internal directories.
Click to hide internal directories.