Observability
sxs provides built-in metrics, request logs and traces through Confy, without requiring an external observability backend. OpenTelemetry export is optional and additive.
Confy is a read-only telemetry viewer. It displays telemetry produced by sxs, lxs and wxs; it does not emit telemetry or receive OTLP traffic.
Signals
Built-in traces
Trace collection is enabled by default:
Traces are stored per member/space and retained for seven days by default. They include:
- HTTP request roots;
- observation classification and counting;
- ClickHouse queries;
- SDMX data building;
- local and remote worker execution;
- asynchronous exports;
- Mongo and AMQP spans from automatic instrumentation.
Request logs include traceId and spanId. Worker jobs include traceId as
well.
Trace status follows the request result: successful 2xx/3xx responses are
OK, client-error 4xx responses remain UNSET, and 5xx responses or
unhandled exceptions are ERROR. UNSET is the OpenTelemetry default and does
not mean a trace is incomplete.
Sampling
The default sampler is parent-based trace-ID ratio sampling at 10%:
Use 1.0 in staging or development when full traces are needed.
OpenTelemetry export
External export is disabled unless an OTLP endpoint is configured:
The standard OTEL_RESOURCE_ATTRIBUTES, OTEL_EXPORTER_OTLP_HEADERS and
OTEL_SERVICE_NAME variables are supported.
Telemetry is fail-open: an unavailable collector or storage failure never affects request handling.
Use OTEL_SDK_DISABLED=true to disable all OpenTelemetry telemetry, including
built-in Confy traces.
Configuration
See Configuration and settings for the complete settings reference.
Privacy
By default, sxs does not export:
- authorization headers;
- API keys;
- cookies;
- passwords or tokens;
- full SQL/query statements.
Attribute values are truncated to TELEMETRY_MAX_ATTRIBUTE_LENGTH.
