Skip to content

feat: implement hooks dashboard with metrics#2175

Merged
alx-xo merged 49 commits intomainfrom
alexm/age-1700-feat-implement-hooks-dashboard
Apr 14, 2026
Merged

feat: implement hooks dashboard with metrics#2175
alx-xo merged 49 commits intomainfrom
alexm/age-1700-feat-implement-hooks-dashboard

Conversation

@alx-xo
Copy link
Copy Markdown
Contributor

@alx-xo alx-xo commented Apr 10, 2026

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 MetricCard component 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.

image

Note

Cursor Bugbot is generating a summary for commit e49e3f7. Configure here.

@linear
Copy link
Copy Markdown

linear bot commented Apr 10, 2026

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 10, 2026

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

Project Deployment Actions Updated (UTC)
gram-docs-redirect Ready Ready Preview, Comment Apr 14, 2026 8:03pm

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 10, 2026

🦋 Changeset detected

Latest commit: 7eb9288

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
dashboard Minor

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

@github-actions github-actions bot added the preview Spawn a preview environment label Apr 10, 2026
@speakeasybot
Copy link
Copy Markdown
Collaborator

speakeasybot commented Apr 10, 2026

🚀 Preview Environment (PR #2175)

Preview URL: https://pr-2175.dev.getgram.ai

Component Status Details Updated (UTC)
✅ Database Ready Existing database reused 2026-04-14 20:10:08.
✅ Images Available Container images ready 2026-04-14 20:09:50.

Gram Preview Bot

Copy link
Copy Markdown

@claude claude bot left a comment

Choose a reason for hiding this comment

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

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.

cursor[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@cursor
Copy link
Copy Markdown

cursor bot commented Apr 10, 2026

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.

devin-ai-integration[bot]

This comment was marked as resolved.

Copy link
Copy Markdown
Member

@simplesagar simplesagar left a comment

Choose a reason for hiding this comment

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

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

@blacksmith-sh

This comment has been minimized.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

alx-xo and others added 20 commits April 14, 2026 11:22
  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.
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@alx-xo alx-xo force-pushed the alexm/age-1700-feat-implement-hooks-dashboard branch from 4b4fc28 to 1764e38 Compare April 14, 2026 19:53
devin-ai-integration[bot]

This comment was marked as resolved.

@alx-xo alx-xo force-pushed the alexm/age-1700-feat-implement-hooks-dashboard branch from 1764e38 to 7eb9288 Compare April 14, 2026 20:03
@alx-xo alx-xo merged commit ab0c415 into main Apr 14, 2026
26 checks passed
@alx-xo alx-xo deleted the alexm/age-1700-feat-implement-hooks-dashboard branch April 14, 2026 20:25
@github-actions github-actions bot locked and limited conversation to collaborators Apr 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

preview Spawn a preview environment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants