Skip to content

feat(portal): add metrics dashboard to destination overview - #735

Merged
alexluong merged 9 commits into
metricsfrom
metrics-portal
Mar 11, 2026
Merged

feat(portal): add metrics dashboard to destination overview#735
alexluong merged 9 commits into
metricsfrom
metrics-portal

Conversation

@alexluong

@alexluong alexluong commented Mar 8, 2026

Copy link
Copy Markdown
Collaborator

Add metrics dashboard to the portal destination overview page using recharts. Shows event count, latency, and error rate charts.

CleanShot 2026-03-09 at 02 53 17@2x

🤖 Generated with Claude Code

@vercel

vercel Bot commented Mar 8, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
outpost-docs Ready Ready Preview, Comment Mar 11, 2026 1:44am
outpost-website Ready Ready Preview, Comment Mar 11, 2026 1:44am

Request Review

@vercel
vercel Bot temporarily deployed to Preview – outpost-docs March 8, 2026 19:50 Inactive
@vercel
vercel Bot temporarily deployed to Preview – outpost-website March 8, 2026 19:50 Inactive
@vercel
vercel Bot temporarily deployed to Preview – outpost-docs March 9, 2026 18:54 Inactive
@vercel
vercel Bot temporarily deployed to Preview – outpost-website March 9, 2026 18:54 Inactive
@vercel
vercel Bot temporarily deployed to Preview – outpost-website March 9, 2026 19:26 Inactive
@vercel
vercel Bot temporarily deployed to Preview – outpost-docs March 9, 2026 19:26 Inactive

@alexbouchardd alexbouchardd 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.

Will pull the PR and make some minor UI tweak but LGTM

@vercel
vercel Bot temporarily deployed to Preview – outpost-website March 10, 2026 13:34 Inactive
@vercel
vercel Bot temporarily deployed to Preview – outpost-docs March 10, 2026 13:35 Inactive
alexluong and others added 5 commits March 11, 2026 02:04
6-chart metrics dashboard: delivery volume (stacked bar), error rate
(line, 0-100%), retries (multi-line), avg attempt number, status code
breakdown, and topic breakdown. Shared timeframe selector (1h/24h/7d/30d),
all charts use /metrics/attempts endpoint. Includes dataviz CSS vars for
info (blue) and warning (orange) themes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…hart

Restructure the metrics grid to 3 rows: events/deliveries, error
breakdown (3-col), and retry pressure. Add new "Events / count" chart
using attempt_number=0 filter. Support title/subtitle pattern with
muted subtitles and add filters param to useMetrics hook.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add sparkline + event count to each destination row using 4h granularity
with attempt_number=0 filter. Includes Sparkline component with stacked
success/failed bars, empty-bar rendering, and granularity override for
useMetrics hook.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move Loading import to top of MetricsChart.tsx. Use arrays/objects
directly in useMetrics instead of serializing to strings and re-splitting.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@alexluong

Copy link
Copy Markdown
Collaborator Author

Will pull the PR and make some minor UI tweak but LGTM

just FYI I still have the "Retries" and "Avg attempt number" chart up because I still have a few test cases to go over but will definitely remove them before merging

@vercel
vercel Bot temporarily deployed to Preview – outpost-website March 10, 2026 19:05 Inactive
@vercel
vercel Bot temporarily deployed to Preview – outpost-docs March 10, 2026 19:06 Inactive
@vercel
vercel Bot temporarily deployed to Preview – outpost-website March 10, 2026 22:04 Inactive
@vercel
vercel Bot temporarily deployed to Preview – outpost-docs March 10, 2026 22:04 Inactive
@vercel
vercel Bot temporarily deployed to Preview – outpost-website March 11, 2026 01:35 Inactive
@vercel
vercel Bot temporarily deployed to Preview – outpost-docs March 11, 2026 01:36 Inactive
@vercel
vercel Bot temporarily deployed to Preview – outpost-docs March 11, 2026 01:40 Inactive
@vercel
vercel Bot temporarily deployed to Preview – outpost-website March 11, 2026 01:40 Inactive
@vercel
vercel Bot temporarily deployed to Preview – outpost-website March 11, 2026 01:43 Inactive
@alexbouchardd

Copy link
Copy Markdown
Contributor

@alexluong Pushed my UI tweaks :shipit:

@vercel
vercel Bot temporarily deployed to Preview – outpost-docs March 11, 2026 01:44 Inactive
@alexluong
alexluong merged commit eccac65 into metrics Mar 11, 2026
4 checks passed
@alexluong
alexluong deleted the metrics-portal branch March 11, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants