diff --git a/pkg/ui/workspaces/cluster-ui/src/insights/workloadInsightDetails/statementInsightDetailsOverviewTab.tsx b/pkg/ui/workspaces/cluster-ui/src/insights/workloadInsightDetails/statementInsightDetailsOverviewTab.tsx index eb52b8000c34..730504e83ee9 100644 --- a/pkg/ui/workspaces/cluster-ui/src/insights/workloadInsightDetails/statementInsightDetailsOverviewTab.tsx +++ b/pkg/ui/workspaces/cluster-ui/src/insights/workloadInsightDetails/statementInsightDetailsOverviewTab.tsx @@ -123,7 +123,7 @@ export const StatementInsightDetailsOverviewTab: React.FC< value={Duration(insightDetails?.elapsedTimeMillis * 1e6)} /> { return makeToolTip( -

{`CPU Time spent executing within the specified time interval.`}

, +

{`SQL CPU Time spent executing within the specified time interval. It + does not include SQL planning time nor KV execution time.`}

, "cpu", ); }, diff --git a/pkg/ui/workspaces/cluster-ui/src/statementDetails/statementDetails.tsx b/pkg/ui/workspaces/cluster-ui/src/statementDetails/statementDetails.tsx index 290204d00cd5..37bb0457ee27 100644 --- a/pkg/ui/workspaces/cluster-ui/src/statementDetails/statementDetails.tsx +++ b/pkg/ui/workspaces/cluster-ui/src/statementDetails/statementDetails.tsx @@ -665,8 +665,8 @@ export class StatementDetails extends React.Component< const cpuTimeseries: AlignedData = generateCPUTimeseries(statsPerAggregatedTs); const cpuOps: Partial = { - axes: [{}, { label: "CPU Time" }], - series: [{}, { label: "CPU Time" }], + axes: [{}, { label: "SQL CPU Time" }], + series: [{}, { label: "SQL CPU Time" }], legend: { show: false }, width: cardWidth, }; @@ -831,7 +831,7 @@ export class StatementDetails extends React.Component< )} />

- Average CPU time spent executing within the specified time - interval. The gray bar indicates mean CPU time. The blue bar + Average SQL CPU time spent executing within the specified time + interval. It does not include SQL planning time nor KV execution + time. The gray bar indicates mean SQL CPU time. The blue bar indicates one standard deviation from the mean.

diff --git a/pkg/ui/workspaces/cluster-ui/src/util/sqlActivityConstants.tsx b/pkg/ui/workspaces/cluster-ui/src/util/sqlActivityConstants.tsx index 40ac441708de..83715b6ca419 100644 --- a/pkg/ui/workspaces/cluster-ui/src/util/sqlActivityConstants.tsx +++ b/pkg/ui/workspaces/cluster-ui/src/util/sqlActivityConstants.tsx @@ -72,7 +72,7 @@ export function getSortLabel( case SqlStatsSortOptions.EXECUTION_COUNT: return "Execution Count"; case SqlStatsSortOptions.CPU_TIME: - return "CPU Time"; + return "SQL CPU Time"; case SqlStatsSortOptions.P99_STMTS_ONLY: return "P99 Latency"; case SqlStatsSortOptions.CONTENTION_TIME: