A dedicated installation combines client telemetry, a bounded ingestion path, ClickHouse storage and an authenticated dashboard.
Updated November 14, 2026 · Describes source behavior; verify your installed revision.
Where the screen’s numbers come from
Collection and dashboard access use different paths. The diagram shows the optional device-collection path and the authenticated read path; organizer-prepared workshop collection can use a separate configured path. This is an OIDC-enabled device-collection example.
↗The collection and query architecture. Signals move into storage; the dashboard reads scoped results through its API. The two Express boxes represent logical roles of the same application.Logical device path · English diagram labels · open the interactive view
Collection: client → stored observations
Claude Code and Codex export supported signals to a local Collector. A registered device sends them through the authenticated ingestion gateway and central Collector to ClickHouse. The device credential is separate from browser login.
Reading: signed-in user → dashboard result
Organization login supplies the configured role. The API applies time, client and supported filters before returning usage and diagnostic views. Read the cost basis and coverage: a screen can contain a known subtotal or an unavailable signal.
User detail selects an exact telemetry identity and time range. /api/users/tasks lists tasks starting in the effective range; dragging the usage chart narrows the range, while clicking a point selects one bucket. /api/users/tasks/detail returns the selected task's lanes, spans and evidence-based cost explanations.
Client
Task and timing
Usage and cost
Claude Code
An interaction span identifies the task and duration. LLM, tool and permission-wait spans form the timeline; observed agent IDs form lanes.
LLM span tokens; reported request cost joined from logs when available, otherwise the applicable pricing calculation. The displayed basis can be mixed.
Codex
A turn with a conversation ID and unique turn ID identifies the task. Duration is the observed span window; only the main lane is available.
Unique usage-bearing completion logs linked to the turn window provide tokens and AWS list estimates. Sampling spans receive matching completion values for display.
Codex task usage is a view of linked completion records, not an additional accounting source. Unattached completions are reported separately; calls lacking a matching sampling span can be absent from the cumulative cost band. The Analytics Trace preview reads diagnostic spans independently.
Task-detail queries select allowlisted metadata. The UI masks identities and does not render raw prompts, commands or paths; this display policy does not provide API access control. Trace data has a 90-day retention window, separate from usage rollups.
Central collectionPrivate Collector → ClickHouse → Express → React
The optional device path uses /api/ingest/v1/{logs,metrics,traces}. Browser session cookies do not authorize ingestion. The central Collector owns the ClickHouse write credential; PCs receive a revocable device credential.
Organizer-prepared workshop environments have a separate configured collection path. Do not overlay the device package onto an already prepared Collector without migration.
Collection and API routing identify the emitting client. Provider provenance and model evidence inform backend classification; a model identifier by itself cannot identify the client.
The Claude session-channel classifier distinguishes bedrock, enterprise and unknown. Observed Bedrock model evidence and organization/model fallback rules apply at session scope. This classification is not the dashboard user's SSO role.
Regional/geographic Bedrock model identifiers and bare provider IDs are normalized by the pricing/backend logic. Preserve unsupported scopes and unknown prices rather than assuming every model ID has a price. Codex has no enterprise A/B row.
profile=effort selects Codex log-only detail and skips unrelated metric/trace queries.
Codex log aggregation compacts full-identity events in ClickHouse before transfer. Aggregate-family limits remain visible.
Single-flight caching and bounded admission share repeated work while retaining filter identity, deadlines and overload errors.
These mechanisms reduce work; they do not establish a capacity guarantee for 140 concurrent users. Measure representative filter diversity, cold-cache traffic, ingestion and query latency on the target installation.
OIDC verifies signed identity and maps explicit group values to viewer, analyst or admin. Authorized viewers can read installation-wide telemetry; this is not per-employee row isolation.
Device tokens authorize telemetry ingestion and installer-package downloads, not browser access. They are separately owned, expired and revoked. Telemetry attribution is client-provided; neither an SSO session nor token ownership automatically certifies a telemetry email.
PII masking is a display feature, not API access control. Collection filters remove known content fields but cannot detect arbitrary secrets placed in otherwise supported metadata.
The dashboard image contains the web UI and API. ClickHouse, its schema and the OTel Collector are separate components on every platform. The current Compose file omits the Collector; EKS Terraform reuses existing cluster dependencies. ECS/EC2 need reviewed infrastructure, credentials, networking, probes and persistence configuration; Lambda requires runtime adaptation.
Schema lifecycle, application images, Collector policies and runtime options have independent deployment state. A successful build or Terraform validation does not prove a live rollout or migration.