Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion static/app/views/seerExplorer/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const TOOL_FORMATTERS: Record<string, ToolFormatter> = {

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}`;
Expand All @@ -29,6 +29,11 @@ const TOOL_FORMATTERS: Record<string, ToolFormatter> = {
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}'`;
},
};

/**
Expand Down
Loading