Vercel Marketplace tracing
The Vercel Marketplace integration collects traces for AI calls in your Vercel applications with minimal setup. No package installation required.Setup
Set up the marketplace integration by installing it from Vercel, linking Braintrust, choosing a plan, and adding a drain.1
Install the integration
Visit the Vercel Marketplace listing and select Install.
2
Create or link your account
Create a Braintrust account or link your existing account.
3
Select a plan and project
Select a plan and create a project name:
- Starter: Free with basic limits.
- Starter (pay-as-you-go): No monthly fee, but charges for usage beyond the free tier. Requires a payment method.
- Pro: Higher limits with a monthly fee.
4
Add a drain
Select Add Drain to configure trace collection.
Configure log drain
Choose which trace data Vercel sends to Braintrust and which projects the drain covers.1
Select trace data
In the Add Drain panel, select Traces and Next.
2
Choose projects
Choose which Vercel projects to trace (All Projects or specific projects).
3
Set sampling
Set the sampling rate for trace collection.
Enable OpenTelemetry
In your Next.js project, create aninstrumentation.ts file and call registerOtel to emit traces to the marketplace drain.