diff --git a/frontend/src/component/impact-metrics/ChartItem.tsx b/frontend/src/component/impact-metrics/ChartItem.tsx index 6f9875a366..5bf66945aa 100644 --- a/frontend/src/component/impact-metrics/ChartItem.tsx +++ b/frontend/src/component/impact-metrics/ChartItem.tsx @@ -25,15 +25,7 @@ const getConfigDescription = (config: DisplayChartConfig): string => { parts.push(`last ${config.timeRange}`); - if (config.aggregationMode === 'rps') { - parts.push('rate per second'); - } else if (config.aggregationMode === 'count') { - parts.push('count'); - } else if (config.aggregationMode === 'avg') { - parts.push('average'); - } else if (config.aggregationMode === 'sum') { - parts.push('sum'); - } + parts.push(config.aggregationMode); const labelCount = Object.keys(config.labelSelectors).length; if (labelCount > 0) {