Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Instrument Vercel AI `experimental_evaluate`

クローズ
#24,692 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@andreiborza がすでに取り組んでいます。

2026年9月24日 から。

評価

この issue はまだ評価されていません。

説明

[email protected] added experimental_evaluate. In [email protected], 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.

Scope

  • 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.
  • Make one span for each call. The channel does not publish the inner model call.

Target span

  • Name: evaluate <modelId>, op gen_ai.evaluate, origin auto.vercelai.channel
  • gen_ai.operation.name: evaluate, gen_ai.provider.name (raw provider ID, for example typesafe.evaluation), gen_ai.request.model, gen_ai.response.model
  • gen_ai.usage.input_tokens, output_tokens, total_tokens
  • gen_ai.input.messages: [{ type: 'evaluation', state, questions }] (only when recordInputs is on)
  • gen_ai.output.messages: [{ type: 'evaluation', answers }] (only when recordOutputs is on)
  • Keep the shared vercel.ai.* attributes that other Vercel channel spans have.

Notes

  • @sentry/conventions has no gen_ai.evaluate op yet.
  • Add a node-integration test. It needs ai >= 7.0.111 in the test app.
主要言語
TypeScript
スター
8.7k
フォーク
1.9k
平均マージ
1日 15時間
マージ済み PR(30日)
523

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/sentry-javascript のほかの issue

getsentry/sentry-javascript の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。