correlate_ai_trace
Diagnose unexpected cache misses or stale memory recalls by joining AI trace cache/memory spans with live Valkey state, revealing key existence, TTL, active thresholds, and index state.
Instructions
Explain WHY a trace behaved the way it did by joining its cache/memory spans with live Valkey state: does the key still exist, what is its TTL, what threshold was active, what is the index state. The strongest tool for diagnosing unexpected cache misses or stale memory recalls. Requires a selected instance (the one the AI components run on).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| traceId | Yes | Trace ID from list_ai_traces | |
| instanceId | No | Optional instance ID override |