Skip to content

Backport: feat (provider/gateway): pass through project id when available for o11y#12852

Merged
2 commits merged intorelease-v5.0from
backport-pr-12835-to-release-v5.0
Feb 26, 2026
Merged

Backport: feat (provider/gateway): pass through project id when available for o11y#12852
2 commits merged intorelease-v5.0from
backport-pr-12835-to-release-v5.0

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Feb 25, 2026

This is an automated backport of #12835 to the release-v5.0 branch. FYI @shaper

…11y (#12835)

## Background

The gateway provider needs to pass through Vercel project ID information
for observability purposes when it's available in the environment.

## Changes

Added support for passing through the `VERCEL_PROJECT_ID` environment
variable as the `ai-o11y-project-id` header in the gateway provider's
observability headers. This enables better tracking and identification
of requests by project when using the AI SDK gateway in Vercel
deployments.
@ghost ghost assigned gr2m Feb 25, 2026
@ghost ghost enabled auto-merge (squash) February 25, 2026 18:20
@tigent tigent Bot added ai/gateway ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label backport Admins only: add this label to a pull request in order to backport it to the prior version feature New feature or request labels Feb 25, 2026
@ghost ghost merged commit 9212b2d into release-v5.0 Feb 26, 2026
18 checks passed
@ghost ghost deleted the backport-pr-12835-to-release-v5.0 branch February 26, 2026 07:33
@gr2m gr2m added ai/core core functions like generateText, streamText, etc. Provider utils, and provider spec. and removed ai/telemetry labels Mar 6, 2026
ghost pushed a commit that referenced this pull request Mar 6, 2026
@ghost ghost removed the backport Admins only: add this label to a pull request in order to backport it to the prior version label Mar 6, 2026
@ghost
Copy link
Copy Markdown
Author

ghost commented Mar 6, 2026

⚠️ Backport to release-v4.3 created but has conflicts: #13150

@gr2m gr2m added provider/gateway Issues related to the @ai-sdk/gateway provider and removed ai/gateway labels Mar 6, 2026
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/core core functions like generateText, streamText, etc. Provider utils, and provider spec. ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label feature New feature or request provider/gateway Issues related to the @ai-sdk/gateway provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants