Observability platform architecture
HyperDX is a self-hosted observability platform that joins telemetry intake, product configuration, analysis, session replay, and alert delivery in one system. Its web app gives engineers one place to search and explore logs, traces, metrics, and browser sessions while the API connects those views to MongoDB, ClickHouse, managed OpenTelemetry Collectors, and alert destinations.
Platform composition
The platform has a control plane and a data plane. The control plane manages identity, teams, sources, connections, dashboards, alerts, webhooks, and Collector policy. The data plane receives telemetry and keeps it in an analytics store for fast queries.
Service roles
Each role has a clear place in the product. A split self-hosted deployment runs the roles as separate services, while an all-in-one image can group them into one runtime unit.
| Role | Purpose | Main relationship |
|---|---|---|
| Web app | Lets engineers search, visualize, investigate, replay browser sessions, configure, and get help | Sends user actions to the API and presents team-scoped data |
| API | Provides the product control plane and query boundary | Reads MongoDB, queries or proxies analytics backends, manages Collectors, and serves external clients |
| OpenTelemetry Collector | Accepts application and browser telemetry | Processes signals and exports them to ClickHouse |
| MongoDB | Stores identity and product state | Holds users, teams, sources, connections, dashboards, searches, alerts, webhook destinations, and session state |
| ClickHouse | Stores telemetry for analysis | Receives Collector output and query requests from the API |
The web app and API can share one application image, but they remain separate logical roles. The app exposes search, saved searches, chart exploration, dashboards, sessions, service views, service maps, alerts, and setup guidance. Its query and dashboard surfaces turn a selected source, time range, and filter state into focused views over the same stored telemetry. Session views add replay, a time-linked event list, and drill-down into the source row behind an event. (See packages/…/AppNav.tsx• L410-505, packages/…/SessionSubpanel.tsx• L449-547, and packages/…/SessionEventSourcePanel.tsx• L13-53.)
The app keeps display choices close to the engineer. Preferences control the display time zone, clock format, result-row action, color mode, content size, and other visual settings. These choices change how time ranges and results are read without changing the telemetry stored in ClickHouse.
The API also exposes versioned interfaces for automation and machine-assisted investigation. External clients use access keys to manage team resources and run searches through the same product boundaries as the web app. The MCP server presents a ClickStack observability interface for source discovery, bounded query work, dashboard checks, alerts, saved searches, and trace investigation. It directs agents to structured builder tools before raw SQL. MCP tools also declare behavior hints and record their caller, outcome, duration, and response size so clients and operators can understand the scope and cost of a tool call.
References: docker-compose.yml• L17-55 docker-compose.yml• L58-109 docker/…/Dockerfile• L106-147 docker/…/Dockerfile• L148-227 packages/…/api-app.ts• L94-138 packages/…/mcpServer.ts• L20-78 packages/…/annotations.ts• L3-44 packages/…/tracing.ts• L71-170 packages/…/AppNav.tsx• L410-505 packages/…/SessionSubpanel.tsx• L449-547 packages/…/SessionEventSourcePanel.tsx• L13-53
Control and data planes
The data plane carries logs, traces, metrics, replay records, and browser event logs from instrumented systems to ClickHouse. The control plane carries user requests and platform policy through the API. MongoDB stores the state that tells the API which team owns a resource and how that team's telemetry should be read.
The API joins the planes. It uses team settings from MongoDB to manage Collector policy. It uses team-owned connections and sources to query ClickHouse or a Prometheus-compatible endpoint and present each signal in the correct product view. A source defines how a signal maps to data in its selected analytics connection, so product state stays separate from high-volume telemetry. The source boundary lets external clients manage these mappings while validating team ownership, connection identity, source kind, and deployment feature gates.
References: packages/…/api-app.ts• L102-118 packages/…/config.ts• L54-72 packages/…/prometheus.ts• L144-175 packages/…/sources.ts• L864-911 packages/…/sources.ts• L1046-1077 packages/…/sources.ts• L1149-1187 packages/…/config.ts• L39-66
Platform flows
The platform turns incoming telemetry into queryable product views through a small set of connected flows. These flows share team configuration but keep event data in ClickHouse rather than MongoDB.
Telemetry flow
The Collector is the normal front door for telemetry. Applications and SDKs send signals to its intake endpoints. The Collector processes the signals and routes them to ClickHouse. Browser replay records use a session source, while OpenTelemetry browser actions, navigations, console calls, and exceptions can use the related log source.
Optional receivers are deployment choices. For example, the Datadog receiver is disabled by default because its intake path does not provide the same per-team bearer-token protection as the normal HyperDX OTLP path.
The diagram shows the normal data path and the separate API path used for analysis.
flowchart LR
Apps[Instrumented applications] --> Collector[OpenTelemetry Collector]
Collector --> Signals[Logs, traces, metrics]
Collector --> Sessions[Browser replay records]
Collector --> BrowserEvents[Browser event logs]
Signals --> ClickHouse[(ClickHouse analytics store)]
Sessions --> ClickHouse
BrowserEvents --> ClickHouse
Engineer[Engineer] --> Web[HyperDX web app]
Web --> API[HyperDX API]
API --> ClickHouse
The web app does not need direct access to the telemetry intake path. It asks the API for searches, charts, dashboards, trace views, and session views over stored data.
See Telemetry ingestion and storage for signal paths, schemas, and storage detail.
References: docker-compose.yml• L28-57 docker-compose.yml• L70-104 packages/…/config.ts• L43-48 packages/…/config.ts• L39-50 packages/…/sessions.ts• L506-575 packages/…/sessionLogEvents.ts• L94-199
Configuration flow
MongoDB is the configuration store for the control plane. The API loads the current team, connection, source, and product records before it serves a request or builds Collector policy.
Connections identify a ClickHouse or Prometheus-compatible endpoint. Sources describe how a signal maps to the fields in that endpoint. This lets HyperDX query its managed schema or compatible existing ClickHouse data without placing users and teams in ClickHouse. Session and trace sources can point to related sources so the app can join replay, trace, and browser-event views without copying those records into MongoDB.
The web app uses the selected source and connection to build search, chart, dashboard, trace, and session requests. It can also use source metadata to guide fields and filters, so the query experience follows the active data source rather than a fixed field list. Search filters use clean field names in the interface and store quoted ClickHouse expressions in URLs and saved searches.
References: docker-compose.yml• L94-104 packages/…/config.ts• L68-72 packages/…/sources.ts• L23-54 packages/…/sources.ts• L233-274 packages/…/sources.ts• L782-847 packages/…/DBSearchPage.tsx• L1043-1056 packages/…/searchFilters.tsx• L19-57 packages/…/searchFilters.tsx• L119-151 packages/…/SessionSubpanel.tsx• L357-379 packages/…/DBSessionPanel.tsx• L129-165
Investigation flow
An engineer starts in the web app and selects a team-owned source or saved view. The app sends an authenticated request to the API. The API checks the team boundary, loads the connection and source details, and runs the query against ClickHouse or the configured Prometheus path. It returns results for tables, charts, dashboards, traces, or sessions.
The main search surface supports ad-hoc and saved searches, time ranges, live tailing, filters, query language choice, and trace drill-down. Dashboards reuse these query definitions in tiles that support visual analysis, alerts, annotations, and focused views. Specialized views reuse the same source model for Kubernetes, LLM, service, and session investigation.
Session investigation joins two kinds of telemetry. The session list combines trace activity with replay rows and supports both the legacy rum.sessionId key and the OpenTelemetry session.id key. When an OpenTelemetry browser session has a related log source, the app queries browser event logs and merges clicks, navigations, console calls, and exceptions into the event list and playbar. An engineer can open an event in its log source and move back to the session or onward to related trace data.
The flow keeps the replay and event timeline aligned with the same time focus. The player streams ordered replay records from the session source, while the event list and playbar query trace and log rows for the session range. The selected row remains shareable through the session panel URL.
sequenceDiagram
participant Engineer
participant Web as Web app
participant API
participant Mongo as MongoDB
participant Store as ClickHouse or Prometheus
Engineer->>Web: Choose source, query, filters, and time range
Web->>API: Send authenticated search or view request
API->>Mongo: Load team source and connection
API->>Store: Run team-scoped query
Store-->>API: Return analytics result
API-->>Web: Return view data
Web-->>Engineer: Show search, chart, dashboard, trace, or session view
See API services and background tasks for request boundaries and background work.
References: packages/…/DBSearchPage.tsx• L1024-1056 packages/…/DBSearchPage.tsx• L1436-1581 packages/…/SessionSubpanel.tsx• L360-379 packages/…/sessions.ts• L158-471 packages/…/sessionsListQuery.ts• L24-179 packages/…/useSessionLogEvents.ts• L43-166 packages/…/SessionEventList.tsx• L101-309 packages/…/SessionSidePanel.tsx• L104-260
PromQL query flow
PromQL, the Prometheus query language, uses a source as its access boundary. The API resolves the source to its team-owned connection and table before it evaluates instant queries, range queries, label lookups, or exemplars.
The API chooses the backend from the connection. It proxies requests to a real Prometheus-compatible service, uses ClickHouse's Prometheus HTTP API when available, or falls back to a ClickHouse table function on older ClickHouse versions. It bounds query time and result size, limits range resolution, and keeps connection-host parameters that callers are not allowed to change.
The web app's PromQL chart editor selects only suitable sources and can discover metric names from them. Time-series charts can combine expressions, while display settings decide which query forms the selected chart can use. ClickHouse-backed metric charts obtain exemplars from their metric data; Prometheus-backed charts use the Prometheus exemplar endpoint.
References: packages/…/prometheus.ts• L139-175 packages/…/prometheus.ts• L605-663 packages/…/prometheus.ts• L807-887 packages/…/prometheus.ts• L992-1070 packages/…/sources.ts• L76-89 packages/…/PromqlChartEditor.tsx• L83-167
Machine-assisted investigation
The API offers a machine-facing investigation path through MCP, the Model Context Protocol. It lets an agent first find team sources and connections, inspect the available schema, and then build queries or inspect dashboards against the same ClickHouse data used by the web app.
Builder query tools are the normal path for time series, tables, searches, and event patterns. Raw SQL is a last resort for work that the builder cannot express. These tools use bounded work rather than allowing one request to consume unlimited query time or result space. Read-only settings, execution limits, request cancellation, result trimming, source-kind checks, and actionable error hints protect the shared analytics store.
The MCP server identifies itself as ClickStack and gives clients an explicit discovery order: list sources, describe a source, then query. It also exposes dashboard prompts and management tools alongside query tools, so machine clients use the same product boundary for analysis and resource changes. Every invocation carries the team, user, and MCP client identity into tracing and query attribution.
The diagram shows the discovery and analysis path from an agent to team-scoped telemetry.
sequenceDiagram
participant Agent
participant MCP as API MCP boundary
participant Mongo as MongoDB
participant CH as ClickHouse
Agent->>MCP: List sources and connections
MCP->>Mongo: Load team source configuration
MCP-->>Agent: Return source catalog
Agent->>MCP: Describe source or metric
MCP->>CH: Read schema and sampled metadata
CH-->>MCP: Return bounded discovery data
MCP-->>Agent: Return query guidance
Agent->>MCP: Run builder query or last-resort SQL
MCP->>CH: Run bounded read-only work
CH-->>MCP: Return data or an actionable error
MCP-->>Agent: Return results, warnings, or partial status
References: packages/…/mcpServer.ts• L20-78 packages/…/annotations.ts• L3-44 packages/…/types.ts• L32-52 packages/…/tracing.ts• L79-169
External automation flow
The versioned external API gives automation clients a team-scoped route into the same search and dashboard model used by the web app. Search requests name a source, time range, filter language, selected expressions, ordering, and a bounded result size. The API validates the request, resolves the source and connection, runs the ClickHouse query, and separates caller query errors from service failures.
Dashboard requests use a typed external shape and translate it to the internal dashboard model. The boundary validates source IDs, tile forms, filter modes, formulas, heatmap compatibility, container references, and alert-related chart rules before persistence.
References: packages/…/search.ts• L23-46 packages/…/search.ts• L169-247 packages/…/search.ts• L370-457 packages/…/sources.ts• L993-1053 packages/…/dashboards.ts• L668-701 packages/…/zod.ts• L738-868
Alert delivery
Webhook destinations are team-scoped control-plane resources used by alert delivery. The internal API, external API, and MCP share the same create and update rules, while MongoDB keeps the destination separate from the telemetry that caused an alert. Responses mask destination secrets, and updates preserve stored secrets only when the destination remains the same.
Alert evaluation renders a message from the firing query, alert state, threshold, time range, and optional group values. Generic and incident.io templates also receive stable fields such as alert status, alert type, comparator, thresholds, value, group values, source query, note, tags, and team identity. Configured channels are sent before ad hoc webhook mentions, duplicate targets are removed, and a bounded set of targets is dispatched concurrently.
Delivery is an external side effect, so the platform bounds each request, retries failed attempts, rejects redirects, and gives each event an idempotency key. Missing targets, skipped targets, delivery errors, timing, and notification-cap skips remain visible to the alert result instead of stopping other targets. The test endpoint uses the same message shape as a real firing so an engineer can check a destination before saving it.
The flow keeps alert configuration safe while allowing the alert system to notify external services.
flowchart LR
User[Engineer or automation client] --> API[API webhook boundary]
API --> Validate[Validate destination and template]
Validate --> Mongo[(MongoDB webhook configuration)]
Alert[Alert evaluation] --> Mongo
Mongo --> Render[Render alert message]
Render --> Deliver[Bounded webhook delivery]
Deliver --> External[Slack or HTTP service]
References: packages/…/webhooks.ts• L43-75 packages/…/webhooks.ts• L225-369 packages/…/webhooks.ts• L407-523 packages/…/template.ts• L184-230 packages/…/template.ts• L690-771 packages/…/template.ts• L953-1021 packages/…/generic.ts• L74-113 packages/…/generic.ts• L141-159 packages/…/generic.ts• L245-291 packages/…/types.ts• L7-44
Collector management flow
Open Agent Management Protocol (OpAMP) is the management link between the API and supervised Collectors. A Collector reports its state to the API. The API reads team keys and policy from MongoDB, then returns the active Collector configuration over the management endpoint.
This keeps intake policy in the control plane while signal processing stays in the Collector. A Collector can therefore apply the authentication and receiver choices that match the current team setup.
sequenceDiagram
participant Engineer as Web app user
participant API as HyperDX API
participant Mongo as MongoDB
participant Collector as OpenTelemetry Collector
participant CH as ClickHouse
Engineer->>API: Configure team and telemetry settings
API->>Mongo: Save team policy and source state
Collector->>API: Report status over OpAMP
API->>Mongo: Read team keys and policy
API-->>Collector: Return active Collector configuration
Collector->>CH: Export telemetry
Engineer->>API: Search or view telemetry
API->>CH: Run team-scoped query
CH-->>API: Return analytics result
API-->>Engineer: Return product view data
See Telemetry ingestion and storage for signal paths and API services and background tasks for the API control plane.
References: docker-compose.yml• L28-35 docker-compose.yml• L70-73 packages/…/config.ts• L54-58 packages/…/server.ts• L52-71
Startup readiness
Startup prepares the API before it claims to be ready. The process opens its HTTP and OpAMP listeners, checks security settings, waits for MongoDB, and then runs startup data work. In local mode it also attempts to create the default connection and source records.
This order separates liveness from readiness. A running process can answer a liveness check while MongoDB is unavailable, but readiness stays false until the control plane can serve requests. A serverless preview uses a separate stateless entry point: it connects to MongoDB on demand, reuses warm connections, and returns a service-unavailable response when the store cannot be reached.
References: packages/…/server.ts• L52-123 packages/…/serverless.ts• L33-94 packages/…/config.ts• L17-30
Deployment topology
HyperDX supports a split self-hosted stack, a deployment with an existing ClickHouse cluster, an all-in-one local image, and an inline API for preview platforms. The logical roles stay the same across these choices. The main changes are where stores run, which ports are public, and how much process isolation the operator gets.
Runtime modes
The platform has an API-backed mode and a local mode. API-backed mode uses the API boundary for users, teams, alerts, dashboards, connections, and sources. Local mode favors quick inspection and uses browser-configured or bootstrapped connections and sources with reduced server-side access control.
The web app and API can run below a shared deployment path prefix. That prefix must be consistent across browser routes, API calls, health checks, and generated external URLs. A preview deployment can inline the API into the web app while keeping the same logical API routes.
Token encryption is also a deployment choice. When TOKEN_ENCRYPTION_KEY is set, third-party tokens are protected at rest. When it is absent, the platform remains usable but stores those tokens in plain text and exposes the weaker state to operators.
Authenticated deployments also need one stable private EXPRESS_SESSION_SECRET. If it is missing or uses the old public demo value, the API generates a new secret at startup. Restarting then signs users out, and replicas cannot share sessions.
AI-assisted chart authoring is another optional deployment capability. The API can use provider-neutral AI_* settings for Anthropic or OpenAI-compatible services. The feature is not part of the telemetry data path.
References: packages/…/config.ts• L17-48 packages/…/config.ts• L63-104 packages/…/serverless.ts• L9-22 packages/…/config.ts• L52-66
Split self-hosted stack
The standard Compose stack runs the app, Collector, MongoDB, and ClickHouse on one internal network. The app and Collector use internal service addresses, while the stack publishes the UI, API, and Collector intake ports. MongoDB and ClickHouse stay private by default.
Persistent volumes protect MongoDB configuration and ClickHouse telemetry across container restarts. A reverse proxy can sit in front of the app when the deployment needs TLS or one public URL.
See Deployment topology for startup paths, proxy placement, and runtime operations.
References: docker-compose.yml• L17-55 docker-compose.yml• L58-109 docker-compose.yml• L110-130
Existing ClickHouse deployment
HyperDX can run its app and MongoDB separately from an existing ClickHouse instance. MongoDB still stores HyperDX state, while a team connection points the API and product sources at the external analytics store.
This model separates product operations from telemetry storage. It is useful when ClickHouse already has its own scale, access, backup, or retention plan. The Collector must use the same selected target so that exported telemetry and product queries meet at one store.
References: packages/…/config.ts• L68-70 packages/…/config.ts• L6-12 docker-compose.yml• L94-104
All-in-one deployment
The all-in-one image groups the application, Collector, ClickHouse, and MongoDB in one container. It packages the API and web app with a custom HyperDX Collector and includes separate authenticated and no-auth startup paths. It reduces setup work for local use and small trials, but the processes share one container lifecycle and do not provide the same isolation as the split stack.
The no-auth local mode favors quick inspection. Use the split topology when independent scaling, store management, or stronger runtime isolation is important.
References: docker/…/Dockerfile• L148-227 docker/…/Dockerfile• L229-259 packages/…/config.ts• L33-41 packages/…/server.ts• L105-121 packages/…/config.ts• L57-66
Related architecture pages
The broad system view is split across focused pages so an engineer can follow one boundary at a time:
- Telemetry ingestion and storage explains Collector modes, signal routing, ClickHouse tables, and schema lifecycle.
- API services and background tasks explains request boundaries, MongoDB domain state, OpAMP control, and scheduled work.
- Deployment topology explains service placement, images, proxy choices, startup paths, and runtime safety.
Change checklist
When these files or sections are changed, remember to consider these:
- Keep the web app base path, API route prefix, preview rewrite, health URLs, and generated external URLs aligned.
- Keep Collector endpoints, OpAMP addresses, optional receiver settings, and published ports aligned across Compose, app settings, and Collector policy.
- When a source or connection shape changes, keep the API, app query controls, local defaults, external API contracts, and MCP source catalog aligned.
- When a telemetry table changes, update both the Collector export path and the source definitions used by search, charts, dashboards, traces, and sessions.
- When session sources change, preserve the relationship between the session source, trace source, and optional browser-event log source. Keep legacy and OpenTelemetry session identifiers usable in list, replay, and event queries.
- When replay records or browser event fields change, keep the player stream, event labels, timeline markers, row lookup, and source-specific event drawer aligned.
- When webhook support changes, keep internal API, external API, MCP, validation, redaction, template rendering, alert references, and destination-change secret rules aligned.
- When alert message fields or delivery changes, keep the external webhook schema, test payloads, template variables, idempotency key, retry and timeout behavior, target de-duplication, per-event caps, and failure reporting aligned.
- When local mode or authentication changes, keep browser configuration, API behavior, default setup, and runtime availability consistent.
- When dashboard or PromQL behavior changes, preserve source ownership checks, source-kind checks, backend selection, query limits, and compatibility rules across the web app and API clients.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| MongoDB is unavailable | The API cannot load team state or serve product configuration | Keep readiness false and retry the connection before accepting normal traffic |
| ClickHouse is unavailable or a source mapping is stale | Telemetry export or product queries fail | Keep the selected connection, source mapping, and Collector export target aligned |
| OpAMP address or port does not match | A supervised Collector cannot receive its active policy | Pair the app's OpAMP listener with the Collector management URL |
| The optional Datadog receiver is enabled without a deliberate network boundary | An unauthenticated intake port can accept unwanted telemetry | Keep the receiver disabled unless its exposure is controlled |
| A deployment path differs between the app, API, and preview rewrite | Browser calls, health checks, or external links fail while processes still run | Use one shared base path across all route builders and entry points |
| The session secret is missing, public, or changed between restarts | Users are signed out and replicas do not share sessions | Set one stable private secret on every authenticated replica |
| A session source has no matching trace source | Replay cannot open from the trace or trace activity cannot be correlated | Configure a valid session source on the trace source |
| An OpenTelemetry session lacks a compatible log source | Browser clicks, navigations, console calls, and exceptions are absent from the session timeline | Configure the trace source's related log source with the expected browser event fields |
| Replay records are incomplete or cannot be decoded | The player is empty, partial, or cannot reach the selected time | Keep replay rows ordered and surface dropped-event warnings to the engineer |
| A persisted event points to a deleted log source | The event drawer cannot show the source row | Fall back to the session and keep the event's source relation optional |
| A webhook URL targets a private, reserved, or internal host | The webhook is rejected to prevent server-side request forgery | Use an approved public destination or an explicit hostname allowlist |
| A webhook template cannot compile or uses an unavailable helper | Alert delivery fails for every firing that uses the template | Validate the body before saving and use supported template constructs |
| An alert event exceeds the notification target cap | Some ad hoc targets are skipped and the event is only partly delivered | Keep configured channels first, deduplicate targets, and surface skipped targets in failures and metrics |
| A webhook receiver hangs or redirects the request | Delivery waits too long or follows an unsafe destination | Bound each attempt, retry within the delivery policy, and reject redirects |
| A webhook destination changes while masked secrets are submitted | The update is rejected or stored secrets are cleared instead of moving to the new host | Re-enter secrets for the new destination and retry with current state |
| A webhook is still referenced by an alert | Deletion is blocked so alert notifications are not silently dropped | Reassign or remove alert references before deleting the destination |
| A dashboard tile refers to a missing or disabled source | The tile cannot query data and shows an unresolved source state | Review source mappings when changing or importing dashboard resources |
| A PromQL source is missing, points to the wrong backend, or exceeds query limits | The Prometheus-shaped request fails or returns bounded data instead of a complete result | Resolve the source first, use a supported connection, and narrow the time range or resolution |
| The all-in-one container loses one required process | UI, API, intake, or storage can stop together | Use the split deployment when independent recovery is required |
Key files
| File | Why to read it |
|---|---|
| docker-compose.yml | Shows the standard service roles, internal network, ports, default sources, and persistent stores. |
docker/hyperdx/Dockerfile | Shows how the production and all-in-one images package the app, API, Collector, ClickHouse, and MongoDB roles. |
| packages/…/api-app.ts | Shows the API's browser, private product, MCP, external, and optional Prometheus boundaries. |
| packages/…/config.ts | Shows deployment switches for local mode, image mode, intake options, preview behavior, encryption, PromQL, external limits, and AI providers. |
| packages/…/server.ts | Shows API and OpAMP listeners, readiness, MongoDB startup, migrations, and local defaults. |
| packages/…/sources.ts | Shows the team-scoped source contract, connection validation, source kinds, and PromQL gate. |
| packages/…/webhooks.ts | Shows the internal webhook boundary, secret redaction, test delivery, and update rules. |
| packages/…/template.ts | Shows alert message context, source links, target resolution, bounded fan-out, concurrent delivery, and failure reporting. |
| packages/…/generic.ts | Shows template variables, request bounds, retry behavior, redirect protection, and delivery metrics. |
| packages/…/config.ts | Shows browser-side Collector endpoints, local-mode settings, deployment path, and feature gates. |
| packages/…/AppNav.tsx | Shows the main product surfaces, saved-resource navigation, local/cloud differences, and preference entry point. |
| packages/…/DBSearchPage.tsx | Shows the main search surface and its source, time range, saved-search, live-tail, and source-reconciliation boundary. |
| packages/…/sessions.ts | Shows session list queries, trace and replay correlation, session identifier selection, and ordered replay streaming. |
| packages/…/sessionsListQuery.ts | Shows how replay rows and trace rows become one session list. |
| packages/…/SessionSubpanel.tsx | Shows the session investigation surface that joins the event list, browser-event log query, replay player, and playbar. |
| packages/…/useSessionLogEvents.ts | Shows how OpenTelemetry browser events are queried and opened from a session. |
| packages/…/sessionLogEvents.ts | Shows the browser-event query boundary, event-row identity, and timeline marker merge. |
| packages/…/browserEvents.ts | Shows how click, navigation, console, and exception records become human-readable session events. |
| packages/…/SessionEventSourcePanel.tsx | Shows how an event opens on its own log source and falls back when that source is gone. |
| packages/…/DOMPlayer.tsx | Shows replay streaming, chunk ordering, playback state, and incomplete-replay feedback. |
| packages/…/SessionSidePanel.tsx | Shows session-to-event navigation, URL state, sharing, and the session drawer boundary. |
| packages/…/DBSessionPanel.tsx | Shows how a trace row finds a legacy or OpenTelemetry session and its related session source. |
| packages/…/DBRowSidePanel.tsx | Shows the shared row, trace, log, session, and cross-source investigation boundary. |