Skip to content

Set gen_ai.operation.name=execute_tool on tool-execution spans#5182

Merged
DouweM merged 1 commit intomainfrom
otel-exec-tool
Apr 23, 2026
Merged

Set gen_ai.operation.name=execute_tool on tool-execution spans#5182
DouweM merged 1 commit intomainfrom
otel-exec-tool

Conversation

@DouweM
Copy link
Copy Markdown
Collaborator

@DouweM DouweM commented Apr 23, 2026

Checklist

  • Any AI generated code has been reviewed line-by-line by the human PR author, who stands by it.
  • No breaking changes in accordance with the version policy.
  • PR title is fit for the release changelog.

Per the OTel GenAI semconv, this attribute is required on
execute-tool spans. Set it unconditionally on both function-tool and
output-tool spans, matching how `invoke_agent` and `chat` spans set it.
@github-actions github-actions Bot added size: S Small PR (≤100 weighted lines) bug Report that something isn't working, or PR implementing a fix labels Apr 23, 2026
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@github-actions
Copy link
Copy Markdown
Contributor

@DouweM DouweM merged commit 829f325 into main Apr 23, 2026
56 checks passed
@DouweM DouweM deleted the otel-exec-tool branch April 23, 2026 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Report that something isn't working, or PR implementing a fix size: S Small PR (≤100 weighted lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tool execution spans violate OTel GenAI spec: gen_ai.operation.name=execute_tool is missing

1 participant