Skip to main content

3 posts tagged with "observability"

View All Tags
LLM Observability: Metrics, Traces and gen_ai Spans

LLM Observability: Metrics, Traces and gen_ai Spans

· 9 min read

LLM observability means you can answer, from data you already collect, what every model call did: which model and provider served it, how long it took, how many tokens it used, what it cost, and which governance decision applied. On DVARA, an AI gateway that governs model, tool and agent-to-agent calls, you get that from four signals: a structured access log line, Prometheus metrics, OpenTelemetry spans with the standard gen_ai.* attributes, and an audit record. The log, the trace and the audit record share one trace ID. Metrics and traces tell you how the system behaves. Only the audit record is signed evidence of the governed decision.

Streaming, Structured Outputs, Observability, and Local Models

Streaming, Structured Outputs, Observability, and Local Models

· 5 min read
Correction, 2026-08-28

This post was published against 1.0.0 and referred to the gateway image as ghcr.io/dvarahq/dvara/dvara-llm-gateway. The package was renamed to ghcr.io/dvarahq/dvara-gateway in 1.7.0, so the original command no longer pulls anything. The commands below have been updated to the current image and tag; the rest of the post is unchanged.

In the previous post, you got DVARA running and sent requests to multiple providers through a single OpenAI SDK client. This post covers the next layer of AI gateway capabilities — LLM streaming, structured JSON outputs, Prometheus observability, and local development with Ollama.