OpenTelemetry Variables
The following environment variables can be set to configure what metrics are collected and how they are delivered.
Variable
Default
Description
OTEL_EXPORTER_OTLP_ENDPOINT
—
Turns on traces and metrics and sets the collector base URL.
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
—
Traces-only collector. Turns telemetry on by itself.
OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
—
Metrics-only collector. Turns telemetry on by itself.
OTEL_EXPORTER_OTLP_LOGS_ENDPOINT
—
Logs collector. Needs FORMIO_OTEL_LOGS_ENABLED=true.
FORMIO_OTEL_LOGS_ENABLED
false
Opts in to log export.
OTEL_SERVICE_NAME
formio-server
Overrides the service name.
OTEL_SDK_DISABLED
false
Kill switch.
other OTEL_*
—
Read by the OpenTelemetry SDK itself (protocol, headers, sampling, intervals).
Last updated
Was this helpful?
