Title: Instrument Vercel AI `experimental_evaluate` · Issue #24692 · getsentry/sentry-javascript · GitHub
Open Graph Title: Instrument Vercel AI `experimental_evaluate` · Issue #24692 · getsentry/sentry-javascript
X Title: Instrument Vercel AI `experimental_evaluate` · Issue #24692 · getsentry/sentry-javascript
Description: ai@7.0.103 added experimental_evaluate. In ai@7.0.111, it also publishes on the ai:telemetry tracing channel with type: 'experimental_evaluate' (vercel/ai#21162). Our v7 channel subscriber ignores unknown event types, so these calls make...
Open Graph Description: ai@7.0.103 added experimental_evaluate. In ai@7.0.111, it also publishes on the ai:telemetry tracing channel with type: 'experimental_evaluate' (vercel/ai#21162). Our v7 channel subscriber ignores ...
X Description: ai@7.0.103 added experimental_evaluate. In ai@7.0.111, it also publishes on the ai:telemetry tracing channel with type: 'experimental_evaluate' (vercel/ai#21162). Our v7 channel subscriber ...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/24692
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Instrument Vercel AI `experimental_evaluate`","articleBody":"`ai@7.0.103` added `experimental_evaluate`. In `ai@7.0.111`, it also publishes on the `ai:telemetry` tracing channel with `type: 'experimental_evaluate'` (vercel/ai#21162). Our v7 channel subscriber ignores unknown event types, so these calls make no span today.\n\n## Scope\n\n* Change only the v7 channel subscriber (`packages/server-utils/src/integrations/vercel-ai/vercel-ai-dc-subscriber.ts`). The function does not exist in `ai` v4 to v6.\n* Make one span for each call. The channel does not publish the inner model call.\n\n## Target span\n\n* Name: `evaluate \u003cmodelId>`, op `gen_ai.evaluate`, origin `auto.vercelai.channel`\n* `gen_ai.operation.name: evaluate`, `gen_ai.provider.name` (raw provider ID, for example `typesafe.evaluation`), `gen_ai.request.model`, `gen_ai.response.model`\n* `gen_ai.usage.input_tokens`, `output_tokens`, `total_tokens`\n* `gen_ai.input.messages: [{ type: 'evaluation', state, questions }]` (only when `recordInputs` is on)\n* `gen_ai.output.messages: [{ type: 'evaluation', answers }]` (only when `recordOutputs` is on)\n* Keep the shared `vercel.ai.*` attributes that other Vercel channel spans have.\n\n## Notes\n\n* `@sentry/conventions` has no `gen_ai.evaluate` op yet.\n* Add a node-integration test. It needs `ai >= 7.0.111` in the test app.","author":{"url":"https://github.com/andreiborza","@type":"Person","name":"andreiborza"},"datePublished":"2026-09-24T11:32:31Z","url":"https://github.com/getsentry/sentry-javascript/issues/24692"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:44838508-d980-f2e2-c147-e39d56d59ca4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB1A:1425F4:4BBFA7:6A7B24:6B0444B5 |
| html-safe-nonce | da7c9991355b32aa3219091cbc32244a58bf37d4e28d2bf5ec5af669e1533f3f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjFBOjE0MjVGNDo0QkJGQTc6NkE3QjI0OjZCMDQ0NEI1IiwidmlzaXRvcl9pZCI6IjYxODE4NDE2Mjg4NzgzNTc2ODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 62e9bdb2b8b8a082fb5976f336b7316a3c4d94b3a083dbfc27a80d51b31d2813 |
| hovercard-subject-tag | issue:5567637868 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/24692/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5e433a30999eca9709274ab7ce37ec258156a3e5567488d9d88de41817202332/getsentry/sentry-javascript/issues/24692 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5e433a30999eca9709274ab7ce37ec258156a3e5567488d9d88de41817202332/getsentry/sentry-javascript/issues/24692 |
| og:image:alt | ai@7.0.103 added experimental_evaluate. In ai@7.0.111, it also publishes on the ai:telemetry tracing channel with type: 'experimental_evaluate' (vercel/ai#21162). Our v7 channel subscriber ignores ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andreiborza |
| hostname | github.com |
| expected-hostname | github.com |
| None | d4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width