Skip to content

Commit 9e1d077

Browse files
committed
Small fix in ai agents span spec
1 parent 8436336 commit 9e1d077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

develop-docs/sdk/telemetry/traces/modules/ai-agents.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Additional attributes on the span:
8383
Describes a tool execution.
8484

8585
- The spans `op` MUST be `"gen_ai.execute_tool"`.
86-
- The spans `name` SHOULD be `"gen_ai.execute_tool {gen_ai.tool.name}"`. (e.g. `"gen_ai.execute_tool query_database"`)
86+
- The spans `name` SHOULD be `"execute_tool {gen_ai.tool.name}"`. (e.g. `"execute_tool query_database"`)
8787
- The `gen_ai.tool.name` attribute SHOULD be set to the name of the tool. (e.g. `"query_database"`)
8888
- All [Common Span Attributes](#common-span-attributes) SHOULD be set (all `required` common attributes MUST be set).
8989

0 commit comments

Comments
 (0)