Research in practice
ObserveML: Observability Framework for LLM Applications
Observability layer for LLM applications: latency, token cost, hallucination markers, RAG retrieval quality, and semantic drift, surfaced through a real-time dashboard.
Conceptual illustration of the project, not a measurement or product screenshot.
The question & approach
Framework for production-grade observability of LLM systems. Captures prompt and completion traces, RAG retrieval quality, token cost, p95/p99 latency, hallucination confidence markers, and semantic drift. Backed by ClickHouse for high-cardinality metric storage and PostgreSQL for metadata, with multi-language SDKs and a Grafana plugin. The framing is research-engineering: how do we measure whether an LLM application is reliable in production?
Methods
ClickHouse trace storage, semantic-drift monitoring, hallucination confidence scoring, multi-language SDKs.
Evidence & evaluation
How it was assessed
Engineering benchmarks for SDK overhead and trace-query throughput.
Project-reported evaluation. See the source repository for implementation and experimental context.
Contributions
- Latency monitoring (p95/p99) with sub-5ms SDK overhead.
- Token-cost tracking and cost forecasting per session/model.
- Hallucination markers and confidence scoring without ground-truth labels.
- RAG retrieval-quality and semantic-drift detection.
- Multi-language SDKs (Python, TypeScript, Java, Ruby) and Grafana plugin.
The hard parts
- Defining hallucination signals without supervised ground-truth labels.
- Designing a ClickHouse schema for high-cardinality LLM trace queries.
- Building framework-agnostic SDKs across OpenAI, Anthropic, Gemini, and custom backends.