feat: implement hooks dashboard with metrics#2175
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 7eb9288 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
🚀 Preview Environment (PR #2175)Preview URL: https://pr-2175.dev.getgram.ai
Gram Preview Bot |
8977b88 to
d033502
Compare
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
|
You have used all of your free Bugbot PR reviews. To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial. |
simplesagar
left a comment
There was a problem hiding this comment.
Its probably worth renaming the dashboard from Hooks to "Agent Activity" or "Team Activity" and moving the hooks setup to the /org dashboard that sits above projects. Can be in a followup pr
This comment has been minimized.
This comment has been minimized.
Replace the single-dataset error-rate percentage chart with a stacked horizontal bar chart built from raw traces. Each row is a server, each segment is a tool call that produced errors. Tooltip shows the hovered server and tool name with its error count. All segments use a consistent red colour. Chart now owns its own card and title wrapper.
Show errors broken down by user and server instead of a flat tool list. Each row is a user email, each segment is a server that produced errors, sorted by total error count. Includes an empty state for periods with no errors.
… server activity, source volume, user activity, error rates, and usage over time. A new metric cards row surfaces key KPIs at a glance. Includes a toggle to show/hide the raw trace log list alongside the charts.
…ary props and misleading KPI subtexts
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…y for logs-disabled check
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…or states in hooks dashboard
4b4fc28 to
1764e38
Compare
1764e38 to
7eb9288
Compare
This PR builds out a hooks analytics dashboard, adding a suite of charts and visualizations to the existing hooks page that previously only showed raw trace logs and summary tables.
The new dashboard includes charts for server activity, source volume, server error rates, user error counts, and active users over time — all driven by filtered trace data so that search and filter controls apply consistently. A
MetricCardcomponent surfaces key metrics like active clients and unique tools at a glance.A logs toggle lets users show or hide the logs list without leaving the page.
Note
Cursor Bugbot is generating a summary for commit e49e3f7. Configure here.