OpenTelemetry
Traces
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:
SQL
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.
Advanced: trace ID locality
Continue with Query telemetry to investigate and correlate signals.