Support for passing `projectId` for Langsmith Integration
Hi Mastra team, we're using the LangSmith AI Tracing integration and have a large project with traces from multiple sources. Is there a way to specify a custom project ID or set environment variables to control which LangSmith project the traces are recorded under? I haven't found this option in the exporter config or documentation. Is this supported, or is there a recommended approach for multi-project tracing? Appreciate any guidance!
Package versions used:
3 Replies
๐ Created GitHub issue: https://github.com/mastra-ai/mastra/issues/10748
๐ If you're experiencing an error, please provide a minimal reproducible example whenever possible to help us resolve it quickly.
๐ Thank you for helping us improve Mastra!
Hi @shiroyasha9 ! We can add this!
But in the meantime: LANGCHAIN_PROJECT is the env var used by their SDK for project ids
ill add that to our docs
GitHub
feat(langsmith): add projectName config option by abhiaiyer91 ยท Pu...
Closes #10748
Adds support for specifying which LangSmith project to send traces to via the projectName config option. This overrides the LANGCHAIN_PROJECT environment variable if both are set.
new...