Skip to main content
Version: 1.8.0

Analytics

Enterprise only

Not included in DVARA Open Source.

Every request through DVARA emits cost, latency, token, policy-decision, audit, and trace telemetry. Flightdeck shows that data according to the signed-in user's role and active workspace. Machine-readable feeds—Prometheus, OpenTelemetry, structured logs, and SIEM streams—carry the same evidence into your observability stack.

This page is a survey of what's available and where to find it. For deep dives, follow the links into the per-feature documentation.

The three lenses​

LensAudienceWhat it gives you
Platform-wide Flightdeck pagesPlatform operators, security admins, financeCross-workspace operational view with live auto-refreshing panels (3–10s), role-based access controls, and click-through detail.
Workspace-scoped Flightdeck pagesWorkspace users — application developers, team leads, auditorsThe same evidence narrowed to the active workspace. Self-service for workspace admin, developer, and viewer roles.
Raw feeds (Prometheus scrape, OTLP push, stdout JSON logs, Kafka/Splunk/CloudWatch SIEM)Your own observability stack — Grafana, Datadog, Tempo, Jaeger, Splunk, ELK, …Machine-readable telemetry meant to feed your existing dashboards, alerts, and SIEM. DVARA does not try to replace your observability platform; it emits the standard formats so you don't have to.

Use the dashboards for day-to-day operations and the raw feeds for long-term retention, custom dashboards, and alerting. Reports (chargeback, compliance) are the one-shot PDF / CSV artifacts you hand to finance or auditors.

Quick orientation by audience​

You are a …Start here
Platform operator running the gatewayDashboard for live health; Traffic → Latency for routing decisions; Prometheus scrape for alerting
Security / compliance leadGovernance → Audit for the event stream; Governance → Compliance Reports for SOC2 / HIPAA / GDPR rollups; SIEM stream for long-term retention
Finance / FinOpsCost → Cost Dashboard for live spend; Cost → Chargeback Reports for monthly workspace reports; gateway_cost_dollars_total for time-series budget burn
Workspace developer or team leadDashboard for workspace request counts, tokens, and cost; Usage for per-model breakdowns; Audit for the workspace audit trail
Agent platform teamAgents → Analytics for session outcomes, approval funnels, and tool-call heatmaps; MCP → Sessions for per-session timelines

The full surface​

Every analytic the platform exposes, what it shows, where to view it, and the underlying endpoint.

Live dashboards​

AnalyticWhat it showsWhere to viewEndpoint
Operational dashboardReq/s, P95 latency, error rate, tokens/min, provider health, cache stats, priority-admission statsDashboardGET /actuator/prometheus + GET /actuator/gateway-status
Per-workspace dashboardRequest count, token usage, 30-day cost, active API keys, recent audit events — scoped to caller's workspaceWorkspace DashboardFlightdeck page scoped to the active workspace
Cost dashboardTotal cost, Cost-by-Provider donut, Cost-by-Model bar, budget status, forecast cards, anomaly alerts, raw records tableCost → Cost DashboardFlightdeck only — no API
Latency dashboardEWMA latency per (provider, model) — sample count, raw last sample, freshness badgeTraffic → Latency (owner, policy-admin)Flightdeck only — no API
Priority admission statsConcurrent / max concurrent / load %, per-tier admitting vs throttlingDashboard priority card (when routing.priority.enabled=true)Flightdeck only — no API
Semantic cache statsCache size and clear-cache, from the shared storeTraffic → Cache (owner only)Hit rate, average similarity and lookup counts are per-Gateway-process counters. Scrape gateway_semantic_cache_{hits,misses}_total{workspace} from /actuator/prometheus
Licence statusPosture, licensee, type, expiry, days remaining, runtime status badgeOperations → Licence and the status bannerEnterprise GET /actuator/license

Telemetry & event streams​

AnalyticWhat it showsWhere to viewEndpoint
Token usage telemetryPlatform roles see per-request tokens and key metadata; workspace roles see workspace totals and model charts.Cost → Token Usage or workspace UsageFlightdeck only — no API
Audit event streamHMAC-signed, hash-chained events—policy decisions, auth, config imports, licence transitions—with detail and exportGovernance → AuditFlightdeck only — no API
Budget cap usageCurrent period spend vs limit, color-coded progress bar, period boundaries, dollars remainingCost → BudgetsFlightdeck only — no API
MCP tool-call telemetryPer-call records and aggregate countsMCP → Tool CallsFlightdeck only — no API
Agent session timelineSession summaries, tool use, per-call timeline, and JSON exportMCP → SessionsFlightdeck only — no API
Approval queue statsPending decisions, history, status badges, and navigation countMCP → ApprovalsFlightdeck only — no API

Comparison & experimentation analytics​

