Skip to content

Commit 1621726

Browse files
authored
fix(agent-insights): fix tooltip (#95417)
1 parent ece157d commit 1621726

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

static/app/views/insights/agentMonitoring/components/llmGenerationsWidget.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export default function LLMGenerationsWidget() {
104104
new Bars(convertSeriesToTimeseries(ts), {
105105
color:
106106
ts.seriesName === 'Other' ? theme.chart.neutral : colorPalette[index],
107-
alias: ts.seriesName,
107+
alias: ts.seriesName, // Ensures that the tooltip shows the full series name
108108
stack: 'stack',
109109
})
110110
),

static/app/views/insights/agentMonitoring/components/tokenUsageWidget.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ export default function TokenUsageWidget() {
104104
new Bars(convertSeriesToTimeseries(ts), {
105105
color:
106106
ts.seriesName === 'Other' ? theme.chart.neutral : colorPalette[index],
107+
alias: ts.seriesName, // Ensures that the tooltip shows the full series name
107108
stack: 'stack',
108109
})
109110
),

static/app/views/insights/agentMonitoring/components/toolUsageWidget.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export default function ToolUsageWidget() {
102102
new Bars(convertSeriesToTimeseries(ts), {
103103
color:
104104
ts.seriesName === 'Other' ? theme.chart.neutral : colorPalette[index],
105-
alias: ts.seriesName,
105+
alias: ts.seriesName, // Ensures that the tooltip shows the full series name
106106
stack: 'stack',
107107
})
108108
),

0 commit comments

Comments
 (0)