spotlight
spotlight copied to clipboard
Your Universal Debug Toolbar
Before opening this PR: - [x] I added a [Changeset Entry](https://spotlightjs.com/contribute/changesets/) with `pnpm changeset:add` - [x] I referenced issues that this PR addresses #756 - [x] To accept Log Envelopes...
Would be great to have syntax highlighting for error code frames and DB queries. Can use https://www.npmjs.com/package/react-syntax-highlighter or https://www.npmjs.com/package/sql-highlight (only for DB queries)
Our SDKs started adding support for structured logs. Spotlight should be able to surface these and connect them to right traces and errors. Docs for logs: https://develop-docs-git-abhi-logs-sdk-developer-documentation.sentry.dev/sdk/telemetry/logs/
Basically, a new way to view traces related to AI libraries: Vercel's ai-sdk, Mastra, openai node, etc. This could include a list view and a detailed view.
Naive fuzzy text search serves us for now but it is clear that we'll need more, at least combining a few search terms very quickly. Especially with profiling spans and...
Add support for continuous profiles, or profiles v2: https://develop.sentry.dev/sdk/telemetry/profiles/sample-format-v2/ Ref #565
Another follow up would be to add a "Function/Frame detail" page (or just a new column?) where we list all the traces it appears and then link to that specific...
Kind of a spin-off from #543. Sentry already has cache miss ratio graphs and there's no reason for Spotlight to not have this. Also related: #651
### Steps to Reproduce 1. Launch Spotlight in dev mode: `pnpm dev` 2. Open the browser for Spotlight web UI 3. Go to fixtures directory: `cd packages/overlay/_fixtures` 4. Inject all...