Vibeleaderboard
← All Intel
Intel / article

Export AI Gateway traces with Vercel Drains

Source
vercel.com
Author
Jerilyn Zheng
Date

Context

Vercel's AI Gateway traces let teams examine how a model request was handled, including provider routing, retries, fallbacks, timing and cost. Pro and Enterprise teams can export those records through Drains to any endpoint compatible with the OTLP/HTTP telemetry protocol, which gives them records for investigating a slow or unexpectedly expensive request. Trace export announcement.

The exported traces exclude and completion content. They therefore support investigation of request handling without including the conversation text in that export. Teams can also sample traffic to choose how many traces reach each destination, and Vercel charges for delivered traces on top of standard Drains data rates. Export contents and controls.

Terms in this piece · Glossary
  • Prompt — Information or instructions supplied to a model; in a chat, the request you type is often called your prompt.
  • model routing — Sending each request to a model chosen by the difficulty of the task, rather than using one model for everything.
  • Token — A piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.
  • time to first token — The delay between sending a model request and receiving the first piece of its response.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Tools in this story
More from Jerilyn Zheng
Recommended reads
Comments

Checking sign-in…

Loading comments…