Skip to content

Sentry - list trace metrics in a Metrics tab - #293

Open
temp wants to merge 1 commit into
buggregator:masterfrom
temp:feature/sentry-trace-metrics
Open

temp wants to merge 1 commit into
buggregator:masterfrom
temp:feature/sentry-trace-metrics

Conversation

@temp

@temp temp commented Oct 16, 2026 •

Copy link
Copy Markdown

Summary

Adds a Metrics tab to the Sentry section, next to Logs, for the Sentry trace metrics the server now stores (buggregator/server#355, issue buggregator/server#347).

  • the tab appears once /api/sentry/counts reports metrics, like Traces and Logs
  • each row shows type, name, value with unit and the attributes the application set; the sentry.* attributes the SDK adds to every metric are left out of the row
  • a row expands to all attributes and links to its trace
  • filters by type (counter, gauge, distribution) and by name
  • empty state for when no metrics have arrived yet
  • stories for the list and the page, with mock data, following the logs

Needs GET /api/sentry/metrics from buggregator/server#355.

Checklist

  • Tested
    • vue-tsc and ESLint pass
    • Production build embedded in a local server build fed with metrics from the Sentry PHP SDK 4.31.0; the route and bundle are served
    • Not yet looked at in a browser

🤖 Generated with Claude Code

A Metrics tab next to Logs, shown once the server reports metrics, lists
them newest first with type, name, value and unit and the attributes the
application set; a row expands to all attributes, and links to its trace.
Filters by type and by name.

Needs the server's GET /api/sentry/metrics.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant