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_evaluation spans for these calls, but our Mastra exporter has no mapping for them. The SDK drops them.
Fix
- Map classifier_evaluation spans to gen_ai.evaluate in the Mastra exporter.
- Add a test.
Checked against sentry-javascript at b126416 (v11.4.0).
Reactions are currently unavailable
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_evaluation spans for these calls, but our Mastra exporter has no mapping for them. The SDK drops them.
Fix
Checked against sentry-javascript at b126416 (v11.4.0).