Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Env string
LogLevel string
HTTPPort string
GRPCPort string
DBDriver string
DBDSN string
DLQPath string
DLQReplayInterval string
// Ingestion Filtering
IngestMinSeverity string
IngestAllowedServices string
IngestExcludedServices string
// DB Connection Pool
DBMaxOpenConns int
DBMaxIdleConns int
DBConnMaxLifetime string // e.g. "1h", "30m"
// Hot/Cold Storage
HotRetentionDays int
ColdStoragePath string
ColdStorageMaxGB int
ArchiveScheduleHour int // 0-23, hour of day to run archival
ArchiveBatchSize int
// TSDB
TSDBRingBufferDuration string // e.g. "1h"
// Smart Observability — Adaptive Sampling
SamplingRate float64
SamplingAlwaysOnErrors bool
SamplingLatencyThresholdMs int
// Smart Observability — Metric Cardinality
MetricAttributeKeys string // comma-separated allowlist
MetricMaxCardinality int
// DLQ Safety
DLQMaxFiles int
DLQMaxDiskMB int
DLQMaxRetries int
// API Protection
APIRateLimitRPS int
// MCP Server
MCPEnabled bool
MCPPath string
// Compression
CompressionLevel string // "default", "fast", "best"
// Vector Index
VectorIndexMaxEntries int
// DevMode disables origin checks for WebSocket and enables dev-friendly defaults.
// Derived from APP_ENV == "development".
DevMode bool
}
Click to show internal directories.
Click to hide internal directories.