We need a way to hide OpenTelemetry settings in UI via environment variable, similar to how N8N_HIDE_USAGE_PAGE hides the license/usage page.
Problem:
N8N_OTEL_EXPORTER_OTLP_HEADERS may contain sensitive values (for example API key), and OTEL-related UI should be optionally hidden for customer-facing deployments.
Request:
Please add an environment variable, for example:
N8N_HIDE_OPENTELEMETRY_PAGE=true
Expected behavior:
When enabled, OpenTelemetry settings page is not visible in UI (same behavior pattern as N8N_HIDE_USAGE_PAGE).
Why this helps:
- Prevents accidental exposure of observability configuration to end users
- Improves security posture for embedded/OEM/customer-facing setups
- Keeps behavior consistent with existing page-hiding controls
To Reproduce
- Having self hosted n8n
- Configure OTL using env variables
- Configure headers with sensitive data
- Go to settings
Expected behavior
It’s possible to hide sensitive fields and/or whole page which contains such fields which were set programmatically