Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
feat: add instance column to slow query log table (#5518)
Liu Ji44bc22cf5a18
diff --git a/frontend/src/components/SlowQuery/Panel/LogTable.vue b/frontend/src/components/SlowQuery/Panel/LogTable.vueindex 7820f6219b..663a8df6bd 100644--- a/frontend/src/components/SlowQuery/Panel/LogTable.vue+++ b/frontend/src/components/SlowQuery/Panel/LogTable.vue@@ -12,6 +12,9 @@<div class="bb-grid-cell"><HumanizeTs :ts="dateToTS(log.statistics.latestLogTime)" /></div>+ <div class="bb-grid-cell">+ <InstanceName :instance="database.instance" />+ </div><div class="bb-grid-cell"><DatabaseName :database="database" /></div>@@ -55,7 +58,7 @@ import { useI18n } from "vue-i18n";import { type BBGridColumn, type BBGridRow, BBGrid } from "@/bbkit";import type { ComposedSlowQueryLog } from "@/types";import HumanizeTs from "@/components/misc/HumanizeTs.vue";-import { DatabaseName } from "@/components/v2";+import { DatabaseName, InstanceName } from "@/components/v2";export type SlowQueryLogRow = BBGridRow<ComposedSlowQueryLog>;@@ -83,7 +86,11 @@ const columns = computed(() => {width: "minmax(8rem, auto)",},{- title: t("slow-query.database-name"),+ title: t("common.instance"),+ width: "minmax(12rem, 18rem)",+ },+ {+ title: t("common.database"),width: "minmax(12rem, 18rem)",},{