Repository navigation
docs(mastra): Document classifier evaluation tracing - #19878
Conversation
Co-Authored-By: Andrei Borza <andrei.borza@sentry.io>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
The plan checks page duration, 5xx responses, and error events on the changed guide pages. An issue escalates when 5xx responses appear or error events rise from zero. Monitoring in Services: Mention PlanWhat changedThe Mastra guide now documents Classifier evaluation tracing. Those evaluations now show as RiskA broken include can fail both Mastra guide pages. A markdown fault can fail the TypeSafe page. Readers then see an error page instead of the guide. The blast stays on those JavaScript guide pages. Intended effectThis change only adds documentation. Telemetry cannot show the new heading or table row. The executor cannot confirm the new text from Sentry. Treat intended_effect as unknown. Absent would mean the live Mastra guide still lacks the Classifier section. Regression watchTraces sample at 30 percent. Span counts are sampled. Sitewide
If error events rise, inspect code tabs and MDX render on those pages. Not observableLive page content is not in Sentry. The new heading, table row, and anchor are not queryable. Client LCP is not available for these paths. Transactions use the catch-all |
Keep the Quick Start focused on setup and document classifier evaluation tracing under the Mastra Agent Tracing section, like Workers AI for Cloudflare. Co-Authored-By: Andrei Borza <andrei.borza@sentry.io>
## DESCRIBE YOUR PR Document tracing of `TypeSafeClassifier` runs from `@langchain/typesafe`, which now show up as `gen_ai.evaluate` spans. This applies to standalone calls, calls from LangGraph nodes, and the classifiers that the `@langchain/typesafe` agent middleware creates. The LangChain page gets a new section with a setup example, the data captured, and privacy controls, plus the supported `@langchain/typesafe` range. The LangGraph page gets a short section with a `StateGraph` node example that points to the LangChain section. The TypeSafe page now links to it. This follows the Mastra classifier section from #19878. The new sections are hidden on Cloudflare because the SDK has no test coverage there. Shipped in [Sentry JavaScript SDK 11.6.0](https://github.com/getsentry/sentry-javascript/releases/tag/11.6.0) via getsentry/sentry-javascript#25120, with agent and LangGraph coverage in getsentry/sentry-javascript#25132. ## IS YOUR CHANGE URGENT? - [ ] Urgent deadline (GA date, etc.): - [ ] Other deadline: - [x] None: Not urgent, can wait up to 1 week+ ## PRE-MERGE CHECKLIST - [ ] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) <!-- junior-request-attribution:start --> via **Andrei Borza**. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:slack%3AC0BKK9QLCUA%3A1791540225.414269 --> -- [View Junior Session](https://junior-prod.sentry.dev/conversations/slack%3AC0BKK9QLCUA%3A1791540225.414269) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0BKK9QLCUA%3A1791540225.414269/?project=4510944073809921) <!-- junior-session-footer:end --> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Andrei Borza <andrei.borza@sentry.io>
DESCRIBE YOUR PR
Document tracing of Mastra
Classifierevaluations (for example Jev), which now show up asgen_ai.evaluatespans. The new section in the Mastra guide covers a setup example, the data captured, how Mastra's span output processors filter it, and privacy controls. It follows the Vercel AI Jev section from #19692. The Mastra span mapping table gets aCLASSIFIER_EVALUATIONrow, and the TypeSafe page now links to the new section.Shipped in Sentry JavaScript SDK 11.6.0 via getsentry/sentry-javascript#25044. Mastra added
Classifierin@mastra/core1.69.0.IS YOUR CHANGE URGENT?
via Andrei Borza.
--
View Junior Session [Sentry]