Skip to content

Commit 6d72cfa

Browse files
authored
ref(explorer): update log tool copy (#104065)
1 parent 4ff17b8 commit 6d72cfa

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

static/app/views/seerExplorer/utils.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)