Feature Flags

NodeDB uses Cargo feature flags for optional capabilities.

FeatureWhat it enables
promqlPromQL query engine at /obsv/api
otelOpenTelemetry OTLP ingest and export
grafanaGrafana data source endpoints
monitoringMeta-feature: enables promql + otel + grafana
kafkaKafka bridge for change stream delivery

The nodedb-fts crate defines additional language features (lang-ja, lang-zh, lang-ko, lang-th) for dictionary-based CJK/Thai segmentation. These are crate-level features, not workspace-level.

Building with Features

cargo build --release --features promql,otel,monitoring
cargo build --release --all-features

Runtime Configuration

Feature-gated capabilities are configurable at runtime via nodedb.toml and environment variables once compiled in.

View page sourceLast updated on Apr 18, 2026 by Farhan Syah