Skip to content

Commit 92ebdbf

Browse files
authored
fix(ai-insights): adjust trace explorer columns (#97477)
1 parent 8e3a5f8 commit 92ebdbf

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

static/app/views/insights/agents/components/modelsTable.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,13 @@ const BodyCell = memo(function BodyCell({
238238
},
239239
],
240240
query: `gen_ai.request.model:${dataRow.model}`,
241+
field: [
242+
'span.description',
243+
'span.duration',
244+
'gen_ai.usage.input_tokens',
245+
'gen_ai.usage.output_tokens',
246+
'timestamp',
247+
],
241248
});
242249

243250
switch (column.key) {

static/app/views/insights/agents/components/toolsTable.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ const BodyCell = memo(function BodyCell({
203203
},
204204
],
205205
query: `gen_ai.tool.name:${dataRow.tool}`,
206+
field: ['span.description', 'gen_ai.tool.output', 'span.duration', 'timestamp'],
206207
});
207208

208209
switch (column.key) {

static/app/views/insights/mcp/components/mcpToolsTable.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ function McpToolCell({tool}: {tool: string}) {
153153
],
154154
query: `span.op:mcp.server ${SpanFields.MCP_TOOL_NAME}:"${tool}"`,
155155
sort: `-count(span.duration)`,
156+
field: ['span.description', 'mcp.tool.result.content', 'span.duration', 'timestamp'],
156157
});
157158
return <Link to={link}>{tool}</Link>;
158159
}

0 commit comments

Comments
 (0)