Skip to content

Commit aee5513

Browse files
committed
ui: update txn diagnostics history UI text and docs link
Point users to new docs link and builtin. Epic: CRDB-53541 Resolves: CRDB-55077 Release note: None
1 parent 1bb4f0c commit aee5513

File tree

2 files changed

+5
-3
lines changed
  • pkg/ui/workspaces/db-console/src

2 files changed

+5
-3
lines changed

pkg/ui/workspaces/db-console/src/util/docs.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export let jobsResume: string;
4141
export let jobsCancel: string;
4242
export let statementsTable: string;
4343
export let statementDiagnostics: string;
44+
export let transactionDiagnostics: string;
4445
export let statementsSql: string;
4546
export let statementsRetries: string;
4647
export let transactionRetryErrorReference: string;
@@ -102,6 +103,7 @@ export const recomputeDocsURLs = () => {
102103
jobsCancel = docsURL("cancel-job");
103104
statementsTable = docsURL("ui-statements-page.html");
104105
statementDiagnostics = docsURL("ui-statements-page.html#diagnostics");
106+
transactionDiagnostics = docsURL("transaction-diagnostics.html");
105107
statementsSql = docsURL("ui-statements-page.html#sql-statement-fingerprints");
106108
statementsRetries = docsURL("transactions.html#transaction-retries");
107109
transactionRetryErrorReference = docsURL(

pkg/ui/workspaces/db-console/src/views/reports/containers/transactionDiagnosticsHistory/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import {
2929
} from "src/redux/alerts";
3030
import { trackCancelDiagnosticsBundleAction } from "src/redux/analyticsActions";
3131
import { trackDownloadDiagnosticsBundle } from "src/util/analytics";
32-
import { statementDiagnostics } from "src/util/docs";
32+
import { transactionDiagnostics } from "src/util/docs";
3333
import { trustIcon } from "src/util/trust";
3434

3535
import "./transactionDiagnosticsHistoryView.styl";
@@ -252,11 +252,11 @@ export const TransactionDiagnosticsHistoryView: React.FC<
252252
icon={EmptyTableIcon}
253253
message={
254254
"Transaction diagnostics can help when troubleshooting issues with specific transactions. " +
255-
"The diagnostic bundle can be activated from individual transaction pages and will include EXPLAIN" +
255+
"The diagnostic bundle can be activated from a builtin function and will include EXPLAIN" +
256256
" plans, table statistics, and traces for all statements in the transaction."
257257
}
258258
footer={
259-
<Anchor href={statementDiagnostics} target="_blank">
259+
<Anchor href={transactionDiagnostics} target="_blank">
260260
Learn more about transaction diagnostics
261261
</Anchor>
262262
}

0 commit comments

Comments
 (0)