Skip to content

Commit 589d252

Browse files
codydecoolguyzone
andauthored
Update docs/platforms/javascript/common/tracing/span-metrics/examples.mdx
Co-authored-by: Alex Krawiec <[email protected]>
1 parent d82cad4 commit 589d252

File tree

1 file changed

+1
-1
lines changed
  • docs/platforms/javascript/common/tracing/span-metrics

1 file changed

+1
-1
lines changed

docs/platforms/javascript/common/tracing/span-metrics/examples.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ async function synthesizeResponse(llmResponse: any, toolsUsed: string[]): Promis
804804
805805
**How the trace works together:**
806806
- The frontend span (`gen_ai.invoke_agent`) captures the entire user interaction from message to response.
807-
- Backend agent span continues the trace with the same operation and agent name for correlation.
807+
- The backend agent span continues the trace with the same operation and agent name for correlation.
808808
- The LLM spans (`gen_ai.chat`) track individual model calls with token usage and performance.
809809
- The tool execution spans (`gen_ai.execute_tool`) monitor each tool call with input/output and timing.
810810
- Rich attributes enable monitoring of conversation quality, cost, and business outcomes.

0 commit comments

Comments
 (0)