发布

  • [OPIK-6077] [DOCS] docs: update Mastra integration to new Observability API (#6405)

    frostbyte_neo 发布于 2026-04-21 09:57:59 +00:00

    • [OPIK-6077] [DOCS] docs: update Mastra integration to new Observability API

    Mastra changed their telemetry API — the flat telemetry config object is
    replaced by new Observability({ configs: { default: { exporters: [new OtelExporter(...)] } } }).

    Updates both v1 and v2 integration docs to:

    • Replace langfuse-vercel dependency with @mastra/observability + @mastra/otel
    • Remove OTEL_EXPORTER_OTLP_* env var approach in favour of in-code config
    • Add per-deployment-mode tabs (Cloud / Enterprise / Self-hosted) for the agent setup
    • Use non-null assertions (!) for env var reads to satisfy TypeScript without ?? fallbacks

    Implements OPIK-6077

    • using your placeholders
    下载附件