Documentation ¶
Overview ¶
Package loki implements Loki logs support for the Grafana Cloud Agent.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Whether the Loki subsystem should be enabled. Enabled bool `yaml:"-"` 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 controls the configuration of the Loki log scraper.
func (*Config) RegisterFlags ¶
func (*Config) UnmarshalYAML ¶
UnmarshalYAML implements yaml.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.