Title: Map Mastra `classifier_evaluation` spans to `gen_ai.evaluate` · Issue #25031 · getsentry/sentry-javascript · GitHub
Open Graph Title: Map Mastra `classifier_evaluation` spans to `gen_ai.evaluate` · Issue #25031 · getsentry/sentry-javascript
X Title: Map Mastra `classifier_evaluation` spans to `gen_ai.evaluate` · Issue #25031 · getsentry/sentry-javascript
Description: Mastra's Classifier (also used by its processors and scorers) calls model.doEvaluate() directly. This skips the AI SDK experimental_evaluate hook, so our Vercel AI integration does not see these Jev calls. Mastra emits classifier_evaluat...
Open Graph Description: Mastra's Classifier (also used by its processors and scorers) calls model.doEvaluate() directly. This skips the AI SDK experimental_evaluate hook, so our Vercel AI integration does not see these Je...
X Description: Mastra's Classifier (also used by its processors and scorers) calls model.doEvaluate() directly. This skips the AI SDK experimental_evaluate hook, so our Vercel AI integration does not see thes...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/25031
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Map Mastra `classifier_evaluation` spans to `gen_ai.evaluate`","articleBody":"Mastra's `Classifier` (also used by its processors and scorers) calls `model.doEvaluate()` directly. This skips the AI SDK `experimental_evaluate` hook, so our Vercel AI integration does not see these Jev calls.\n\nMastra emits `classifier_evaluation` spans for these calls, but our Mastra exporter has no mapping for them. The SDK drops them.\n\n## Fix\n\n* Map `classifier_evaluation` spans to `gen_ai.evaluate` in the Mastra exporter.\n* Add a test.\n\nChecked against sentry-javascript at b126416 (v11.4.0).","author":{"url":"https://github.com/andreiborza","@type":"Person","name":"andreiborza"},"datePublished":"2026-10-05T08:10:36Z","url":"https://github.com/getsentry/sentry-javascript/issues/25031"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:52f48126-ae0c-b9d4-7c0e-c5ff1f848ff6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8EFE:1C5C1D:257B304:3250F17:6B0452A6 |
| html-safe-nonce | 03375a0dc8dbb256c53d19ed6f9b01d77bc3f6ccfc665a4ef010202c06cf8b3b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUZFOjFDNUMxRDoyNTdCMzA0OjMyNTBGMTc6NkIwNDUyQTYiLCJ2aXNpdG9yX2lkIjoiMTQxODg0MDQ1NTE2NDIyMDA3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1fbb8089e47e836815ffc800614bfe743be4d84b8542b2659a193395614e858c |
| hovercard-subject-tag | issue:5708619973 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/25031/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aab27840c29660e24ca4ae1f9ea2ad6efbcaf8af54fae4ee751938f5191d2368/getsentry/sentry-javascript/issues/25031 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aab27840c29660e24ca4ae1f9ea2ad6efbcaf8af54fae4ee751938f5191d2368/getsentry/sentry-javascript/issues/25031 |
| og:image:alt | Mastra's Classifier (also used by its processors and scorers) calls model.doEvaluate() directly. This skips the AI SDK experimental_evaluate hook, so our Vercel AI integration does not see these Je... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andreiborza |
| hostname | github.com |
| expected-hostname | github.com |
| None | 910ca0e260cfec6aff11407d8dc6a0d3a4cd381a2ec9ada56627b063426892a0 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e086f9b7e88322eb2b41885a6ad425b215737fa5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width