Mastra v1 observability
hi, question about HTTP tracing after upgrading to v1 beta.
in v0.x, my custom API endpoints (like /api/heartbeat) were automatically traced using the old telemetry config. After upgrading to v1.0.0-beta.2, http traces don't show up in my observability platform (honeycomb) anymore.
is http endpoint tracing still supported in v1? If it's supported, what's the right way to set it up?
2 Replies
๐ Created GitHub issue: https://github.com/mastra-ai/mastra/issues/10323
๐ If you're experiencing an error, please provide a minimal reproducible example to help us resolve it quickly.
๐ Thank you @yc for helping us improve Mastra!
๐ Created GitHub issue: https://github.com/mastra-ai/mastra/issues/10324
๐ If you're experiencing an error, please provide a minimal reproducible example to help us resolve it quickly.
๐ Thank you @yc for helping us improve Mastra!
๐ Created GitHub issue: https://github.com/mastra-ai/mastra/issues/10325
๐ If you're experiencing an error, please provide a minimal reproducible example to help us resolve it quickly.
๐ Thank you @yc for helping us improve Mastra!
๐ Created GitHub issue: https://github.com/mastra-ai/mastra/issues/10326
๐ If you're experiencing an error, please provide a minimal reproducible example to help us resolve it quickly.
๐ Thank you @yc for helping us improve Mastra!
hey @yc , in v1 we wanted to decouple tracing from Mastra and accomplish a few things:
1. Have really good and complete AI Traces
2. Be able to export these traces to exporters or store in Mastra cleanly over the OTEL format stored previously.
3. Don't bloat mastra with otel and force users to use it.
We will be restoring some of the previous tracing behavior with an OTEL Bridge (WIP) now: https://github.com/mastra-ai/mastra/pull/10355
GitHub
DRAFT: Otel Bridge implementation by epinzur ยท Pull Request #10355...
PLEASE DO NOT REVIEW. Created this to interact with CodeRabbit Only.
Description
Related Issue(s)
Type of Change
Bug fix (non-breaking change that fixes an issue)
New feature (non-breaking cha...