Skip to content

Investigate production issues with OpenTelemetry

Your agents can query logs, spans, and metrics in SQL to find the slow call and the customers it affected.

Ask about an incident or let Cousteau investigate

“Why are invoice exports timing out?”

Claude or ChatGPT

Connect through MCP and ask which service took the longest on failed exports.

Slack

Ask @Altertable for the failing traces, then discuss them in the incident thread.

Cousteau

Cousteau monitors export failures, investigates spikes, and reports which customers were affected.

OpenTelemetry

Put a customer name on a failed request

A timeout log tells you a request failed. Its trace shows where the time went. When your worker records an account ID, your agent can join it to customer data and give support a list of accounts to follow up with.

Put a customer name on a failed request
Use your existing collector
Use your existing collector

Send logs, traces, and metrics through an OTLP/HTTP exporter. Altertable makes all three signals available in its OpenTelemetry catalog.

Read the log beside the span
Read the log beside the span

Match a log record to the operation that emitted it using its trace and span IDs. Read the error alongside the service name and call duration.

Fill in a missing span
Fill in a missing span

If a trace ends at the worker, Cousteau can propose instrumentation for the downstream call in a pull request your team can review.

Look back across releases
Look back across releases

Choose how long to retain telemetry in the lakehouse. Query last quarter’s traces alongside today’s to see when the same timeout first appeared.

From the exporter to the trace timeline

An invoice worker emits a timeout. Follow the trace ID to read the spans in order and see how long each call took.

OpenTelemetry lakehouse

OTLP/HTTP

OTLP ingest

Logs, traces, and metrics

SDKs and collectors stream records into the built-in OpenTelemetry catalog.

  • SPAN invoice.export · 45.2s · error
  • GAUGE export.queue.depth · 18 jobs
  • SPAN storage.write · 44.8s · deadline exceeded
  • LOG invoice-worker · retrying file upload

Lakehouse tables

30-day retention

OpenTelemetry tables

SQL

main.logs

main.spans

main.metrics

Trace timeline

invoice-worker
SELECT span_id, parent_span_id, name, service_name,
 duration_ns / 1000000 AS duration_ms,
 status_code
FROM opentelemetry.main.spans
WHERE trace_id = 'ad93bc50302a4ebaa64c0d342aa18f31'
 AND start_time > now() - INTERVAL 6 MONTH
ORDER BY start_time

Follow one timeout across your tables

Find the slow call, check whether the queue was growing, and identify the customers to contact. Run the SQL yourself or ask your agent to chart the results.

Which operation timed out?

This worker logs an invoice.export.timeout event. Match each occurrence from the past day to its span to see the operation, its duration, and the log message.

logs.sql
SELECT l.timestamp, l.body, s.name AS operation,
s.duration_ns / 1e6 AS duration_ms, s.trace_id
FROM opentelemetry.main.logs AS l
JOIN opentelemetry.main.spans AS s
ON s.trace_id = l.trace_id AND s.span_id = l.span_id
WHERE l.service_name = 'invoice-worker'
AND l.event_name = 'invoice.export.timeout'
AND l.timestamp >= now() - INTERVAL '1 day'
ORDER BY l.timestamp DESC
LIMIT 50;

Explore the rest of the platform

More workloads on the same engine, governance, and pricing.

Context Lakehouse

Context Lakehouse

Query data where it lives or store it in Altertable. Use DuckDB to join connected sources with open Parquet tables in a single SQL query.

AI Data Agents

AI Data Agents

Ask Altertable a data question, delegate a pipeline, or connect your own agent through MCP. Cousteau investigates changes between requests.

Data Apps

Data Apps

Build interactive tools over your lakehouse with SQL and React. Give your team filters, drilldowns, and forecasts they can explore for themselves.

Send your first OpenTelemetry trace

DuckDB workers on open formats, federated SQL across your existing systems,
and an MCP server for agents — at flat monthly pricing.