Files
formbricks/apps
Bhagya Amarasinghe 0f0e453e83 fix(otel): use spanProcessors array to prevent default OTLP fallback
In Prometheus-only setups (no OTEL_EXPORTER_OTLP_ENDPOINT), passing
`spanProcessor: undefined` causes @opentelemetry/sdk-node to fall back
to its default OTLP exporter, attempting connections to localhost:4318.

Switch to `spanProcessors: []` to explicitly disable trace export when
no OTLP endpoint is configured.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-11 23:50:45 +05:30
..