Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DBPath string
Addr string
IngestAddr string
UIAddr string
NoOpenBrowser bool
Retention time.Duration
LogLevel string
Dev bool
// Tee: mirror incoming log records to a file or stdout in one of
// several human-readable formats, so a dev can pipe them to `less`
// in a shell next to the UI. Tee is strictly a passthrough — what
// lands on the tee is a subset of what's stored, and the store is
// still authoritative.
TeePath string // path to mirror file, or "-" for stdout. Empty = disabled.
TeeServices []string // parsed from --tee-service (comma-separated). Empty = all services.
TeeMinSev int32 // minimum severity_number (OTel); 0 = no floor.
TeeFormat string // "console" (default) | "logfmt" | "json"
TeeColor string // "auto" (default, TTY-detect) | "always" | "never"
}
func (*Config) SplitListeners ¶
Click to show internal directories.
Click to hide internal directories.