Categories
Self-Hosted Observability Coding Agents OpenTelemetry Log Management Distributed Tracing AI Agent Observability Cost MonitoringStars
Forks
Watchers
Developer links
lotel
lotel collects the OpenTelemetry your coding agents already emit and lays out every model call, tool run, and permission wait as a timeline, with the cost sitting right beside it. Claude Code and Codex sessions begin to appear once the block from the setup page is pasted into the shell they run from, and opencode telemetry is read as well. Spend splits the bill by day, model, and developer. Tools lists every tool with its calls, failures, and latency percentiles. Prompt and tool text stays hidden unless you opt in. Services of your own can send to the same endpoint, and their logs, traces, and metrics land beside the agent data. Logs get live tail and full-text search; Explore groups, filters, and charts any of it by attribute, or answers a read-only SQL query. Parent and child spans form a service map, each node carrying its span count, error rate, and latency. Storage forgets on a schedule: logs expire after seven days, traces after three, and metrics after thirty, or sooner at two gigabytes per table, and a Storage page shows what goes next. Ingest needs a bearer token of at least sixteen characters. One binary does the whole job, with no collector or cluster to run. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache-2.0 licensed.
Benefits
- See what every session did
- Each model call, tool run, and permission wait appears as a bar on a session timeline with its duration, so slow steps and stalled approvals stand out at a glance.
- Know what agents cost
- Spend shows cost by day, model, and developer, and Tools shows which tools failed or were rejected, turning token bills and flaky commands into numbers you can act on.
- Data that cleans itself up
- Logs expire after seven days, traces after three, and metrics after thirty, or when a table hits two gigabytes, so storage stays bounded and no cleanup job is needed.
- Privacy on by default
- Prompt and tool text stays hidden in the interface unless you opt in, and every ingest request needs a bearer token of at least sixteen characters.
Features
- Agent Session Timelines
- Claude Code, Codex, and opencode sessions open as waterfalls of model calls, tool runs, and permission waits, with a Sessions list showing cost, tokens, and events.
- Explore With Builder or SQL
- A query builder adds filters, measures from count to p99, and breakdowns by any column, while a SQL console runs one read-only statement; results are masked like every page.
- Service Map From Spans
- Services become nodes and parent-child spans become edges labeled with call counts; an edge turns red when at least two percent of its calls are errors.
- Retention Built Into Storage
- Each table is capped by age and by size, 2GB by default. Expired Parquet segments are dropped whole, and the Storage page shows what forgets next.
- Logs With Live Tail
- Logs list newest first with severity and service facets, live tail every three seconds, ranked full-text search over sealed segments, and JSON bodies rendered as clickable key=value chips.
- Single Binary, DuckDB Inside
- One Rust binary embeds DuckDB, receives OTLP over HTTP on port 4318, and serves the web interface on port 8080; macOS and Linux on arm64 or x86_64.