Settings for open source distributions
Docker
If using the All in One, HyperDX Only or Local Mode simply pass the desired setting via an environment variable e.g.Docker Compose
If using the Docker Compose deployment guide, the.env file can be used to modify settings.
Alternatively, explicitly overwrite settings in the docker-compose.yaml file e.g.
Example:
Helm
Customizing values (optional)
You can customize settings by using--set flags e.g.
values.yaml. To retrieve the default values:
ClickStack UI (HyperDX) application
Data source settings
The ClickStack UI relies on the user defining a source for each of the Observability data types/pillars:LogsTracesMetricsSessions
Team Settings -> Sources, as shown below for logs:
Each of these sources require at least one table specified on creation and a set of columns which allow HyperDX to query the data.
If using the default OpenTelemetry (OTel) schema distributed with ClickStack, these columns can be automatically inferred for each of the sources. If modifying the schema or using a custom schema, users are required to specify and update these mappings.
The default schema for ClickHouse distributed with ClickStack is the schema created by the ClickHouse exporter for the OTel collector. These column names correlate with the OTel official specification documented here.
Logs
Traces
Metrics
Sessions
Highlighted Attributes
Highlighted Attributes and Highlighted Trace Attributes can be configured on Log and Trace data sources.- Highlighted Attributes are columns or expressions which are displayed for each log or span, when viewing log or span details.
- Highlighted Trace Attributes are columns or expressions which are queried from each log or span in a trace, and displayed above the trace waterfall.
Correlated sources
To enable full cross-source correlation in ClickStack, you must configure correlated sources for logs, traces, metrics, and sessions. This allows HyperDX to associate related data and provide rich context when rendering events.Logs: Can be correlated with traces and metrics.Traces: Can be correlated with logs, sessions, and metrics.Metrics: Can be correlated with logs.Sessions: Can be correlated with traces.
Application configuration settings
HyperDX in ClickHouse CloudThese settings can’t be modified when HyperDX is managed in ClickHouse Cloud.
-
HYPERDX_API_KEY- Default: None (required)
- Description: Authentication key for the HyperDX API.
- Guidance:
- Required for telemetry and logging
- In local development, can be any non-empty value
- For production, use a secure, unique key
- Can be obtained from the team settings page after account creation
-
HYPERDX_LOG_LEVEL- Default:
info - Description: Sets the logging verbosity level.
- Options:
debug,info,warn,error - Guidance:
- Use
debugfor detailed troubleshooting - Use
infofor normal operation - Use
warnorerrorin production to reduce log volume
- Default:
-
HYPERDX_API_PORT- Default:
8000 - Description: Port for the HyperDX API server.
- Guidance:
- Ensure this port is available on your host
- Change if you have port conflicts
- Must match the port in your API client configurations
- Default:
-
HYPERDX_APP_PORT- Default:
8000 - Description: Port for the HyperDX frontend app.
- Guidance:
- Ensure this port is available on your host
- Change if you have port conflicts
- Must be accessible from your browser
- Default:
-
HYPERDX_APP_URL- Default:
http://localhost - Description: Base URL for the frontend app.
- Guidance:
- Set to your domain in production
- Include protocol (http/https)
- Don’t include trailing slash
- Default:
-
MONGO_URI- Default:
mongodb://db:27017/hyperdx - Description: MongoDB connection string.
- Guidance:
- Use default for local development with Docker
- For production, use a secure connection string
- Include authentication if required
- Example:
mongodb://user:pass@host:port/db
- Default:
-
MINER_API_URL- Default:
http://miner:5123 - Description: URL for the log pattern mining service.
- Guidance:
- Use default for local development with Docker
- Set to your miner service URL in production
- Must be accessible from the API service
- Default:
-
FRONTEND_URL- Default:
http://localhost:3000 - Description: URL for the frontend app.
- Guidance:
- Use default for local development
- Set to your domain in production
- Must be accessible from the API service
- Default:
-
OTEL_SERVICE_NAME- Default:
hdx-oss-api - Description: Service name for OpenTelemetry instrumentation.
- Guidance:
- Use descriptive name for your HyperDX service. Applicable if HyperDX self-instruments.
- Helps identify the HyperDX service in telemetry data
- Default:
-
NEXT_PUBLIC_OTEL_EXPORTER_OTLP_ENDPOINT- Default:
http://localhost:4318 - Description: OpenTelemetry collector endpoint.
- Guidance:
- Relevant of self-instrumenting HyperDX.
- Use default for local development
- Set to your collector URL in production
- Must be accessible from your HyperDX service
- Default:
-
USAGE_STATS_ENABLED- Default:
true - Description: Toggles usage statistics collection.
- Guidance:
- Set to
falseto disable usage tracking - Useful for privacy-sensitive deployments
- Default is
truefor better product improvement
- Default:
-
IS_OSS- Default:
true - Description: Indicates if running in OSS mode.
- Guidance:
- Keep as
truefor open-source deployments - Set to
falsefor enterprise deployments - Affects feature availability
- Default:
-
IS_LOCAL_MODE- Default:
false - Description: Indicates if running in local mode.
- Guidance:
- Set to
truefor local development - Disables certain production features
- Useful for testing and development
- Default:
-
EXPRESS_SESSION_SECRET- Default:
hyperdx is cool 👋 - Description: Secret for Express session management.
- Guidance:
- Change in production
- Use a strong, random string
- Keep secret and secure
- Default:
-
ENABLE_SWAGGER- Default:
false - Description: Toggles Swagger API documentation.
- Guidance:
- Set to
trueto enable API documentation - Useful for development and testing
- Disable in production
- Default:
-
BETA_CH_OTEL_JSON_SCHEMA_ENABLED- Default:
false - Description: Enables Beta support for the JSON type in HyperDX. See also
OTEL_AGENT_FEATURE_GATE_ARGto enable JSON support in the OTel collector. - Guidance:
- Enables a beta feature. JSON-typed schemas are not recommended for typical observability workloads. See Map vs JSON type for the comparison and when each is appropriate.
- Set to
trueto enable JSON support in the ClickStack UI.
- Default:
OpenTelemetry collector
See “ClickStack OpenTelemetry Collector” for more details.-
CLICKHOUSE_ENDPOINT- Default: None (required) if standalone image. If All-in-one or Docker Compose distribution this is set to the integrated ClickHouse instance.
- Description: The HTTPS URL of the ClickHouse instance to export telemetry data to.
- Guidance:
- Must be a full HTTPS endpoint including port (e.g.,
https://clickhouse.example.com:8443) - Required for the collector to send data to ClickHouse
- Must be a full HTTPS endpoint including port (e.g.,
-
CLICKHOUSE_USER- Default:
default - Description: Username used to authenticate with the ClickHouse instance.
- Guidance:
- Ensure the user has
INSERTandCREATE TABLEpermissions - Recommended to create a dedicated user for ingestion
- Ensure the user has
- Default:
-
CLICKHOUSE_PASSWORD- Default: None (required if authentication is enabled)
- Description: Password for the specified ClickHouse user.
- Guidance:
- Required if the user account has a password set
- Store securely via secrets in production deployments
-
HYPERDX_LOG_LEVEL- Default:
info - Description: Log verbosity level for the collector.
- Guidance:
- Accepts values like
debug,info,warn,error - Use
debugduring troubleshooting
- Accepts values like
- Default:
-
OPAMP_SERVER_URL- Default: None (required) if standalone image. If All-in-one or Docker Compose distribution this points to the deployed HyperDX instance.
- Description: URL of the OpAMP server used to manage the collector (e.g., HyperDX instance). This is port
4320by default. - Guidance:
- Must point to your HyperDX instance
- Enables dynamic configuration and secure ingestion
- If omitted, secure ingestion is disabled unless an
OTLP_AUTH_TOKENvalue is specified.
-
OTLP_AUTH_TOKEN- Default: None. Used only for standalone image.
- Description: Allows an OTLP authentication token to be specified. If set, all communication requires this bearer token.
- Guidance:
- Recommended if using the standalone collector image in production.
-
HYPERDX_OTEL_EXPORTER_CLICKHOUSE_DATABASE- Default:
default - Description: ClickHouse database the collector writes telemetry data to.
- Guidance:
- Set if using a custom database name
- Ensure the specified user has access to this database
- Default:
-
OTEL_AGENT_FEATURE_GATE_ARG- Default:
<empty string> - Description: Enables feature flags in the collector. If set to
--feature-gates=clickhouse.json, enables Beta support for the JSON type in the collector, ensuring schemas are created with that type. See alsoBETA_CH_OTEL_JSON_SCHEMA_ENABLEDto enable JSON support in HyperDX. - Guidance:
- Enables a beta feature. JSON-typed schemas are not recommended for typical observability workloads. See Map vs JSON type for the comparison and when each is appropriate.
- Set to
--feature-gates=clickhouse.jsonto create new tables using the JSON type.
- Default: