Tag

observability

9 posts tagged "observability".

Posts

Latest first

LLM Streaming Failures: Why Mid-Stream Retry Duplicates Output
Engineering

LLM Streaming Failures: Why Mid-Stream Retry Duplicates Output

Streaming makes responses feel fast, but it creates a hard recovery boundary. Learn when an LLM request can fail over safely, why emitted tokens cannot be replayed silently, and how clients should handle partial output.

nRouter team
11 minRead →
5% of Requests, 60% of the Bill: Reading Cost Against Usage
Engineering

5% of Requests, 60% of the Bill: Reading Cost Against Usage

Request count and dollar cost tell different stories, and the gap between them is where the savings are. Here are the four shapes an overlay of cost and usage produces, which one to chase first, and what makes the numbers trustworthy enough to act on.

nRouter team
11 minRead →
Set Up LLM Log Callbacks: Datadog, Langfuse, S3, Slack
Guides

Set Up LLM Log Callbacks: Datadog, Langfuse, S3, Slack

Configure log destinations once at the gateway instead of instrumenting every call site. Here is how to add and verify a callback today, what the Beta does and does not deliver yet, and the live paths that get data out in the meantime.

nRouter team
10 minRead →
Write-Time PII Redaction in LLM Logs, Without Losing Debug Detail
Engineering

Write-Time PII Redaction in LLM Logs, Without Losing Debug Detail

"Redact the logs and you cannot debug" is a false trade. Here is how write-time redaction, typed structure-preserving placeholders and metadata scrubbing keep LLM request logs reproducible while the sensitive values never reach durable storage.

nRouter team
11 minRead →
What an LLM Request Log Should Contain — and What to Leave Out
Guides

What an LLM Request Log Should Contain — and What to Leave Out

The fields that make an LLM request log worth keeping, the content that turns it into a liability, and how a gateway's built-in logs compare with running your own self-hosted trace store.

nRouter team
10 minRead →
LLM Latency: p50, p95, p99, and Time-to-First-Token
Engineering

LLM Latency: p50, p95, p99, and Time-to-First-Token

An average latency number describes an experience nobody had. Here is how to read LLM latency as a distribution — p50, p95, p99, time-to-first-token and total completion time — and how to find what is actually causing a bad tail.

nRouter team
11 minRead →
LLM Cost Attribution: Keys, Teams, and the user Field
Guides

LLM Cost Attribution: Keys, Teams, and the user Field

"The AI bill went up" becomes a query once spend carries structure. Three attribution layers — virtual keys, teams, and the OpenAI-spec user field — turn one opaque total into a breakdown you can group, filter, and cap.

nRouter team
10 minRead →
Langfuse alternative: observability AND routing AND governance included on every plan
Comparison

Langfuse alternative: observability AND routing AND governance included on every plan

Head-to-head: nRouter vs Langfuse. A self-hostable observability + prompt + evals specialist vs a hosted LLM gateway that bundles observability, routing, and governance — every feature included on every plan. Pay-as-you-go fee of 4% of your credits, 0% on Pro. Models available in your live catalog behind one API key.

nRouter team
9 minRead →
Multi-Agent Cost Tracking: Attributing Spend Across an Agent Run
Engineering

Multi-Agent Cost Tracking: Attributing Spend Across an Agent Run

One user action becomes fifty model calls across four agent roles. Here is how to attribute that spend by role, by run and by step, reconcile it against the ledger, and put a ceiling under it that application code cannot bypass.

nRouter team
11 minRead →