AnalyticWhat it showsWhere to viewEndpoint
Canary A/B reportPer-variant metrics on a canary-routed route; reset + live split-percentage updateFlightdeck /routes/{id}/canaryFlightdeck only — no API
Shadow policy reportDivergence stats (1h / 24h / 7d) + per-event diff between active and SHADOW policyFlightdeck /policies/{id}/shadowFlightdeck only — no API
Shadow routing reportProvider-vs-shadow comparison on a route (latency, status, response delta)Flightdeck /routes/{id}/shadowFlightdeck only — no API
Prompt experiment metricsPer-variant A/B metrics snapshot for a prompt experimentPrompts → ExperimentsFlightdeck only — no API
Agent behaviour analyticsSession-outcomes donut, approval-funnel bar, top-20 agent leaderboard, tool-call heatmap (server × tool), policy firing frequencyFlightdeck /analyticsFlightdeck page (composed from MCP + audit data)
Model fingerprint driftDrift report per golden prompt — when an upstream model's response semantics shiftedFlightdeck eval/fingerprint surfaceFlightdeck only — no API
Eval pipeline reportsPer-model eval suite results vs golden corpus, drift detection, time-ranged report queriesFlightdeck /eval/reportsFlightdeck only — no API

Downloadable reports​

AnalyticWhat it showsWhere to viewEndpoint
Chargeback reportsPer-workspace monthly rollup: workspace summary, model/provider breakdown, daily cost trend, forecasts, anomalies — PDF + CSVCost → Chargeback ReportsFlightdeck only — no API
Compliance reportsSOC2 / HIPAA / GDPR rollups aggregated from audit + token usage + workspace + policy data — PDFGovernance → Compliance ReportsFlightdeck only — no API

Raw feeds — point your own stack at these​

AnalyticWhat it showsWhere to viewEndpoint
Prometheus metricsRequest, latency, token, cost, guardrail, budget, MCP tool-call, and email-delivery series when their corresponding component is runningYour Grafana / Datadog / MimirGET /actuator/prometheus on the DVARA Gateway and Flightdeck — Bearer $DVARA_ACTUATOR_METRICS_API_KEY. MCP and A2A series use the Gateway endpoint; they do not have separate scrape endpoints.
OpenTelemetry tracesDistributed spans — gateway.provider.chat, …stream, …embed; mcp.filter.*, mcp.server.call — with traceparent propagationYour OTel collector → Jaeger / Tempo / DatadogOTLP push to OTEL_EXPORTER_OTLP_ENDPOINT (default http://localhost:4318/v1/traces)
Structured access logOne JSON line per request: trace_id, method, path, status, latency_ms, model, provider, cache_status, opaque api_key ID (or anonymous), workspace_id, token counts, error_codeYour log aggregatorstdout (structured JSON)
SIEM streamAll audit events forwarded to Splunk HEC, CloudWatch Logs, or KafkaYour SIEMdvara.llm-gateway.siem.{splunk|cloudwatch|kafka}.*

The opaque API-key ID is the stable join key across usage, cost, budgets, structured logs, audit events, analytics, and exports. Flightdeck turns it into a recognizable key name and public prefix where a person needs to read it. The plaintext bearer credential is not written to these surfaces; a request made without an authenticated key is attributed to anonymous.

Per-workspace vs platform scoping​

Almost every analytic in the tables above respects DVARA's multi-tenant scoping rules:

  • Platform-role callers (owner / policy-admin / billing-admin) see cross-workspace data by default. Most Flightdeck list pages accept an optional ?workspace_id= filter to narrow.
  • Workspace-role callers (admin / developer / viewer) only ever see their own workspace's rows. Passing another workspace's id returns HTTP 403 with a WORKSPACE_SCOPE_VIOLATION audit event.

Flightdeck enforces the same rule at the request boundary. Changing a URL cannot move a workspace user outside the workspaces their team membership allows. See Multi-Tenancy for the full isolation model.

What's deliberately not in the box​

A few things the platform deliberately leaves to your existing tools:

  • Long-term metric retention beyond the Prometheus scrape window — point a Mimir / Thanos / Datadog at the scrape endpoint.
  • Custom dashboards beyond the built-in Flightdeck views — Grafana on top of the Prometheus and OTLP feeds covers the long tail.
  • Alerting — Prometheus AlertManager or Grafana alerts on the same metrics; the platform emits the data, not the alert routing.
  • Cross-system correlation (joining DVARA spans against your service's app spans) — handled by your APM via the traceparent propagation DVARA already emits.

Where to go next​

  • DVARA Flight Deck — the full Flightdeck tour, including every dashboard listed above with screenshots.
  • Cost Management — cost dashboard, forecasts, anomaly alerts, budget caps, chargeback reports.
  • Observability — audit event taxonomy, Prometheus metrics list, OpenTelemetry span names, SIEM configuration.
  • Multi-Tenancy — the scoping rules that govern who sees what data.
  • Operate DVARA with Flightdeck — where operators and workspace teams find each supported analytics workflow.