Skip to content

Add custom span instrumentation#14

Draft
djfarrelly wants to merge 1 commit intomainfrom
task/spans
Draft

Add custom span instrumentation#14
djfarrelly wants to merge 1 commit intomainfrom
task/spans

Conversation

@djfarrelly
Copy link
Member

@djfarrelly djfarrelly commented Feb 27, 2026

Additional detail for tools.


Summary by cubic

Add OpenTelemetry tracing around tool execution to improve observability and debugging. Each tool call now creates an "executeTool" span with useful attributes and ends cleanly on all paths.

  • New Features

    • Added tracer in src/lib/traces.ts ("inngest-utah").
    • Instrumented executeTool with spans including toolCallId, name, and args.
    • Ensured spans end on success, error, and unknown tool cases.
  • Dependencies

    • Added @opentelemetry/api ^1.9.0.

Written for commit 29691d8. Summary will update on new commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant