OpenTelemetry
OpenTelemetry support creates a managed opentelemetry catalog for logs and traces. Use it when you want application observability data to live next to product analytics, operational data, and business context in the same lakehouse.
Once enabled for an environment, Altertable accepts OTLP/HTTP protobuf exports and writes records into queryable tables:
Table | Description |
|---|---|
opentelemetry.main.spans | Trace spans with service, timing, status, attributes, events, and links |
opentelemetry.main.logs | Log records with severity, body, trace/span IDs, attributes, and resource attributes |
The tables are partitioned by event time and sorted for common service and trace lookups. You can query them with the same SQL engine, dashboards, insights, and agents you use for other catalogs.
Enable OpenTelemetry
- Open Catalogs in the target environment.
- Find OpenTelemetry in the new catalog options.
- Turn on the OpenTelemetry catalog.
- Configure your OpenTelemetry collector or SDK to export traces and logs to Altertable.
OpenTelemetry is enabled per environment. Each environment gets its own managed catalog and credentials boundary.
OTLP Endpoints
Send OTLP/HTTP protobuf data to the standard paths on api.altertable.ai:
Signal | Endpoint | Content type |
|---|---|---|
Traces | POST https://api.altertable.ai/v1/traces | application/x-protobuf |
Logs | POST https://api.altertable.ai/v1/logs | application/x-protobuf |
Authenticate with the same HTTP Basic Auth credentials used by the Lakehouse REST API. You can find those credentials in the Credentials section for the environment.
Query Examples
Find slow spans by service:
SELECTservice_name,name,duration_ns / 1000000.0 AS duration_ms,start_timeFROM opentelemetry.main.spansWHERE start_time >= now() - INTERVAL '1 day'ORDER BY duration_ns DESCLIMIT 50;
Join logs to traces:
SELECTlogs.timestamp,logs.severity_text,logs.body,spans.name AS span_nameFROM opentelemetry.main.logs logsLEFT JOIN opentelemetry.main.spans spansON logs.trace_id = spans.trace_idAND logs.span_id = spans.span_idWHERE logs.service_name = 'api'ORDER BY logs.timestamp DESCLIMIT 100;
When to Use It
Use the OpenTelemetry catalog when you want to:
- analyze traces and logs with SQL
- correlate application behavior with product events or business data
- build dashboards over service-level signals
- give agents governed access to operational context during investigations
For metrics, continue using your existing metrics backend until Altertable exposes a metrics table for OpenTelemetry data.