Traces
Send OpenTelemetry traces to Altertable when you want spans, service timing, status, attributes, events, and links to be queryable beside product, operational, and business data.
Accepted spans are written to opentelemetry.main.spans.
SDK and collector setup
Follow Configure an exporter for instrumentation, authentication, and OTLP/HTTP setup. See POST /v1/traces for the request body and responses.
Query traces
Spans are normal SQL rows once they are ingested:
SELECTtrace_id,span_id,service_name,name,start_time,duration_ns / 1e6 AS duration_ms,status_codeFROM opentelemetry.main.spansORDER BY start_time DESCLIMIT 100;
You can also explore traces in the Altertable Explore tab with Lucene-syntax search.
Inspect a trace in the app
Open a trace to inspect its spans in the grouped list or interactive flame graph. Use the graph to locate slow spans and their position in the request, then inspect the span's attributes and related logs. Search and filters help narrow the trace list before opening a large trace.
Advanced: trace ID locality
Continue with Query telemetry to investigate and correlate signals.