Skip to content
DocumentationGetting started
Getting started
Send your first logs and traces

Send your first logs and traces

Connect an instrumented service to Altertable and verify a log or trace. Altertable accepts OTLP/HTTP logs, traces, and metrics in protobuf or JSON. For metrics, follow Send metrics.

1. Enable OpenTelemetry

In Catalogs, choose New Catalog and enable OpenTelemetry in the intended environment. Copy that environment's lakehouse credentials.

2. Configure one signal

If your service already uses an OpenTelemetry SDK or collector, follow Send logs or Send traces. Configure the signal endpoint and the Basic Auth header, then generate activity in the service.

If your service is not instrumented, start with SDK and collector setup. You can also use the agent prompt below to configure instrumentation for your application.

3. Verify the data

In SQL Explorer, run the query for the signal you sent:

SQL
SELECT * FROM opentelemetry.main.logs ORDER BY timestamp DESC LIMIT 10;
SQL
SELECT * FROM opentelemetry.main.spans ORDER BY start_time DESC LIMIT 10;

Confirm that the returned service, timestamps, and attributes match the activity you generated. Continue with querying and correlating telemetry.

Do this with your agent

Agent prompt
Read https://altertable.ai/docs/getting-started/opentelemetry.md for context. Help me send logs or traces from this service to Altertable. Inspect the existing OpenTelemetry setup, explain the exporter changes, and verify that telemetry from this service arrives in the intended environment.