You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Document per-tool tool.<name> telemetry spans in the TypeScript ADK #680
The TypeScript Agent SDK now emits one OpenTelemetry span per tool execution: DefaultToolBox.executeTool opens a tool.<name> span with gen_ai.tool.name and copies the session.id / gen_ai.tool.call.id baggage members when present. This mirrors the Go ADK (inference-gateway/adk#305) and lands in inference-gateway/typescript-adk#219 (tracking issue #218).
The telemetry documentation should mention this new span so operators know what to expect in their traces.
Acceptance Criteria
The telemetry documentation lists the new tool.<name> span emitted by DefaultToolBox.executeTool
The docs describe the gen_ai.tool.name attribute and the optional session.id / gen_ai.tool.call.id attributes copied from incoming baggage
The docs note the span is emitted automatically for every registered tool (no per-tool code) and is a no-op when telemetry is disabled
What changed (typescript-adk.md, one section under "What gets instrumented"):
New tool.<name> span emitted by DefaultToolBox.executeTool, with an attribute table for gen_ai.tool.name and the optional session.id / gen_ai.tool.call.id copied from incoming baggage.
Notes it is automatic for every registered tool (no per-tool code), uses the global tracer so it is a no-op when telemetry is disabled, is active while the tool runs, records ERROR status on a throwing tool, and is skipped for lookup/schema-validation failures.
Feature table row for TelemetryProvider now mentions tool spans.
Activity
edenreich commentedon Sep 16, 2026
@claude Can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Sep 16, 2026
Claude finished @edenreich's task in 1m 56s —— View job •
docs/issue-680-20260916-1007• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-680-20260916-1007?quick_pull=1&title=Issue%20%23680%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23680%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done
tool.<name>span intypescript-adk.mdlint:md,format:check,build(all pass)What changed (
typescript-adk.md, one section under "What gets instrumented"):tool.<name>span emitted byDefaultToolBox.executeTool, with an attribute table forgen_ai.tool.nameand the optionalsession.id/gen_ai.tool.call.idcopied from incoming baggage.TelemetryProvidernow mentions tool spans.PR: #682
| Branch
inference-gateway-releaser commentedon Sep 22, 2026
🎉 This issue has been resolved in version 0.9.14 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