No Metrics implementation in core module
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- java, observability-sre
調査の方向性
The payload names no source file, so start with the core module's existing telemetry or instrumentation points and with the linked Issue #1132, which the body cross-references for context. Decide where the three instruments (gen_ai.client.operation.duration, gen_ai.client.token.usage, a2a.task.request.duration) should be recorded, and confirm the expected attribute names with a maintainer before writing code. Done means each instrument is recorded on the matching operation and a test confirms the values.
索引モデルが issue の本文から書いたものです。
説明
The a2a-java core module has zero Metrics implementation. There are no histograms, counters, or any other instruments measuring operation duration, throughput, or token usage.
Current Behavior
Expected Metric | Type | Status -- | -- | -- gen_ai.client.operation.duration | Histogram | ❌ Missing gen_ai.client.token.usage | Histogram | ❌ Missing a2a.task.request.duration | Histogram | ❌ Missing- There is no
gen_ai.client.operation.durationmetric, which is the standard OTel GenAI operation duration histogram.
Expected Behavior
The core SDK module should provide built-in metrics instruments, at minimum:
gen_ai.client.operation.duration(OTel GenAI standard) — operation latency histogramgen_ai.client.token.usage(OTel GenAI standard) — token usage histogram bygen_ai.token.type- Task request duration covering the full SSE streaming lifecycle (from stream initiation to last event)
Impact
- Cannot measure operation latency or throughput at scale.
- Cannot set up SLO/SLA alerts based on latency percentiles.
- Cannot quantify agent interaction performance trends.
- Token usage is not tracked, making cost analysis impossible.
cf Issue #1132
- 主要言語
- Java
- スター
- 510
- フォーク
- 196
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 57
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
a2aproject/a2a-java のほかの issue
-
HTTP+JSON CancelTask returns 409 Conflict instead of 400 Bad Request for TaskNotCancelableErrorオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
a2aproject/a2a-java#1298 ·
メンテナーはふだん 1 日以内に返信
-
fix: handle blank push notification config id consistently across transports対応中かも @prachisinghal-1 が 15 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
a2aproject/a2a-java#1012 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
a2aproject/a2a-java#464 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Create a sample that demonstrates how to use a shared contextId across multiple tasks再び着手できるかも @tanish111 が 382 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンsample
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
a2aproject/a2a-java#375 · コメント 5 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
a2aproject/a2a-java#1299 ·
メンテナーはふだん 1 日以内に返信
a2aproject/a2a-java の issue をすべて見る
似ている issue
-
bug main ui
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openhab/openhab-webui#4671 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
NearVanilla/IceCream#109 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
omatheusmesmo/vintelli#293 ·
メンテナーはふだん 1 日以内に返信
-
getRawTextContent() returns the lines of every page in reverse order (bottom to top) since 4.0.3オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
bancolombia/bin-stash#79 ·