Problem Statement
When I eval a trace or span in mastra, I want the score to show up on my langfuse/braintrust/etc... traces and spans.
Proposed Solution
Design and build a new system for passing Eval data through the observability event stack. Update the exporters to consume this data, and save scores to traces & spans.
Component
Other
Alternatives Considered
No response
Example Use Case
I want to see my mastra evals in braintrust/langfuse/arize.
Additional Context
We already do this for langfuse, but we are circumventing the observability pipeline. We should refactor and upgrade observability to natively handle evals and scores.
Also consider if the design should include dataset/experimentation support.
Verification
Problem Statement
When I eval a trace or span in mastra, I want the score to show up on my langfuse/braintrust/etc... traces and spans.
Proposed Solution
Design and build a new system for passing Eval data through the observability event stack. Update the exporters to consume this data, and save scores to traces & spans.
Component
Other
Alternatives Considered
No response
Example Use Case
I want to see my mastra evals in braintrust/langfuse/arize.
Additional Context
We already do this for langfuse, but we are circumventing the observability pipeline. We should refactor and upgrade observability to natively handle evals and scores.
Also consider if the design should include dataset/experimentation support.
Verification