

# Monitoring AWS Context with traces

 AWS Context can send traces (spans) for the retrieval operations that your agents call. Use the traces to see how long each call took, whether it failed and why, and what each call did.

 AWS Context sends one span for each call to the following operations on an Agent Context:
+  `AgenticRetrieve` 
+  `AgenticRetrieveStream` 
+  `SearchAgentContext` 
+  `TraverseAgentContext` 

An `AgenticRetrieve` or `AgenticRetrieveStream` call also produces spans for the operations that it calls, such as `SearchAgentContext` and `TraverseAgentContext`. A single call can produce several of these spans.

Spans are delivered to AWS X-Ray through Amazon CloudWatch Logs vended log delivery, with the `TRACES` log type. If your agent sends an X-Ray trace header with a call, the span for that call joins your agent’s trace as a child span. Otherwise, the span starts a new trace.

Traces are available in the US East (N. Virginia), US West (Oregon), and Europe (Ireland) Regions.

**Topics**
+ [Enable trace delivery](traces-enable.md)
+ [Span fields](traces-span-fields.md)
+ [Example queries](traces-queries.md)