FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Map Mastra `classifier_evaluation` spans to `gen_ai.evaluate` · Issue #25031 · getsentry/sentry-javascript · GitHub

Repository navigation

Map Mastra classifier_evaluation spans to gen_ai.evaluate #25031

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_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).

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL