feat: Add per-series number formats#2174
Conversation
🦋 Changeset detectedLatest commit: b8d3cbf The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
E2E Test Results✅ All tests passed • 174 passed • 3 skipped • 1254s
Tests ran across 4 shards in parallel. |
🔴 Tier 4 — CriticalTouches auth, data models, config, tasks, OTel pipeline, ClickHouse, or CI/CD. Why this tier:
Review process: Deep review from a domain expert. Synchronous walkthrough may be required. Stats
|
PR Review
Tests, MCP/external-API schemas, and the e2e coverage look thorough. The two |
d5d98a7 to
fd4f3c0
Compare
fd4f3c0 to
4113c42
Compare
d38ba0b to
a81bfd2
Compare
Deep Review🟡 P2 -- recommended
🔵 P3 nitpicks (4)
Reviewers (12): correctness, testing, maintainability, project-standards, agent-native, learnings-researcher, api-contract, performance, reliability, kieran-typescript, previous-comments, adversarial. Testing gaps:
|
764a7a2 to
6a91cbd
Compare
Summary
This PR adds per-series number formats (for chart-builder-based charts). This allows the user to specify a different number format for different table columns or series.
For series without formats defined, the existing config's format is applied (if applicable). If there's no chart-wide format, then we attempt to infer a
durationtype format for any series aggregating the Trace Duration field. (re-using the previous logic for inferring duration number formats).This PR includes updates the external API to support the new per-series numberFormat field.
This PR also updates various charts on the services dashboard which previously displayed
msunits for non-duration series. These charts now only showmsformatting for duration aggregations.Screenshots or video
Screen.Recording.2026-04-29.at.10.07.45.AM.mov
Services Dashboard:
How to test locally or on Vercel
Most of this can be tested in the preview environment in a dashboard or in the chart explorer. The external API updates can be tested locally by running CRUD requests against a dashboard, specifying per-series number formats.
References