Skip to content

Configuration & Runtime

TracePulse reads configuration from config.toml alongside CLI arguments and environment variables. Missing configuration files fall back to in-memory defaults in the inspected loaders rather than always writing a default file on first launch.

  • --web: Starts the WebGUI (tracepulse defaults to Web mode; tracepulse-enterprise requires --web for Web mode).
  • --cli: Selects the interactive terminal UI in Community (tracepulse-enterprise uses terminal UI mode when --web is omitted).
  • --port <port> / --port=<port>: Overrides [web].port (1–65535, once per launch) without rewriting config.toml.
  • --init-admin / --init-admin-from-env / --admin-initialized: Enterprise administrator setup and pre-start check utilities.
  • --license-key <token>: Supplies a fixed offline license token (--license-key > TRACEPULSE_LICENSE_KEY > license.key in the Enterprise data root).
  • --seed, --cidr, --community: Enterprise discovery overrides (if any is passed on CLI, TRACEPULSE_DISCOVERY_* environment variables are not applied).
  • --export-support-bundle <path.zip>: Exports available application logs and a manifest to a new ZIP file (not a full data or configuration backup).
  • --service: Enters the Windows Service dispatcher on Windows for tracepulse-enterprise.
  • TRACEPULSE_DATA_DIR: Used by Community (default ., or /data in the Community Docker image). Enterprise uses fixed OS data roots and ignores TRACEPULSE_DATA_DIR for its application root.
  • TRACEPULSE_WEB_HOST: Community WebServer bind host override (default 127.0.0.1; /data image uses 0.0.0.0). Enterprise WebGUI binds to 127.0.0.1.
  • TRACEPULSE_MASTER_KEY: 64 hex characters or Base64 encoding of 32 bytes; overrides secret.key for credential encryption/decryption. If set but invalid, loading fails rather than falling back to the file.
  • TRACEPULSE_LICENSE_KEY / TRACEPULSE_SETUP_ADMIN_PASSWORD: Used for Enterprise offline licensing and installer-driven initial admin setup.
  • RUST_LOG: Sets Community stderr log filter (default info). Enterprise file logging uses [logging].level (default info, JSON Lines, 50 MiB max active file size, 30-day archive retention).
  • Core ([web], [polling], [snmp], [alert], [retention], [display], [flow]): Configures Web port (8080), polling interval (30s), SNMP 2c/3 credentials and OID overrides, alert thresholds, display settings, and flow collector UDP ports (2055 NetFlow, 4739 IPFIX, 6343 sFlow).
  • Enterprise ([discovery], [storage], [cluster], [security], [zones], [reports], [endpoints], [logging], [notifier]): Configures discovery seeds/CIDRs/depth/node limits, DataFusion/Parquet (default) or ClickHouse flow storage, cluster/gRPC settings, flow security/anomaly thresholds, zone CIDRs, scheduled CSV/HTML reports, opt-in endpoint detection/scoring, logging, and alert channels.
Purpose Transport / direction Default Notes
WebGUI and HTTP APIs Inbound TCP/HTTP 127.0.0.1:8080 Port via --port or [web].port; Community host via TRACEPULSE_WEB_HOST.
SNMP queries Outbound UDP Target UDP/161 Client/manager behavior; not an SNMP agent listening on UDP/161.
Flow collectors Inbound UDP 0.0.0.0:2055 / 4739 / 6343 NetFlow, IPFIX, and sFlow listeners configured under [flow].
Enterprise Central Manager Inbound TCP/gRPC 0.0.0.0:50051 Started when [cluster].role is central-manager.