Skip to content
Discussion options

You must be logged in to vote

Important

The new SDK and docs are now live. Head over to the docs to get started.

Hey there, thank you so much for bringing this to our attention!

To answer your question, OpenTelemetry is structured around a singleton instance. So when you set up the NodeSDK, the trace exporter you specify will be automatically utilized by any spans/traces created globally, including those initiated by the Vercel AI SDK. This configuration is designed to work smoothly out of the box!

Here's a sneak peek at some exciting updates we'll be rolling out in the next few days:

Library update: GitHub - Pull Request #500
Docs update: GitHub - Pull Request #58

Here’s how the API is shaping up:

import { setup } from

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@0xdeafcafe
Comment options

Answer selected by 0xdeafcafe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants