⚙️ Configuration

Gigapipe has no configuration files by design — just ENV variables

💡 Gigapipe OSS is K8s and Docker container friendly. All parameters are optional except CLICKHOUSE_SERVER.

🗄️ ClickHouse Settings

Connection to your ClickHouse backend. CLICKHOUSE_SERVER is the only required parameter.

Variable Default Description
CLICKHOUSE_SERVERlocalhostClickHouse server address required
CLICKHOUSE_PORT9000ClickHouse server port (binary)
CLICKHOUSE_DBqrynClickHouse database name
CLICKHOUSE_AUTHdefault:Authentication (user:password)
CLICKHOUSE_PROTOtcpProtocol (tcp, tls)
CLICKHOUSE_TIMEFIELDrecord_datetimeDateTime column for native queries
CLUSTER_NAMEClickHouse cluster name
STORAGE_POLICYClickHouse cluster storage policy
SELF_SIGNED_CERTfalseAllow self-signed TLS certificates

📥 Ingestion & Retention

Controls bulk insert behaviour and data retention windows.

Variable Default Description
BULK_MAXAGE2000Max age for bulk inserts (ms)
BULK_MAXSIZE5000Max size for bulk inserts
BULK_MAXCACHE50000Max labels in memory cache
BULK_MAX_SIZE_BYTEMax bulk size in bytes (empty = infinite)
BULK_MAX_AGE_MS100Max bulk age in ms (min 100ms)
LABELS_DAYS7Max days before label rotation
SAMPLES_DAYS7Max days before timeseries rotation

🌐 Server Settings

HTTP API binding, authentication and operational mode.

Variable Default Description
HOST0.0.0.0HTTP API bind address
PORT3100HTTP API port
QRYN_LOGINBasic HTTP username
QRYN_PASSWORDBasic HTTP password
CORS_ALLOW_ORIGIN*CORS allow origin
READONLYfalseReadonly mode, no DB init
OMIT_CREATE_TABLESfalseSkip database provisioning on startup dangerous
MODEallall, writer, reader, init_only
LOG_LEVELinfoLog level
DEBUGfalseDebug mode (backwards compatibility)
LOG_DRILLDOWNfalseEnable drill-down features for logs

🔬 Advanced Settings

Query tuning, tracing, hashing and alerting configuration.

Variable Default Description
HASHxxhash64Hash function for fingerprints (short-hash, xxhash64)
ADVANCED_PROMETHEUS_MAX_SAMPLES5000000Max samples per PromQL request
ADVANCED_SAMPLES_ORDERINGtimestamp_nsORDER BY for samples table (comma-separated for multiple)
TEMPO_SPAN24Default span for Tempo queries (hours)
TEMPO_TAGTRACEfalseOptional tagging of TraceID expensive
ALERTMAN_URLAlertmanager API URL (e.g. http://alertmanager:9093)

💾 Resource Recommendations

We suggest 8 GB RAM or higher for most setups with 100k–1M fingerprints. Monitor your daily/weekly data volume to forecast disk requirements. Compression codecs and other optimisations can be applied at the ClickHouse level.