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

Add instrumentation for Google Vertex AI (@google-cloud/vertexai)

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

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
58/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
google-cloud, nodejs, typescript

調査の方向性

Start by reading the existing instrumentation under packages/server-utils/src/ai/google-genai/ and the integration wiring in src/integrations/google-genai.ts, then compare the Vertex AI SDK entry points named in the issue. Add the standalone integration under packages/server-utils/src/ai/google-vertexai/, wire it through src/integrations/google-vertexai.ts and getTracingIntegrations(), and cover generation, chat, streaming, model, token, and finish-reason attributes.

索引モデルが issue の本文から書いたものです。

説明

Feature javascript Node.js

Add native gen-AI instrumentation for the standalone Google Vertex AI SDK, @google-cloud/vertexai (repo).

Coverage status / why this is a partial gap

Vertex is already reachable two ways today, so this is specifically about the standalone SDK:

  • @google/genai (which we already instrument) can target the Vertex backend via vertexai: true — already covered.
  • @ai-sdk/google-vertex (Vercel AI SDK provider, ~13.6M/mo) — covered by proxy through our vercel-ai integration.
  • @google-cloud/vertexai standalone SDK — not covered. This issue tracks that path.

Relevance (npm)

  • @google-cloud/vertexai: ~4.0M downloads/month (~33.7M last year). Slightly above its trailing-12-month run-rate, though Google is steering users toward the unified @google/genai SDK, so weigh this against the fact that the modern path is already instrumented.

Rough scope

  • Add instrumentation logic under packages/server-utils/src/ai/google-vertexai/ and wire it up via src/integrations/google-vertexai.ts, registered in getTracingIntegrations() (per the AI-integration architecture; runtime packages re-export from @sentry/server-utils).
  • Instrument VertexAI -> getGenerativeModel().generateContent() / generateContentStream() (and chat sessions), plus streaming.
  • Emit gen_ai.* spans following the span attribute conventions (gen_ai.provider.name = google_vertex, request/response model, token usage, finish reasons). Much of the response/attribute shaping likely overlaps with the existing google-genai instrumentation and can be shared.
  • Not OpenAI wire-compatible, so it needs its own instrumentation (can't reuse the openai-compatible shim).
主要言語
TypeScript
スター
8.7k
フォーク
1.9k
平均マージ
1日 16時間
マージ済み PR(30日)
576

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

getsentry/sentry-javascript のほかの issue

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

似ている issue

TypeScript の issue をもっと見る

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

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