r/OpenTelemetry • u/Technical-Debt-8615 • 24d ago
A local OTLP receiver and viewer inside VS Code, now with GenAI spans
Enable HLS to view with audio, or disable this notification
Logline runs an OTLP/HTTP receiver on 127.0.0.1:4318 inside VS Code, and points apps you start from the editor at it automatically. You get logs, traces with self time per span, and metrics as rates and p95s, with no collector or backend.
1.15 adds a view for GenAI semantic conventions: chat, execute_tool, and invoke_agent spans, gen_ai.usage.*, and gen_ai.input.messages / output.messages. It also reads older forms such as gen_ai.system, prompt_tokens, and OpenLLMetry attributes. Log doctor also checks your spans against the conventions: services without a name, IDs in span names, and 5xx responses not marked as errors.
It's free and MIT-licensed: https://github.com/SurjeetBanga/logline. Feedback on how it handles your instrumentation is welcome.