Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions pkg/ui/workspaces/db-console/src/util/docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export let jobsResume: string;
export let jobsCancel: string;
export let statementsTable: string;
export let statementDiagnostics: string;
export let transactionDiagnostics: string;
export let statementsSql: string;
export let statementsRetries: string;
export let transactionRetryErrorReference: string;
Expand Down Expand Up @@ -102,6 +103,7 @@ export const recomputeDocsURLs = () => {
jobsCancel = docsURL("cancel-job");
statementsTable = docsURL("ui-statements-page.html");
statementDiagnostics = docsURL("ui-statements-page.html#diagnostics");
transactionDiagnostics = docsURL("transaction-diagnostics.html");
statementsSql = docsURL("ui-statements-page.html#sql-statement-fingerprints");
statementsRetries = docsURL("transactions.html#transaction-retries");
transactionRetryErrorReference = docsURL(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
} from "src/redux/alerts";
import { trackCancelDiagnosticsBundleAction } from "src/redux/analyticsActions";
import { trackDownloadDiagnosticsBundle } from "src/util/analytics";
import { statementDiagnostics } from "src/util/docs";
import { transactionDiagnostics } from "src/util/docs";
import { trustIcon } from "src/util/trust";

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