Skip to content

fix: set gen_ai.operation.name for tool spans to "execute_tool"#22

Merged
clarissalimab merged 1 commit into
thoughtbot:mainfrom
syngenta:feat/execute-tool-operation-name
May 21, 2026
Merged

fix: set gen_ai.operation.name for tool spans to "execute_tool"#22
clarissalimab merged 1 commit into
thoughtbot:mainfrom
syngenta:feat/execute-tool-operation-name

Conversation

@oleksii-leonov
Copy link
Copy Markdown
Contributor

From https://opentelemetry.io/docs/specs/semconv/gen-ai/gen-ai-spans/#execute-tool-span:

gen_ai.operation.name SHOULD be execute_tool.

We have found that DataDog requires this tag to display tool spans in the UI properly.

Copy link
Copy Markdown
Contributor

@clarissalimab clarissalimab left a comment

Choose a reason for hiding this comment

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

Thanks for catching that!

@clarissalimab clarissalimab merged commit 9a97ca4 into thoughtbot:main May 21, 2026
4 checks passed
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.

2 participants