Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions features/integrations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ tracer_provider.shutdown()
- `OPENAI_API_KEY`
- `PROMPTLAYER_API_KEY`

Once configured, PromptLayer will capture OpenAI Agents traces with spans automatically labeled by type: agent spans appear as **LLM session**, response and generation spans appear as **LLM call**, and function/tool spans appear as **Tool: \<function name\>**. Token usage, model metadata, prompts, and completions are captured from LLM call spans.

## Vercel AI SDK

PromptLayer supports integration with the [Vercel AI SDK](https://ai-sdk.dev/docs), allowing you to export OpenTelemetry traces from your application directly to PromptLayer.
Expand Down
Loading