Skip to content

Commit 83e7401

Browse files
committed
small fix
1 parent 78dab26 commit 83e7401

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/platforms/python/tracing/instrumentation/custom-instrumentation/agents-module.mdx renamed to docs/platforms/python/tracing/instrumentation/custom-instrumentation/ai-agents-module.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ For your AI agents data to show up in the Sentry [AI Agents Insights](https://se
1616

1717
Describes AI agent invocation.
1818

19-
- The spans `op` SHOULD be `"gen_ai.invoke_agent"`.
19+
- The spans `op` MUST be `"gen_ai.invoke_agent"`.
2020
- The span `name` SHOULD be `"invoke_agent {gen_ai.agent.name}"`.
2121
- The `gen_ai.operation.name` attribute MUST be `"invoke_agent"`.
2222
- The `gen_ai.agent.name` attribute SHOULD be set to the agents name. (e.g. `"Weather Agent"`)
@@ -49,7 +49,7 @@ Additional attributes on the span:
4949
This span represents a request to an AI model or service that generates a response or requests a tool call based on the input prompt.
5050

5151
- The span `op` MUST be `"gen_ai.{gen_ai.operation.name}"`. (e.g. `"gen_ai.chat"`)
52-
- The span `name` MUST be `{gen_ai.operation.name} {gen_ai.request.model}"`. (e.g. `"chat o3-mini"`)
52+
- The span `name` SHOULD be `{gen_ai.operation.name} {gen_ai.request.model}"`. (e.g. `"chat o3-mini"`)
5353
- All [Common Span Attributes](#common-span-attributes) SHOULD be set (all `required` common attributes MUST be set).
5454

5555
Additional attributes on the span:
@@ -79,7 +79,7 @@ Additional attributes on the span:
7979
Describes a tool execution.
8080

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

0 commit comments

Comments
 (0)