Per-call telemetry
Provider, model, input / output / cached tokens, cost breakdown, time-to-first-token, time-per-output-token, guardrail and PII flags, failover origin, trace id — 28 AI fields captured per call.
AI teams · Telemetry
Apinizer's AI lane joins prompts, completions, MCP calls, and A2A conversations into one Elasticsearch index — and one audit ledger. Cost spikes, latency tail, and guardrail hits all live on the same dashboards.
The problem
The model team has a spreadsheet of prompt samples. The platform team has Prometheus. Compliance has nothing. When 'what did this cost us on Tuesday' becomes a question, three tools disagree. Apinizer puts every AI event — prompt, completion, tool call, agent conversation — in one place, alongside cost and audit. The Tuesday question becomes one query.
Capabilities
Provider, model, input / output / cached tokens, cost breakdown, time-to-first-token, time-per-output-token, guardrail and PII flags, failover origin, trace id — 28 AI fields captured per call.
Turn on live trace for a proxy and watch calls as they happen. Chained calls form one trace tree; a timeline view shows where the time went, and a captured request can be replayed on the worker to reproduce it.
The two numbers every AI decision balances — one dashboard, joined by call, broken out eight ways: person, group, OU, application, model, project, deployment, and team.
Reconstruct any agent chain end-to-end — including MCP invocations and A2A hops. The query joins prompts to tool calls to completions to user-facing responses.
EMA + Bollinger bands on AI metrics. P1 to on-call when latency tail blows; P3 to digest when miss rate creeps.
Every AI event sits alongside the audit ledger, and the same data exports natively over OTLP with OpenTelemetry GenAI semantics, a Prometheus metric family, and an importable Grafana dashboard. Regulator questions about AI decisions resolve as a saved query, not a forensic project.
Use cases
Customer complaint cited a specific answer; audit query returned the prompt, model, route decision, and tool calls in seconds. Response: one paragraph, end of week.
Token spend per virtual consumer broke the EMA upper band; the anomaly alarm fired before the daily budget tripped. Team found a retry storm in one client, capped it, returned to baseline.
Caught in <30 min
Audit query: 'what context entered the model for this citizen's case'. Result: no PII; the redaction firewall did its job. Complaint closed with evidence.
Tickets resolved by AI tagged with their prompt cost; cost per NPS point computed. Finance sees the unit economics in their own dashboard.
Editor flags a completion; the team opens the captured trace, reads the exact prompt and retrieved RAG context, then replays the request on the worker to reproduce it against a different model.
The chain hit MCP → A2A → MCP → API. The audit query returned each leg in order; root cause posted to the partner within a day.
P99 latency drifted from 2.4s to 3.9s overnight. Anomaly alarm fired; root cause was a provider degradation; routing rolled to secondary in 90 seconds.
Operations have stricter alarms; analytics have looser ones. Same observability surface, different policies per agent class.
Recommended products
Per-call telemetry, trace DAG, replay, chain reconstruction.
Open the AI Gateway pageElasticsearch-backed dashboards for cost, latency, tokens, and audit on one view.
Open the Analytics pageAnomaly detection on AI metrics; severity-aware alarms wired to your on-call.
Open the Monitoring pageAI traffic and API traffic in one observability plane — joined by consumer and audit.
Open the Gateway pageResources
Per-call telemetry, trace replay, forensic chains.
Where every AI event lands — alongside routing, caching, firewalls.
Cost, latency, tokens, and audit on one Elasticsearch.
Anomaly detection and severity-aware action chains.
How AI observability feeds KVKK / GDPR / BDDK evidence.
Where AI telemetry sits in the platform.
AI observability, joined
A 30-minute walkthrough — telemetry, tracing, alarms, audit — on a Kubernetes of your choice.