Skip to content

release(docs): Mastra v1 integration#676

Merged
hadarishav merged 2 commits into
mainfrom
dev
Jun 4, 2026
Merged

release(docs): Mastra v1 integration#676
hadarishav merged 2 commits into
mainfrom
dev

Conversation

@NVJKKartik

Copy link
Copy Markdown
Contributor

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 the telemetry: config the old FITraceExporter relied on:

  • src/pages/docs/integrations/traceai/mastra.mdx
  • src/pages/docs/tracing/auto/mastra.mdx

Both 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/legacy subpath for anyone still on v0.x. (Merged to dev via #675.)

Scope

dev is ahead of main by exactly the 2 Mastra docs commits — this PR introduces only those 2 .mdx files (three-dot diff verified). main's existing content is unaffected; this updates the old v0.x Mastra pages to v1.

NVJKKartik and others added 2 commits June 3, 2026 15:28
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 hadarishav merged commit 3a58d54 into main Jun 4, 2026
3 of 4 checks passed
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.

3 participants