OpenTelemetry
Logs
Logs
Send OpenTelemetry logs to Altertable when you want application log records to be queryable beside product, operational, and business data.
Accepted log records are written to opentelemetry.main.logs.
SDK and collector setup
Follow Configure an exporter for instrumentation, authentication, and OTLP/HTTP setup. See POST /v1/logs for the request body and responses.
Query logs
Logs are normal SQL rows once they are ingested:
SQL
SELECTtimestamp,severity_text,body,trace_id,span_idFROM opentelemetry.main.logsORDER BY timestamp DESCLIMIT 100;
You can also explore logs in the Altertable Explore tab with Lucene-syntax search.
Continue with Query telemetry to investigate and correlate signals.