You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/gen-ai/gen-ai-spans.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ This span represents a client call to Generative AI model or service that genera
60
60
Semantic conventions for individual GenAI systems and frameworks MAY specify different span name format
61
61
and MUST follow the overall [guidelines for span names](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.37.0/specification/trace/api.md#span).
62
62
63
-
**Span kind** SHOULD be `CLIENT`and MAY be set to `INTERNAL` on spans representing
63
+
**Span kind** SHOULD be `CLIENT`and MAY be set to `INTERNAL` on spans representing
64
64
call to models running in the same process. It's RECOMMENDED to use `CLIENT` kind
65
65
when the GenAI system being instrumented usually runs in a different process than its
66
66
client or when the GenAI call happens over instrumented protocol such as HTTP.
Copy file name to clipboardExpand all lines: model/gen-ai/spans.yaml
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,7 @@ groups:
110
110
Semantic conventions for individual GenAI systems and frameworks MAY specify different span name format
111
111
and MUST follow the overall [guidelines for span names](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.37.0/specification/trace/api.md#span).
112
112
113
-
**Span kind** SHOULD be `CLIENT`and MAY be set to `INTERNAL` on spans representing
113
+
**Span kind** SHOULD be `CLIENT`and MAY be set to `INTERNAL` on spans representing
114
114
call to models running in the same process. It's RECOMMENDED to use `CLIENT` kind
115
115
when the GenAI system being instrumented usually runs in a different process than its
116
116
client or when the GenAI call happens over instrumented protocol such as HTTP.
@@ -256,7 +256,8 @@ groups:
256
256
with remote agent services.
257
257
note: |
258
258
The `gen_ai.operation.name` SHOULD be `invoke_agent`.
259
-
The **span name** SHOULD be `invoke_agent {gen_ai.agent.name}` if `gen_ai.agent.name` is readily available.
259
+
260
+
**Span name** SHOULD be `invoke_agent {gen_ai.agent.name}` if `gen_ai.agent.name` is readily available.
260
261
When `gen_ai.agent.name` is not available, it SHOULD be `invoke_agent`.
261
262
Semantic conventions for individual GenAI systems and frameworks MAY specify different span name format.
0 commit comments