release(docs): Mastra v1 integration#676
Merged
Merged
Conversation
The previous guide used Mastra v0.x's `telemetry:` config + FITraceExporter, which does not export any spans on Mastra v1 (>=1.16). Rewrites both Mastra pages (integrations/traceai and tracing/auto) to the v1 setup: - install @mastra/observability + @mastra/otel-exporter + the OTLP/protobuf exporter - configure via `createFIObservability` from @traceai/mastra - documents the config options (projectName/projectType/excludeSpanTypes/...), the short-lived-script flush pattern, and the deprecated /legacy subpath
hadarishav
approved these changes
Jun 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promotes the Mastra v1 documentation from `dev` to `main`, matching the published `@traceai/mastra@0.2.0`.
What's in this release
Rewrites both Mastra pages for Mastra v1 (
@mastra/core≥ 1.16), which removed thetelemetry:config the oldFITraceExporterrelied on:src/pages/docs/integrations/traceai/mastra.mdxsrc/pages/docs/tracing/auto/mastra.mdxBoth now document
createFIObservability/createFIMastraExporter, the install set (@mastra/observability+@mastra/otel-exporter+ OTLP/proto exporter), the options table, the flush-before-exit pattern for short-lived scripts, and the@traceai/mastra/legacysubpath for anyone still on v0.x. (Merged to dev via #675.)Scope
devis ahead ofmainby exactly the 2 Mastra docs commits — this PR introduces only those 2.mdxfiles (three-dot diff verified). main's existing content is unaffected; this updates the old v0.x Mastra pages to v1.