Skip to content

Configuration

Aggregator

Variable Meaning
L2_ID Identifier
L2_URL, L2_PING_URL Announced addresses, grpc:// or grpcs://
L2_TYPE cluster or global
CLUSTER_ID Cluster
METADATA JSON object for selection policies
REDIS_URL, DATABASE_URL Queue and database
AGENT_URL, AGENT_TOKEN Signing agent
MANAGEMENT_TOKEN Token of the API

Runtime settings

Setting Default Range
window_seconds 10 1 to 3600
dedup_ttl_seconds 3600 300 to 604800
heartbeat_seconds 30 5 to 60
retention_days 30 1 to 3650
max_series 50000 100 to 1000000
node_policy allowlist allowlist, tofu

dedup_ttl_seconds must exceed the packet_ttl of the writers.

Proxy

Variable Default Meaning
REDIS_URL required Queue
QUEUE_MAX 20000 Packets that may wait
RATE_PER_PEER 200 Packets per second of one peer

Local stack

Two aggregator settings can differ locally: WINDOW_SECONDS is 5 unless set, and heartbeats are sent every 10 seconds.