From f7882c84a527ad42a365fa97fee2a6a0832ccfa4 Mon Sep 17 00:00:00 2001 From: Alex Fedotyev <61838744+alex-fedotyev@users.noreply.github.com> Date: Fri, 20 Nov 2026 05:48:10 +0000 Subject: [PATCH] fix(app): match the demo traces rollup's dimension columns to its table The demo connection describes otel_traces_1m_v2 as grouped by ServiceName, SpanName and SpanKind, but the table is grouped by ServiceName, StatusCode and SpanName. Filter value lookups tried the view for SpanKind and failed the EXPLAIN check, and the view's details showed a column it doesn't have. Co-Authored-By: Claude Opus 5.5 --- .changeset/demo-traces-mv-dimensions.md | 5 +++++ packages/app/src/components/OnboardingModal.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/demo-traces-mv-dimensions.md diff --git a/.changeset/demo-traces-mv-dimensions.md b/.changeset/demo-traces-mv-dimensions.md new file mode 100644 index 000000000..3cd6f9a73 --- /dev/null +++ b/.changeset/demo-traces-mv-dimensions.md @@ -0,0 +1,5 @@ +--- +'@hyperdx/app': patch +--- + +fix: the demo traces rollup lists its real dimension columns (StatusCode, not SpanKind), so filter value lookups and the materialized view details match the table diff --git a/packages/app/src/components/OnboardingModal.tsx b/packages/app/src/components/OnboardingModal.tsx index 22aef9e06..0973e8879 100644 --- a/packages/app/src/components/OnboardingModal.tsx +++ b/packages/app/src/components/OnboardingModal.tsx @@ -745,7 +745,7 @@ function OnboardingModalComponent({ { databaseName: 'otel', tableName: 'otel_traces_1m_v2', - dimensionColumns: 'ServiceName, SpanName, SpanKind', + dimensionColumns: 'ServiceName, StatusCode, SpanName', minGranularity: '1 minute', timestampColumn: 'Timestamp', aggregatedColumns: [