dd-trace-js icon indicating copy to clipboard operation
dd-trace-js copied to clipboard

[FEATURE]: LLMObs - Instrumentation for mastra

Open kosukeoya opened this issue 8 months ago • 1 comments

Package Name

mastra

Package Version(s)

5.49.0

Describe the feature you'd like

We are trying to run Mastra in a production environment, and while Mastra can output traces in OpenTelemetry format, it would be nice to see them in an LLM-specific UI.

Is your feature request related to a problem?

No response

Describe alternatives you've considered

Send traces to Datadog APM in opentelemetry format.

Additional context

No response

kosukeoya avatar Apr 27 '25 12:04 kosukeoya

Since mastra uses the vercel ai-sdk, this issue may be partially resolved once it is addressed. https://github.com/DataDog/dd-trace-js/issues/5410

kosukeoya avatar Apr 27 '25 13:04 kosukeoya

+1 I also need this

ctamulonis-glossy avatar Jul 24 '25 21:07 ctamulonis-glossy

Hey folks @kosukeoya @ctamulonis-glossy! Mastra is on our roadmap but no set timeline yet. We did recently release support for the vercel-ai integration, so there should be some implicit support for the actual LLM and tool calling frameworks within Mastra, just not the agent portions. I'll provide an update/linked PR when we do go ahead with some instrumentation for Mastra! Thanks for your patience 😄

sabrenner avatar Sep 30 '25 18:09 sabrenner