Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui: say "reset" SQL stats instead of "clear" #73922

Merged
merged 1 commit into from
Dec 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/ui/workspaces/cluster-ui/src/sqlActivity/clearStats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ const ClearStats = (props: clearStatsProps): React.ReactElement => {
const toolTipText = `${statsType} statistics are aggregated once an hour by default and organized by the start time.
Statistics between two hourly intervals belong to the nearest hour rounded down.
For example, a ${statsType} execution ending at 1:50 would have its statistics aggregated in the 1:00 interval
start time. Clicking ‘clear SQL stats’ will reset SQL stats on the Statements and Transactions pages and
start time. Clicking ‘reset SQL stats’ will reset SQL stats on the Statements and Transactions pages and
crdb_internal tables.`;
return (
<Tooltip content={toolTipText} style="tableTitle">
<a
className={cx("action", "tooltip-info", "separator")}
onClick={props.resetSQLStats}
>
clear SQL stats
reset SQL stats
</a>
</Tooltip>
);
Expand Down