Skip to content

feat(cli): Apply saved dashboard transformations - #2110

Open
nsdeschenes wants to merge 3 commits into
mainfrom
nd/resolve-exp-1410
Open

nsdeschenes wants to merge 3 commits into
mainfrom
nd/resolve-exp-1410

Conversation

@nsdeschenes

@nsdeschenes nsdeschenes commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

These changes make it so sentry dashboard view apply the transformations already saved on supported charts, such as filling gaps or smoothing values. It shows the exact results in tables and JSON, preserves gaps and information about which values were transformed, and honours the saved bucket interval unless you override it with --interval.

🤖 generated description below:


Why

dashboard view ignored saved transformations and converted missing values to zero. Execute the saved transformations through the public time-series endpoint and retain the complete results.

Fixes EXP-1410.

What changed

  • Execute saved span, log, and trace-metric transformations. Preserve duplicate axes, groups, nullable values, units, comparisons, and provenance in JSON and terminal output.
  • Honor saved widget intervals across terminal resizing. Add --interval and expose requested and executed intervals separately.
  • Report unsupported widgets, unavailable features, and servers that ignore transformations explicitly.

Scope

Saved dashboard chart transformations. Explore transformations and transformation editing controls are separate work.

Tradeoffs

Transformed widgets print complete tables below the dashboard grid. This keeps exact values and gaps that the existing stacked and downsampled charts cannot represent faithfully.

Verification

  • TZ=UTC pnpm run tsc and TZ=UTC pnpm run lint pass.
  • All 137 focused request, CLI, rendering, and completion regressions pass.
  • TZ=UTC pnpm run test passed 12,972 CLI tests. The existing musl installer test fails on macOS, and the asset-catalog suite cannot find Xcode's actool.

nsdeschenes and others added 3 commits November 9, 2026 10:48
Execute saved transformations through events-timeseries and retain complete
responses. Print exact values, gaps, and provenance below the dashboard grid.

Refs EXP-1410

Co-Authored-By: GPT-6.1 Sol (Codex) <noreply@openai.com>
Expose --interval for chart requests and record the requested interval
separately from the executed interval returned by Sentry.

Refs EXP-1410

Co-Authored-By: GPT-6.1 Sol (Codex) <noreply@openai.com>
Document supported widgets, complete transformed output, interval precedence,
and explicit unsupported or unavailable results.

Refs EXP-1410

Co-Authored-By: GPT-6.1 Sol (Codex) <noreply@openai.com>
@vercel

vercel Bot commented Nov 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
sentry-local Skipped Skipped Nov 9, 2026 2:50pm UTC

Request Review

@linear-code

linear-code Bot commented Nov 9, 2026

Copy link
Copy Markdown

EXP-1410

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 3aca1e4. Configure here.

Comment thread packages/cli/src/lib/api/dashboards.ts Resolved
@nsdeschenes
nsdeschenes marked this pull request as ready for review November 9, 2026 15:25
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Nov 9, 2026

This branch was previously deployed

1 inactive deployment
Preview — 3aca1e44 Deployed Nov 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant