From b5fa32876f709f0dcbe74540c69e836fedeeb8e1 Mon Sep 17 00:00:00 2001 From: Rohan Agarwal Date: Sat, 11 Oct 2025 19:11:34 -0700 Subject: [PATCH] Tool copy for query tool --- static/app/views/seerExplorer/utils.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/static/app/views/seerExplorer/utils.tsx b/static/app/views/seerExplorer/utils.tsx index b9b518b7b7d81b..8fd68596254ad4 100644 --- a/static/app/views/seerExplorer/utils.tsx +++ b/static/app/views/seerExplorer/utils.tsx @@ -19,7 +19,7 @@ const TOOL_FORMATTERS: Record = { telemetry_index_dependencies: (args, isLoading) => { const title = args.title || 'item'; - const truncatedTitle = title.length > 50 ? title.slice(0, 50) + '...' : title; + const truncatedTitle = title.length > 75 ? title.slice(0, 75) + '...' : title; return isLoading ? `Tracing the flow of ${truncatedTitle}...` : `Traced the flow of ${truncatedTitle}`; @@ -29,6 +29,11 @@ const TOOL_FORMATTERS: Record = { const question = args.question || 'query'; return isLoading ? `Googling '${question}'...` : `Googled '${question}'`; }, + + trace_explorer_query: (args, isLoading) => { + const question = args.question || 'spans'; + return isLoading ? `Querying spans: '${question}'` : `Queried spans: '${question}'`; + }, }; /**