Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
TenantValue string
TenantKey string
// SinkKey is the key that is used to register the sink with zap
SinkKey string
// Url of the loki server including http:// or https://
Url string
// BatchMaxSize is the maximum number of log lines that are sent in one request
BatchMaxSize int
// BatchMaxWait is the maximum time to wait before sending a request
BatchMaxWait time.Duration
// Labels that are added to all log lines
Labels map[string]string
Username string
Password string
Headers map[string]string
}
Click to show internal directories.
Click to hide internal directories.