File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
static/app/views/seerExplorer Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -181,10 +181,11 @@ const TOOL_FORMATTERS: Record<string, ToolFormatter> = {
181181
182182 get_log_attributes : ( args , isLoading ) => {
183183 const logMessage = args . log_message || '' ;
184- const timestamp = args . timestamp || '' ;
184+ const traceId = args . trace_id || '' ;
185+ const shortTraceId = traceId . slice ( 0 , 8 ) ;
185186 return isLoading
186- ? `Examining logs matching '*${ logMessage . slice ( 0 , 20 ) } *' at ${ timestamp } ...`
187- : `Examined logs matching '*${ logMessage . slice ( 0 , 20 ) } *' at ${ timestamp } ` ;
187+ ? `Examining logs matching '*${ logMessage . slice ( 0 , 20 ) } *' from trace ${ shortTraceId } ...`
188+ : `Examined logs matching '*${ logMessage . slice ( 0 , 20 ) } *' from trace ${ shortTraceId } ` ;
188189 } ,
189190} ;
190191
You can’t perform that action at this time.
0 commit comments