Guide
This guide is for people who want useful logs and, later, traces and metrics, without first learning OpenTelemetry. Get started takes you through the first three steps; the guide fills in the rest.
The words worth knowing Events, spans, traces, metrics, OTLP, collectors and backends, in plain words.
Recipes JSON logs in a container, backends, web services, MCP servers, and turning things off.
Backends Elastic, Grafana with Tempo and Loki, hosted backends, Jaeger, the OpenTelemetry Collector and Prometheus, each with a stack to run.
Sending to a collector OTLP over HTTP or gRPC, headers and TLS certificates, and OTLP/JSON lines to standard output or a file.
Metrics for your backend Totals or deltas, explicit or exponential histograms, and views that change one metric without touching code.
Libraries oxtel instruments HTTP servers and clients, databases, MCP, calls to generative AI models and the tokio runtime, each in about one line.
Databases Spans and timings for every query, from SQLite, PostgreSQL and sqlx, and how to choose between sqlx's two options.
When something's wrong What to check, by symptom: no log lines, nothing arriving, too much output.
Telemetry without changing code: eBPF How eBPF instrumentation works, what it can't see, and how it complements oxtel.