Storage Options
Built-in MongoDB (default)
global:
installMongo: true
mongodb:
persistence:
enabled: true
size: "10Gi" # adjust for production
storageClass: "fast-ssd"
External MongoDB
global:
installMongo: false
mongodb:
hosts: "mongo1.example.com:27017,mongo2.example.com:27017"
username: "elchi"
password: "secure-password"
database: "elchi"
replicaset: "rs0"
tlsEnabled: true
Built-in VictoriaMetrics
global:
installVictoriaMetrics: true
victoriametrics:
storage:
size: "20Gi"
storageClass: "standard"
retentionPeriod: "30d"
External VictoriaMetrics
global:
installVictoriaMetrics: false
victoriametrics:
endpoint: "http://victoria-metrics.monitoring:8428"
Built-in ClickHouse (default)
ClickHouse holds the raw API-events stream that feeds API discovery. It is bundled by default and consumed by the elchi-collector:
global:
installClickhouse: true
installCollector: true
External ClickHouse
Point the collector at an existing ClickHouse cluster instead of the bundled one:
global:
installClickhouse: false
clickhouse:
hosts: "clickhouse.example.com:9000"
password: "" # set your own — do not commit it
Sizing guide
- MongoDB — 10 GB for small deployments, 50 GB+ for production.
- VictoriaMetrics — 20 GB for ~30 days retention; scale with metric volume.
- ClickHouse — sized by event volume and retention (default 7-day TTL on raw events).
- SSD-backed storage classes give meaningful headroom for all three.