Skip to content

Dashboard

The Dashboard is the landing page after login. It rolls up the most useful signals across all projects into one view: live throughput, error rate, latency, top endpoints, recent activity.

A live-updating row of large indicators:

  • Requests / sec — instantaneous throughput (last 60s window).
  • Error rateerrors / total over the last 60s. Coloured red if > 1%.
  • p95 latency — 95th percentile latency (ok requests only) over the last 60s.

The strip refreshes every 5 seconds via a small JSON poll.

Four cards summarising the past 24 hours:

KPIWhat it means
Requests (24h)Total gateway_logs rows in the last 24h
Tokens (24h)Sum of total_tokens
Avg LatencyMean of latency_ms for status=ok rows
Error Ratecount(error) / count(*) as a percentage

A stacked area chart of requests per hour over the past 7 days, segmented by provider_key. Lets you spot:

  • Hourly cycles (morning peak, evening drop).
  • Provider mix shifts (suddenly gpt-4o-mini-heavy after a config change).
  • Outage signatures (cliff drops).

One row per registered provider:

  • Status dot (ok / warn / err).
  • Total requests / errors in the last 24h.
  • Average latency.
  • Active credentials count.

Same as the Providers admin page but condensed.

Top 5 endpoints by request count over the last 24h. Each row links to the endpoint detail page.

Last 10 entries from audit_logs. Time-stamped, severity-coloured. Click to filter the audit log by that event.

Most of the data comes from one query against gateway_logs and audit_logs, run on page load. The hero strip uses a separate small endpoint that returns just the live rates.

For high-volume gateways, consider:

  • Indexing gateway_logs(created_at, project_id, status) if it’s not already.
  • Pruning old rows (gateway_logs > 90d) to keep queries fast.

The Dashboard is gateway-wide — it sums across every project. For project-scoped views, use Metrics inside the project.

A brand-new gateway with no traffic shows zero everywhere. That’s expected. Walk through the Quick Start to send your first request — the dashboard updates immediately.


Next: Metrics — project-scoped charts.


© Akyros Labs LLC. All rights reserved.