Skip to content

Conversation

@Focadecombate
Copy link
Contributor

@Focadecombate Focadecombate commented Oct 29, 2025

Update Mastra Example

Before submitting

  1. Test Your Example: Ensure it runs correctly
  2. Update Documentation: Verify README is complete and accurate
  3. Check Dependencies: Ensure all dependencies are properly listed
  4. Environment Variables: Provide .env.example file
  5. Code Review: Self-review your code for quality

PR checklist

  • Example runs successfully
  • README.md is complete and accurate
  • Dependencies are properly listed
  • Environment variables are documented
  • Code follows style guidelines
  • Galileo integration is properly implemented
  • Tests pass (if applicable)
  • No sensitive data is included

Description

This example demonstrates how to integrate Galileo observability with a Mastra agent project. The example is based on Mastra's CSV to Questions Generator template and has been updated to support the latest version of Mastra using the new observability property configuration with OTel exporters. The agents process CSV files from URLs and generate comprehensive questions using OpenAI GPT-4o, with full trace logging to Galileo.

Type of example

  • Agent
  • Chatbot
  • RAG
  • Dataset & Experiments

Language

  • Python
  • TypeScript

Key features

  • CSV file processing from URLs with smart parsing and data analysis
  • Multiple specialized agents (CSV Question Agent, CSV Summarization Agent, Text Question Agent)
  • Workflow orchestration for CSV-to-questions pipeline
  • Galileo observability integration via OTel with custom endpoint configuration
  • Support for latest Mastra version using the observability property
  • In-memory LibSQL storage for telemetry and evaluations
  • Structured logging with Pino

Testing

  • Example runs successfully
  • README instructions work
  • Galileo integration tested

Screenshots/Demo

Notes

We need to update the processor to handle the otel native traces

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants