Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchConfig ¶
type Config ¶
type Config struct {
Listen string `yaml:"listen"`
Input InputConfig `yaml:"input"`
Loki LokiConfig `yaml:"loki"`
Devices map[string]string `yaml:"devices"`
}
type InputConfig ¶
type InputConfig struct {
UDP UDPConfig `yaml:"udp"`
}
type LokiConfig ¶
type LokiConfig struct {
URL string `yaml:"url"`
Timeout time.Duration `yaml:"timeout"`
Labels LokiLabels `yaml:"labels"`
Batch BatchConfig `yaml:"batch"`
Headers map[string]string `yaml:"headers,omitempty"`
}
type LokiLabels ¶
type LokiLabels struct {
Job string `yaml:"job"`
}
Click to show internal directories.
Click to hide internal directories.