CC ccdash

Claude Code + Codex · Documentation

Operate your own installation

Configure organization identity, verify deployed components and follow the owned runbooks for rollout and recovery.

Updated November 14, 2026 · Describes source behavior; verify your installed revision.

Trace collection checks · Task Trace walkthrough

Connect organization SSO

Set AUTH_MODE=oidc for a confidential OIDC client with discovery/JWKS, signed ID tokens, authorization code and PKCE S256. Register the exact callback https://dashboard.example.com/auth/callback.

A shared Cognito user pool can serve multiple projects through separate app clients, callbacks, secrets and role mappings. Application-specific group assignment belongs in identity administration. Customer emails, domains and pool IDs are configuration, not general application rules.

SettingPurpose
APP_PUBLIC_URLExact HTTPS origin, without a path, query or fragment.
OIDC_ISSUER, OIDC_CLIENT_IDExact issuer identifier and the dedicated application client.
OIDC_CLIENT_SECRET, SESSION_SECRETProvision through protected secret references. Replicas must share the session key and identity configuration.
OIDC_GROUPS_CLAIMTop-level signed group claim: for Cognito, cognito:groups; otherwise the provider's configured claim.
OIDC_SCOPESDefault openid profile. Add only scopes needed by the configured provider, including refresh issuance requirements.
OIDC_ROLE_GROUPSJSON mapping from viewer, analyst and admin to explicit group arrays.
{
  "viewer": ["YOUR_VIEWER_GROUP"],
  "analyst": ["YOUR_EDITOR_GROUP"],
  "admin": ["YOUR_ADMIN_GROUP"]
}

The UI's editor role maps to analyst; editor is not a configuration role key. Unmapped groups cannot log in. The highest mapped role wins.

RolePermissions
viewerRead installation-wide telemetry; no Collector management or chat.
analyst / editorRead telemetry, use enabled chat, download installers and manage owned devices.
adminAnalyst permissions plus installation diagnostics.

Okta and Keycloak can supply this OIDC contract with the appropriate scopes and signed group claims. Verify the actual customer provider; generic support is not a completed provider acceptance test. Login does not provide per-user data isolation.

Provider setup and SSO operations

Keep login for up to 30 days

Persistent login is optional and disabled by default. A one-hour authorization ceiling with a fixed 30-day login limit can be configured as:

SESSION_MAX_AGE_SECONDS=3600
SESSION_REFRESH_MAX_AGE_SECONDS=2592000

The normal short-session default is 900 seconds; permitted values are 300–3600. Refresh lifetime is either 0 (disabled) or 3600–2592000 seconds. Short sessions are also bounded by provider token expiry, so one hour is a ceiling rather than a guaranteed renewal interval.

Renewal is request-driven near or after short-session expiry, not a background hourly timer. The 30-day deadline starts at initial login and does not slide forward. The provider can end it earlier.

Refresh-session design and limits

Deploy a reviewed application revision

  1. Merge the release PR and deploy its immutable vX.Y.Z tag from a clean build context. Record the commit and follow the deployment runbook's preflight checks.
  2. Confirm AWS identity, target cluster, existing Terraform inputs, migration state and a usable rollback image.
  3. Build for the target architecture and publish an immutable image tag/digest. The provided EKS deployment targets arm64.
  4. Review the complete infrastructure plan where needed. Existing installations use compatibility verification and explicit upgrades, not automatic bootstrap retries.
  5. Roll out, check readiness and actual image digests, then verify login, API behavior, ingestion freshness and representative data.

Use /healthz for liveness and /readyz for readiness. Source declarations, passing builds and a healthy process do not establish a working identity provider, fresh telemetry or applied migrations.

EKS deployment and rollback · Schema migration procedure · Customer installation prerequisites

Start with the failing boundary

SymptomFirst checks
Login fails or ends earlyExact origin/callback/issuer, signed mapped groups, provider expiry and refresh contract. Do not print token values.
Collector port occupiedUse the source installer from the selected release; follow supported macOS migration or the existing service owner's manual procedure.
Unidentified or split usersCheck the intended --user-id, emitted identity and dashboard filters. A device's SSO owner is not automatic telemetry attribution.
Token issued but no telemetryRestart coding clients, generate work, check local service/exporter errors and device receipt, then confirm stored data.
Codex detail shows a dashInspect completion cohort and whole-window completeness separately. Missing denominators, prices or components must not become zero.
Slow cost detailInspect query admission, filters and effective resolution; use cost/effort profiles and measure target workloads before changing capacity.

Collector limits and recovery · Cost-query behavior

Operating prerequisites by platform

Every hosting option still needs a persistent ClickHouse schema and a functioning OTel pipeline. ECS and EC2 need separately authored service/secret/storage configuration; the supplied Terraform targets an existing EKS environment. Lambda needs an application runtime adaptation and external database/Collector services.

Deployment options and support boundaries · Schema initialization · Collector setup

Documentation deployment

This documentation is static HTML in site/. The Pages workflow uploads that directory on a merged main change. There is no bundler build and no application/EKS rollout for a documentation-only release.

Use source-linked runbooks for complete procedures. The website summarizes supported behavior and does not attest to the configuration of a particular customer installation.

Verify the Trace path

Start with a new interaction and its expected telemetry identity, client and time bucket. Usage totals and Trace availability come from different signals; a successful log export does not establish trace delivery.

  1. Confirm the current device package or organizer-managed settings enable trace export, then restart the coding client. See the client configuration reference.
  2. Check the local Collector's service and trace exporter for delivery failures. Continue through authenticated ingestion, the central trace pipeline and stored otel_traces records. Device receipt and process health confirm only their own stage.
  3. In user detail, choose a time range containing the task’s start. The task list follows the effective range; drag to narrow it or click one bucket. Use the full-period reset to clear a point selection. Check the intended identity and filters; supported traced tasks are retained for 90 days.
  4. For Codex diagnostics, inspect Analytics' Trace tab using the full insights profile. Cost/effort, tool and performance profiles skip trace queries.
SymptomWhat to check
User has usage but no tasksTrace configuration, restart time, exported identity, task start range and retention. Historical usage is not backfilled into traces.
Codex completion is outside a taskA traced turn needs a conversation ID and unique turn ID. Completions without an eligible turn remain unattached; a linked completion without a sampling span can be absent from the cost band.
Codex subagent count is unavailableThe current task view has only a main lane and does not infer subagent counts from unrelated spans.
Large detail omits totalsCheck truncated and span_total. Task detail is bounded at 5,000 spans; the separate diagnostic preview uses 50 traces and 200 spans per trace.
Codex Trace disappears under a model filterOnly spans carrying model attributes match that filter. Clear it to inspect other diagnostic spans.
A line is dashed in the unit-cost chartThat interval has no computable matched sessions. Dashed segments only connect observed endpoints; they do not fill missing costs or prove no activity.

Task endpoint limits · Collector recovery · Application release procedure