feat: add telemetry tracking for conversation-busy retries (#1135)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
jnjpng
2026-02-25 11:19:05 -08:00
committed by GitHub
parent be5fbfca74
commit 91f2456656

View File

@@ -3572,6 +3572,20 @@ export default function App({
CONVERSATION_BUSY_RETRY_BASE_DELAY_MS *
2 ** (conversationBusyRetriesRef.current - 1);
// Log the conversation-busy error
telemetry.trackError(
"retry_conversation_busy",
errorDetail || "Conversation is busy",
"pre_stream_retry",
{
httpStatus:
preStreamError instanceof APIError
? preStreamError.status
: undefined,
modelId: currentModelId || undefined,
},
);
// Show status message
const statusId = uid("status");
buffersRef.current.byId.set(statusId, {