ydb-embedded-ui 6.23.1 → 6.24.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +6 -2
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.d.ts +3 -2
- package/dist/components/PaginatedTable/PaginatedTable.js +15 -21
- package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/TableChunk.d.ts +1 -2
- package/dist/components/PaginatedTable/TableChunk.js +5 -19
- package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
- package/dist/components/PaginatedTable/useScrollBasedChunks.d.ts +9 -0
- package/dist/components/PaginatedTable/useScrollBasedChunks.js +35 -0
- package/dist/components/PaginatedTable/useScrollBasedChunks.js.map +1 -0
- package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -2
- package/dist/components/TabletsStatistic/TabletsStatistic.js +2 -2
- package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
- package/dist/components/VDisk/VDisk.js +2 -21
- package/dist/components/VDisk/VDisk.js.map +1 -1
- package/dist/components/VDisk/VDisk.scss +2 -0
- package/dist/components/VDisk/VDiskWithDonorsStack.js +2 -2
- package/dist/components/VDisk/VDiskWithDonorsStack.js.map +1 -1
- package/dist/components/VDisk/utils.d.ts +2 -0
- package/dist/components/VDisk/utils.js +23 -0
- package/dist/components/VDisk/utils.js.map +1 -0
- package/dist/components/VDiskInfo/VDiskInfo.js +2 -2
- package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
- package/dist/components/VDiskPopup/VDiskPopup.d.ts +2 -3
- package/dist/components/VDiskPopup/VDiskPopup.js +22 -3
- package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
- package/dist/components/nodesColumns/columns.d.ts +55 -0
- package/dist/components/nodesColumns/columns.js +187 -0
- package/dist/components/nodesColumns/columns.js.map +1 -0
- package/dist/components/nodesColumns/constants.d.ts +39 -0
- package/dist/components/nodesColumns/constants.js +73 -0
- package/dist/components/nodesColumns/constants.js.map +1 -0
- package/dist/{containers/Nodes/columns → components/nodesColumns}/i18n/en.json +4 -3
- package/dist/components/nodesColumns/i18n/index.d.ts +2 -0
- package/dist/{containers/Nodes/columns → components/nodesColumns}/i18n/index.js +1 -1
- package/dist/components/nodesColumns/i18n/index.js.map +1 -0
- package/dist/components/nodesColumns/types.d.ts +8 -0
- package/dist/components/nodesColumns/types.js.map +1 -0
- package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js +8 -4
- package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js.map +1 -1
- package/dist/containers/Authentication/Authentication.js +12 -10
- package/dist/containers/Authentication/Authentication.js.map +1 -1
- package/dist/containers/Cluster/Cluster.js +1 -1
- package/dist/containers/Cluster/Cluster.js.map +1 -1
- package/dist/containers/Node/Node.js +1 -1
- package/dist/containers/Node/Node.js.map +1 -1
- package/dist/containers/Nodes/Nodes.js +1 -1
- package/dist/containers/Nodes/Nodes.js.map +1 -1
- package/dist/containers/Nodes/NodesWrapper.d.ts +2 -2
- package/dist/containers/Nodes/NodesWrapper.js +2 -2
- package/dist/containers/Nodes/NodesWrapper.js.map +1 -1
- package/dist/containers/Nodes/PaginatedNodes.d.ts +3 -2
- package/dist/containers/Nodes/PaginatedNodes.js +3 -3
- package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
- package/dist/containers/Nodes/columns/columns.d.ts +2 -7
- package/dist/containers/Nodes/columns/columns.js +13 -187
- package/dist/containers/Nodes/columns/columns.js.map +1 -1
- package/dist/containers/Nodes/columns/constants.d.ts +1 -38
- package/dist/containers/Nodes/columns/constants.js +0 -68
- package/dist/containers/Nodes/columns/constants.js.map +1 -1
- package/dist/containers/Nodes/columns/hooks.d.ts +3 -3
- package/dist/containers/Nodes/columns/hooks.js +2 -1
- package/dist/containers/Nodes/columns/hooks.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.js +2 -2
- package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
- package/dist/containers/Storage/Disks/Disks.d.ts +2 -2
- package/dist/containers/Storage/Disks/Disks.js +5 -6
- package/dist/containers/Storage/Disks/Disks.js.map +1 -1
- package/dist/containers/Storage/PDisk/PDisk.d.ts +2 -2
- package/dist/containers/Storage/PDisk/PDisk.js +3 -6
- package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
- package/dist/containers/Storage/PaginatedStorage.d.ts +4 -1
- package/dist/containers/Storage/PaginatedStorage.js +3 -2
- package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
- package/dist/containers/Storage/PaginatedStorageGroups.js +5 -5
- package/dist/containers/Storage/PaginatedStorageGroups.js.map +1 -1
- package/dist/containers/Storage/PaginatedStorageNodes.js +7 -7
- package/dist/containers/Storage/PaginatedStorageNodes.js.map +1 -1
- package/dist/containers/Storage/Storage.d.ts +3 -1
- package/dist/containers/Storage/Storage.js +3 -3
- package/dist/containers/Storage/Storage.js.map +1 -1
- package/dist/containers/Storage/StorageControls/StorageControls.js +2 -2
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.d.ts +3 -2
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js +2 -2
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroupsTable.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/StorageGroupsColumns.scss +10 -1
- package/dist/containers/Storage/StorageGroups/columns/columns.js +21 -16
- package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/constants.js +1 -1
- package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +3 -2
- package/dist/containers/Storage/StorageGroups/columns/hooks.js +5 -5
- package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/i18n/en.json +1 -1
- package/dist/containers/Storage/StorageGroups/columns/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/StorageGroups/columns/types.d.ts +3 -2
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.d.ts +3 -2
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js +2 -2
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/columns.d.ts +2 -38
- package/dist/containers/Storage/StorageNodes/columns/columns.js +34 -71
- package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +20 -4
- package/dist/containers/Storage/StorageNodes/columns/constants.js +4 -32
- package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/hooks.d.ts +2 -39
- package/dist/containers/Storage/StorageNodes/columns/hooks.js +4 -4
- package/dist/containers/Storage/StorageNodes/columns/hooks.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +0 -8
- package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/StorageNodes/columns/types.d.ts +5 -5
- package/dist/containers/Storage/StorageWrapper.d.ts +6 -3
- package/dist/containers/Storage/StorageWrapper.js +10 -3
- package/dist/containers/Storage/StorageWrapper.js.map +1 -1
- package/dist/containers/Storage/types.d.ts +6 -0
- package/dist/containers/Storage/types.js +2 -0
- package/dist/containers/Storage/types.js.map +1 -0
- package/dist/containers/Storage/utils/index.d.ts +4 -6
- package/dist/containers/Storage/utils/index.js +35 -9
- package/dist/containers/Storage/utils/index.js.map +1 -1
- package/dist/containers/StorageGroupPage/StorageGroupPage.js +2 -2
- package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
- package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +2 -9
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -4
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.d.ts +4 -0
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +18 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +22 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +2 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js +2 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +23 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +2 -6
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js +2 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/en.json +2 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js +4 -2
- package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js +2 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +2 -1
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +3 -4
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
- package/dist/containers/Tenant/Query/Preview/Preview.js +3 -2
- package/dist/containers/Tenant/Query/Preview/Preview.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +1 -4
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +4 -4
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
- package/dist/containers/Tenants/Tenants.js +10 -2
- package/dist/containers/Tenants/Tenants.js.map +1 -1
- package/dist/containers/UserSettings/i18n/en.json +0 -2
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.d.ts +0 -1
- package/dist/containers/UserSettings/settings.js +2 -7
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.js +3 -4
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/services/api.d.ts +3 -4
- package/dist/services/api.js +1 -3
- package/dist/services/api.js.map +1 -1
- package/dist/services/settings.d.ts +1 -2
- package/dist/services/settings.js +1 -2
- package/dist/services/settings.js.map +1 -1
- package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.js +62 -40
- package/dist/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.js.map +1 -1
- package/dist/store/reducers/cluster/cluster.js +0 -1
- package/dist/store/reducers/cluster/cluster.js.map +1 -1
- package/dist/store/reducers/cluster/utils.d.ts +1 -1
- package/dist/store/reducers/cluster/utils.js +2 -1
- package/dist/store/reducers/cluster/utils.js.map +1 -1
- package/dist/store/reducers/executeQuery.d.ts +0 -2
- package/dist/store/reducers/executeQuery.js +1 -2
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +1 -1
- package/dist/store/reducers/executeTopQueries/executeTopQueries.js +4 -4
- package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
- package/dist/store/reducers/nodes/types.d.ts +2 -7
- package/dist/store/reducers/nodes/utils.js +0 -6
- package/dist/store/reducers/nodes/utils.js.map +1 -1
- package/dist/store/reducers/preview.js +1 -1
- package/dist/store/reducers/preview.js.map +1 -1
- package/dist/store/reducers/shardsWorkload/shardsWorkload.js +0 -1
- package/dist/store/reducers/shardsWorkload/shardsWorkload.js.map +1 -1
- package/dist/store/reducers/storage/types.d.ts +6 -7
- package/dist/store/reducers/storage/utils.js +23 -9
- package/dist/store/reducers/storage/utils.js.map +1 -1
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js +0 -1
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.js.map +1 -1
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js +0 -1
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.js.map +1 -1
- package/dist/store/reducers/tenants/types.d.ts +1 -0
- package/dist/store/reducers/tenants/utils.js +4 -2
- package/dist/store/reducers/tenants/utils.js.map +1 -1
- package/dist/store/reducers/viewSchema/viewSchema.js +2 -2
- package/dist/store/reducers/viewSchema/viewSchema.js.map +1 -1
- package/dist/types/additionalProps.d.ts +1 -1
- package/dist/types/api/cluster.d.ts +2 -0
- package/dist/types/api/cluster.js +3 -1
- package/dist/types/api/cluster.js.map +1 -1
- package/dist/types/api/nodes.d.ts +3 -0
- package/dist/types/api/nodes.js.map +1 -1
- package/dist/types/api/query.d.ts +16 -30
- package/dist/types/api/storage.d.ts +2 -2
- package/dist/types/store/query.d.ts +0 -1
- package/dist/utils/constants.d.ts +0 -1
- package/dist/utils/constants.js +0 -2
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js +1 -2
- package/dist/utils/disks/__test__/calculateVDiskSeverity.test.js.map +1 -1
- package/dist/utils/disks/calculateVDiskSeverity.js +2 -3
- package/dist/utils/disks/calculateVDiskSeverity.js.map +1 -1
- package/dist/utils/disks/prepareDisks.js +3 -0
- package/dist/utils/disks/prepareDisks.js.map +1 -1
- package/dist/utils/disks/types.d.ts +1 -0
- package/dist/utils/nodes.d.ts +4 -2
- package/dist/utils/nodes.js +10 -1
- package/dist/utils/nodes.js.map +1 -1
- package/dist/utils/query.d.ts +5 -5
- package/dist/utils/query.js +7 -22
- package/dist/utils/query.js.map +1 -1
- package/dist/utils/query.test.js +221 -56
- package/dist/utils/query.test.js.map +1 -1
- package/dist/utils/storage.d.ts +1 -0
- package/dist/utils/storage.js +3 -0
- package/dist/utils/storage.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/PaginatedTable/useIntersectionObserver.d.ts +0 -9
- package/dist/components/PaginatedTable/useIntersectionObserver.js +0 -28
- package/dist/components/PaginatedTable/useIntersectionObserver.js.map +0 -1
- package/dist/containers/Nodes/columns/i18n/index.d.ts +0 -2
- package/dist/containers/Nodes/columns/i18n/index.js.map +0 -1
- package/dist/containers/Nodes/columns/types.d.ts +0 -9
- package/dist/containers/Nodes/columns/types.js.map +0 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.d.ts +0 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js +0 -7
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/utils.js.map +0 -1
- /package/dist/{containers/Nodes/columns → components/nodesColumns}/types.js +0 -0
package/dist/services/api.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/services/api.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAGrD,OAAO,UAAU,MAAM,aAA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B,CAAC,CAAC;IAC7B,CAAC;IAED,UAAU,CAAC,WAAmB,EAAE,EAAC,MAAM,KAAkB,EAAE;QACvD,OAAO,IAAI,CAAC,GAAG,CACX,GAAG,YAAY,IAAI,EAAE,oBAAoB,EACzC;YACI,YAAY,EAAE,WAAW;SAC5B,EACD,EAAC,aAAa,EAAE,EAAC,MAAM,EAAC,EAAC,CAC5B,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAC7B,CAAC;IAED,kBAAkB,CACd,WAAmB,EACnB,EAAC,YAAY,EAAE,MAAM,KAAkB,EAAE;QAEzC,OAAO,IAAI,CAAC,GAAG,CACX,GAAG,YAAY,IAAI,EAAE,mBAAmB,EACxC;YACI,IAAI,EAAE,WAAW;SACpB,EACD,EAAC,YAAY,EAAE,aAAa,EAAE,EAAC,MAAM,EAAC,EAAC,CAC1C,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;IACvC,CAAC;CACJ;AAED,MAAM,UAAU,SAAS,CAAC,EAAC,UAAU,GAAG,KAAK,EAAE,eAAe,GAAG,KAAK,EAAC,GAAG,EAAE;IACxE,MAAM,MAAM,GAAuB,EAAC,eAAe,EAAC,CAAC;IACrD,MAAM,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,gBAAgB,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC,CAAC,CAAC,IAAI,cAAc,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC;IACvF,OAAO,GAAG,CAAC;AACf,CAAC"}
|
@@ -4,7 +4,6 @@ export declare const DEFAULT_USER_SETTINGS: {
|
|
4
4
|
readonly theme: "system";
|
5
5
|
readonly language: undefined;
|
6
6
|
readonly invertedDisks: false;
|
7
|
-
readonly queryUseMultiSchema: true;
|
8
7
|
readonly binaryDataInPlainTextDisplay: true;
|
9
8
|
readonly saved_queries: readonly [];
|
10
9
|
readonly saved_tenant_initial_tab: "query";
|
@@ -26,7 +25,7 @@ export declare const DEFAULT_USER_SETTINGS: {
|
|
26
25
|
timeout: number;
|
27
26
|
limitRows: number;
|
28
27
|
statisticsMode: "none";
|
29
|
-
tracingLevel: "
|
28
|
+
tracingLevel: "off";
|
30
29
|
};
|
31
30
|
};
|
32
31
|
declare class SettingsManager {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { TENANT_PAGES_IDS } from '../store/reducers/tenant/constants';
|
2
|
-
import { ASIDE_HEADER_COMPACT_KEY, AUTOCOMPLETE_ON_ENTER, AUTO_REFRESH_INTERVAL, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, IS_HOTKEYS_HELP_HIDDEN_KEY, LANGUAGE_KEY, LAST_QUERY_EXECUTION_SETTINGS_KEY, LAST_USED_QUERY_ACTION_KEY, PARTITIONS_HIDDEN_COLUMNS_KEY, QUERY_EXECUTION_SETTINGS_KEY, QUERY_SETTINGS_BANNER_LAST_CLOSED_KEY,
|
2
|
+
import { ASIDE_HEADER_COMPACT_KEY, AUTOCOMPLETE_ON_ENTER, AUTO_REFRESH_INTERVAL, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, IS_HOTKEYS_HELP_HIDDEN_KEY, LANGUAGE_KEY, LAST_QUERY_EXECUTION_SETTINGS_KEY, LAST_USED_QUERY_ACTION_KEY, PARTITIONS_HIDDEN_COLUMNS_KEY, QUERY_EXECUTION_SETTINGS_KEY, QUERY_SETTINGS_BANNER_LAST_CLOSED_KEY, SAVED_QUERIES_KEY, SHOW_DOMAIN_DATABASE_KEY, TENANT_INITIAL_PAGE_KEY, THEME_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_PAGINATED_TABLES_KEY, } from '../utils/constants';
|
3
3
|
import { DEFAULT_QUERY_SETTINGS, QUERY_ACTIONS } from '../utils/query';
|
4
4
|
import { parseJson } from '../utils/utils';
|
5
5
|
/** User settings keys and their default values */
|
@@ -7,7 +7,6 @@ export const DEFAULT_USER_SETTINGS = {
|
|
7
7
|
[THEME_KEY]: 'system',
|
8
8
|
[LANGUAGE_KEY]: undefined,
|
9
9
|
[INVERTED_DISKS_KEY]: false,
|
10
|
-
[QUERY_USE_MULTI_SCHEMA_KEY]: true,
|
11
10
|
[BINARY_DATA_IN_PLAIN_TEXT_DISPLAY]: true,
|
12
11
|
[SAVED_QUERIES_KEY]: [],
|
13
12
|
[TENANT_INITIAL_PAGE_KEY]: TENANT_PAGES_IDS.query,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/services/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,oCAAoC,CAAC;AACpE,OAAO,EACH,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,iCAAiC,EACjC,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,iCAAiC,EACjC,0BAA0B,EAC1B,6BAA6B,EAC7B,4BAA4B,EAC5B,qCAAqC,EACrC,
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/services/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,oCAAoC,CAAC;AACpE,OAAO,EACH,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,iCAAiC,EACjC,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,iCAAiC,EACjC,0BAA0B,EAC1B,6BAA6B,EAC7B,4BAA4B,EAC5B,qCAAqC,EACrC,iBAAiB,EACjB,wBAAwB,EACxB,uBAAuB,EACvB,SAAS,EACT,mCAAmC,EACnC,wBAAwB,GAC3B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,sBAAsB,EAAE,aAAa,EAAC,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAC,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X,CAAC,CAAC;QAEM,oBAAe,GAAG,CAAC,GAAW,EAAW,EAAE;YAC/C,IAAI,CAAC;gBACD,MAAM,KAAK,GAAG,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;gBAExC,OAAO,SAAS,CAAC,KAAK,CAAC,CAAC;YAC5B,CAAC;YAAC,WAAM,CAAC;gBACL,OAAO,SAAS,CAAC;YACrB,CAAC;QACL,CAAC,CAAC;QAEM,iBAAY,GAAG,CAAC,GAAW,EAAE,KAAc,EAAQ,EAAE;YACzD,IAAI,CAAC;gBACD,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;oBAC5B,YAAY,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;gBACrC,CAAC;qBAAM,CAAC;oBACJ,YAAY,CAAC,OAAO,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;gBACrD,CAAC;YACL,CAAC;YAAC,WAAM,CAAC,CAAA,CAAC;QACd,CAAC,CAAC;IACN,CAAC;IA7CG;;;;OAIG;IACH,qBAAqB,CAAC,GAAW,EAAE,YAAsB;;QACrD,OAAO,MAAA,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,mCAAI,YAAY,CAAC;IACrD,CAAC;IAED;;OAEG;IACH,oBAAoB,CAAC,GAAW,EAAE,KAAc;QAC5C,OAAO,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IACzC,CAAC;CA+BJ;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,eAAe,EAAE,CAAC"}
|
@@ -28,85 +28,107 @@ describe('parseGroupsStatsQueryResponse', () => {
|
|
28
28
|
];
|
29
29
|
// 2 disk types and 2 erasure types
|
30
30
|
const dataSet1 = {
|
31
|
-
columns,
|
32
31
|
result: [
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
32
|
+
{
|
33
|
+
columns,
|
34
|
+
rows: [
|
35
|
+
['Type:SSD', 'block-4-2', '1000', '2000', 100, 50],
|
36
|
+
['Type:ROT', 'block-4-2', '2000', '1000', 50, 0],
|
37
|
+
['Type:ROT', 'mirror-3of4', '1000', '0', 15, 0],
|
38
|
+
['Type:SSD', 'mirror-3of4', '1000', '0', 5, 50],
|
39
|
+
['Type:ROT', 'mirror-3-dc', null, null, null, 0],
|
40
|
+
['Type:SSD', 'mirror-3-dc', null, null, null, 0],
|
41
|
+
],
|
42
|
+
},
|
39
43
|
],
|
40
44
|
};
|
41
45
|
// 2 disk types and 1 erasure types, but with additional disks params
|
42
46
|
const dataSet2 = {
|
43
|
-
columns,
|
44
47
|
result: [
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
48
|
+
{
|
49
|
+
columns,
|
50
|
+
rows: [
|
51
|
+
[
|
52
|
+
'Type:ROT,SharedWithOs:0,ReadCentric:0,Kind:0',
|
53
|
+
'mirror-3-dc',
|
54
|
+
'1000',
|
55
|
+
'500',
|
56
|
+
16,
|
57
|
+
16,
|
58
|
+
],
|
59
|
+
[
|
60
|
+
'Type:ROT,SharedWithOs:1,ReadCentric:0,Kind:0',
|
61
|
+
'mirror-3-dc',
|
62
|
+
'2000',
|
63
|
+
'1000',
|
64
|
+
8,
|
65
|
+
24,
|
66
|
+
],
|
67
|
+
['Type:SSD', 'mirror-3-dc', '3000', '400', 2, 10],
|
68
|
+
['Type:ROT', 'mirror-3-dc', null, null, null, 32],
|
69
|
+
['Type:ROT', 'block-4-2', null, null, null, 20],
|
70
|
+
['Type:SSD', 'block-4-2', null, null, null, 0],
|
71
|
+
],
|
72
|
+
},
|
51
73
|
],
|
52
74
|
};
|
53
75
|
const parsedDataSet1 = {
|
54
|
-
|
76
|
+
HDD: {
|
55
77
|
'block-4-2': {
|
56
|
-
|
78
|
+
allocatedSize: 1000,
|
79
|
+
availableSize: 2000,
|
80
|
+
createdGroups: 50,
|
81
|
+
diskType: 'HDD',
|
57
82
|
erasure: 'block-4-2',
|
58
|
-
|
59
|
-
totalGroups: 150,
|
60
|
-
allocatedSize: 2000,
|
61
|
-
availableSize: 1000,
|
83
|
+
totalGroups: 50,
|
62
84
|
},
|
63
85
|
'mirror-3of4': {
|
64
|
-
diskType: 'SSD',
|
65
|
-
erasure: 'mirror-3of4',
|
66
|
-
createdGroups: 5,
|
67
|
-
totalGroups: 55,
|
68
86
|
allocatedSize: 0,
|
69
87
|
availableSize: 1000,
|
88
|
+
createdGroups: 15,
|
89
|
+
diskType: 'HDD',
|
90
|
+
erasure: 'mirror-3of4',
|
91
|
+
totalGroups: 15,
|
70
92
|
},
|
71
93
|
},
|
72
|
-
|
94
|
+
SSD: {
|
73
95
|
'block-4-2': {
|
74
|
-
|
96
|
+
allocatedSize: 2000,
|
97
|
+
availableSize: 1000,
|
98
|
+
createdGroups: 100,
|
99
|
+
diskType: 'SSD',
|
75
100
|
erasure: 'block-4-2',
|
76
|
-
|
77
|
-
totalGroups: 50,
|
78
|
-
allocatedSize: 1000,
|
79
|
-
availableSize: 2000,
|
101
|
+
totalGroups: 150,
|
80
102
|
},
|
81
103
|
'mirror-3of4': {
|
82
|
-
diskType: 'HDD',
|
83
|
-
erasure: 'mirror-3of4',
|
84
|
-
createdGroups: 15,
|
85
|
-
totalGroups: 15,
|
86
104
|
allocatedSize: 0,
|
87
105
|
availableSize: 1000,
|
106
|
+
createdGroups: 5,
|
107
|
+
diskType: 'SSD',
|
108
|
+
erasure: 'mirror-3of4',
|
109
|
+
totalGroups: 55,
|
88
110
|
},
|
89
111
|
},
|
90
112
|
};
|
91
113
|
const parsedDataSet2 = {
|
92
114
|
HDD: {
|
93
115
|
'mirror-3-dc': {
|
116
|
+
allocatedSize: 1500,
|
117
|
+
availableSize: 3000,
|
118
|
+
createdGroups: 24,
|
94
119
|
diskType: 'HDD',
|
95
120
|
erasure: 'mirror-3-dc',
|
96
|
-
createdGroups: 24,
|
97
121
|
totalGroups: 64,
|
98
|
-
allocatedSize: 1500,
|
99
|
-
availableSize: 3000,
|
100
122
|
},
|
101
123
|
},
|
102
124
|
SSD: {
|
103
125
|
'mirror-3-dc': {
|
126
|
+
allocatedSize: 400,
|
127
|
+
availableSize: 3000,
|
128
|
+
createdGroups: 2,
|
104
129
|
diskType: 'SSD',
|
105
130
|
erasure: 'mirror-3-dc',
|
106
|
-
createdGroups: 2,
|
107
131
|
totalGroups: 12,
|
108
|
-
allocatedSize: 400,
|
109
|
-
availableSize: 3000,
|
110
132
|
},
|
111
133
|
},
|
112
134
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parseGroupsStatsQueryResponse.test.js","sourceRoot":"","sources":["../../../../../src/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,UAAU,CAAC;AAEvD,QAAQ,CAAC,+BAA+B,EAAE,GAAG,EAAE;IAC3C,MAAM,OAAO,GAAG;QACZ;YACI,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,OAAO;SAChB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,OAAO;SAChB;QACD;YACI,IAAI,EAAE,sBAAsB;YAC5B,IAAI,EAAE,SAAS;SAClB;QACD;YACI,IAAI,EAAE,sBAAsB;YAC5B,IAAI,EAAE,SAAS;SAClB;QACD;YACI,IAAI,EAAE,sBAAsB;YAC5B,IAAI,EAAE,SAAS;SAClB;QACD;YACI,IAAI,EAAE,yBAAyB;YAC/B,IAAI,EAAE,SAAS;SAClB;KACJ,CAAC;IAEF,mCAAmC;IACnC,MAAM,QAAQ,GAAG;QACb,OAAO;
|
1
|
+
{"version":3,"file":"parseGroupsStatsQueryResponse.test.js","sourceRoot":"","sources":["../../../../../src/store/reducers/cluster/__test__/parseGroupsStatsQueryResponse.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,UAAU,CAAC;AAEvD,QAAQ,CAAC,+B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SACJ;KACJ,CAAC;IAEF,MAAM,cAAc,GAAG;QACnB,GAAG,EAAE;YACD,aAAa,EAAE;gBACX,aAAa,EAAE,IAAI;gBACnB,aAAa,EAAE,IAAI;gBACnB,aAAa,EAAE,EAAE;gBACjB,QAAQ,EAAE,KAAK;gBACf,OAAO,EAAE,aAAa;gBACtB,WAAW,EAAE,EAAE;aAClB;SACJ;QACD,GAAG,EAAE;YACD,aAAa,EAAE;gBACX,aAAa,EAAE,GAAG;gBAClB,aAAa,EAAE,IAAI;gBACnB,aAAa,EAAE,CAAC;gBAChB,QAAQ,EAAE,KAAK;gBACf,OAAO,EAAE,aAAa;gBACtB,WAAW,EAAE,EAAE;aAClB;SACJ;KACJ,CAAC;IACF,EAAE,CAAC,6BAA6B,EAAE,GAAG,EAAE;QACnC,MAAM,CAAC,6BAA6B,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;QACxE,MAAM,CAAC,6BAA6B,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;IAC5E,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
@@ -62,7 +62,6 @@ export const clusterApi = api.injectEndpoints({
|
|
62
62
|
// Table with stats is supposed to be very small (less than 10 rows)
|
63
63
|
// So we batch this request with cluster request to prevent possible layout shifts, if data is missing
|
64
64
|
const groupsStatsResponse = await window.api.sendQuery({
|
65
|
-
schema: 'modern',
|
66
65
|
query: query,
|
67
66
|
database: clusterRoot,
|
68
67
|
action: 'execute-scan',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../../../src/store/reducers/cluster/cluster.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,WAAW,EAAE,aAAa,EAAC,MAA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} from '../../../types/api/query';
|
3
3
|
import type { ClusterGroupsStats } from './types';
|
4
4
|
export declare const createSelectClusterGroupsQuery: (clusterRoot: string) => string;
|
5
|
-
export declare const parseGroupsStatsQueryResponse: (data: ExecuteQueryResponse
|
5
|
+
export declare const parseGroupsStatsQueryResponse: (data: ExecuteQueryResponse | null) => ClusterGroupsStats;
|
6
6
|
export declare function getGroupStatsFromClusterInfo(info: TClusterInfoV2): ClusterGroupsStats;
|
7
7
|
export declare function normalizeDomain(domain?: string): string | undefined;
|
@@ -66,7 +66,8 @@ function getGroupStats(data) {
|
|
66
66
|
return result;
|
67
67
|
}
|
68
68
|
export const parseGroupsStatsQueryResponse = (data) => {
|
69
|
-
|
69
|
+
var _a, _b;
|
70
|
+
const parsedData = (_b = (_a = parseQueryAPIExecuteResponse(data).resultSets) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.result;
|
70
71
|
return getGroupStats(parsedData);
|
71
72
|
};
|
72
73
|
export function getGroupStatsFromClusterInfo(info) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/store/reducers/cluster/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,4BAA4B,EAAC,MAAM,sBAAsB,CAAC;AAIlE,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,WAAmB,EAAE,EAAE;IAClE,OAAO;;;;;;;;aAQE,WAAW;;CAEvB,CAAC;AACF,CAAC,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,aAAqB,EAAE,EAAE;;IAC1C,6DAA6D;IAC7D,MAAM,UAAU,GAAG,0BAA0B,CAAC;IAE9C,MAAM,QAAQ,GAAG,MAAA,MAAA,aAAa,CAAC,KAAK,CAAC,UAAU,CAAC,0CAAE,MAAM,0CAAG,MAAM,CAAC,CAAC;IAEnE,IAAI,QAAQ,KAAK,KAAK,EAAE,CAAC;QACrB,qBAAqB;QACrB,OAAO,KAAK,CAAC;IACjB,C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AY,CAAC,WAAW,GAAG,WAAW;wBACnD,aAAa,EAAE,YAAY,CAAC,aAAa,GAAG,aAAa;wBACzD,aAAa,EAAE,YAAY,CAAC,aAAa,GAAG,aAAa;qBAC5D,CAAC;gBACN,CAAC;qBAAM,CAAC;oBACJ,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,GAAG,aAAa,CAAC;gBAC9C,CAAC;YACL,CAAC;iBAAM,CAAC;gBACJ,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAC,CAAC,OAAO,CAAC,EAAE,aAAa,EAAC,CAAC;YAClD,CAAC;QACL,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,6BAA6B,GAAG,CACzC,IAAiC,EACf,EAAE;;IACpB,MAAM,UAAU,GAAG,MAAA,MAAA,4BAA4B,CAAC,IAAI,CAAC,CAAC,UAAU,0CAAG,CAAC,CAAC,0CAAE,MAAM,CAAC;IAC9E,OAAO,aAAa,CAAC,UAAU,CAAC,CAAC;AACrC,CAAC,CAAC;AAEF,MAAM,UAAU,4BAA4B,CAAC,IAAoB;IAC7D,OAAO,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;AAC5C,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,MAAe;IAC3C,IAAI,CAAC,MAAM,EAAE,CAAC;QACV,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,MAAM,gBAAgB,GAAG,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;IAC3E,OAAO,gBAAgB,CAAC,WAAW,EAAE,CAAC;AAC1C,CAAC"}
|
@@ -1,12 +1,10 @@
|
|
1
1
|
import type { Reducer } from '@reduxjs/toolkit';
|
2
|
-
import type { Schemas } from '../../types/api/query';
|
3
2
|
import type { ExecuteQueryAction, ExecuteQueryState, ExecuteQueryStateSlice, QueryInHistory, QueryResult } from '../../types/store/executeQuery';
|
4
3
|
import type { QueryRequestParams, QuerySettings } from '../../types/store/query';
|
5
4
|
declare const executeQuery: Reducer<ExecuteQueryState, ExecuteQueryAction>;
|
6
5
|
interface SendQueryParams extends QueryRequestParams {
|
7
6
|
queryId: string;
|
8
7
|
querySettings?: Partial<QuerySettings>;
|
9
|
-
schema?: Schemas;
|
10
8
|
enableTracingLevel?: boolean;
|
11
9
|
}
|
12
10
|
interface QueryStats {
|
@@ -136,7 +136,7 @@ const executeQuery = (state = initialState, action) => {
|
|
136
136
|
export const executeQueryApi = api.injectEndpoints({
|
137
137
|
endpoints: (build) => ({
|
138
138
|
executeQuery: build.mutation({
|
139
|
-
queryFn: async ({ query, database, querySettings = {},
|
139
|
+
queryFn: async ({ query, database, querySettings = {}, enableTracingLevel, queryId }, { signal, dispatch }) => {
|
140
140
|
var _a;
|
141
141
|
let action = 'execute';
|
142
142
|
let syntax = QUERY_SYNTAX.yql;
|
@@ -151,7 +151,6 @@ export const executeQueryApi = api.injectEndpoints({
|
|
151
151
|
try {
|
152
152
|
const timeStart = Date.now();
|
153
153
|
const response = await window.api.sendQuery({
|
154
|
-
schema,
|
155
154
|
query,
|
156
155
|
database,
|
157
156
|
action,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"executeQuery.js","sourceRoot":"","sources":["../../../src/store/reducers/executeQuery.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAC,UAAU,EAAC,MAAM,gCAAgC,CAAC;AAS1D,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAC,YAAY,EAAE,oBAAoB,EAAE,4BAA4B,EAAC,MAAM,mBAAmB,CAAC;AACnG,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,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;IAEhE,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;AAClG,CAAC,CAAC;AAEF,SAAS,iBAAiB,CAAC,QAAiC;IACxD,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAC/B,OAAO;YACH,SAAS,EAAE,QAAQ;SACtB,CAAC;IACN,CAAC;IACD,OAAO,QAAQ,CAAC;AACpB,CAAC;AAED,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,MAAc,EAAE,EAAE;IACpD,OAAO;QACH,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,EAAC,MAAM,EAAC;KACR,CAAC;AACf,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
@@ -10,5 +10,5 @@ export declare const topQueriesApi: import("@reduxjs/toolkit/query").Api<import(
|
|
10
10
|
getRunningQueries: import("@reduxjs/toolkit/query").QueryDefinition<{
|
11
11
|
database: string;
|
12
12
|
filters?: TopQueriesFilters;
|
13
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/
|
13
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/store/query").IQueryResult | undefined, "api">;
|
14
14
|
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -43,7 +43,6 @@ export const topQueriesApi = api.injectEndpoints({
|
|
43
43
|
};
|
44
44
|
try {
|
45
45
|
const response = await window.api.sendQuery({
|
46
|
-
schema: 'modern',
|
47
46
|
query: getQueryText(database, preparedFilters),
|
48
47
|
database,
|
49
48
|
action: 'execute-scan',
|
@@ -72,10 +71,10 @@ export const topQueriesApi = api.injectEndpoints({
|
|
72
71
|
}),
|
73
72
|
getRunningQueries: build.query({
|
74
73
|
queryFn: async ({ database, filters }, { signal }) => {
|
75
|
-
var _a;
|
76
74
|
try {
|
77
75
|
const filterConditions = (filters === null || filters === void 0 ? void 0 : filters.text) ? `Query ILIKE '%${filters.text}%'` : '';
|
78
|
-
const
|
76
|
+
const commonQueryPart = `SELECT UserSID, QueryStartAt, Query as QueryText, ApplicationName from \`.sys/query_sessions\` WHERE ${filterConditions || 'true'}`;
|
77
|
+
const queryText = `${commonQueryPart} AND Query NOT LIKE '${commonQueryPart}%' ORDER BY SessionStartAt limit 100`;
|
79
78
|
const response = await window.api.sendQuery({
|
80
79
|
query: queryText,
|
81
80
|
database,
|
@@ -84,7 +83,8 @@ export const topQueriesApi = api.injectEndpoints({
|
|
84
83
|
if (isQueryErrorResponse(response)) {
|
85
84
|
throw response;
|
86
85
|
}
|
87
|
-
|
86
|
+
const data = parseQueryAPIExecuteResponse(response);
|
87
|
+
return { data };
|
88
88
|
}
|
89
89
|
catch (error) {
|
90
90
|
return { error };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"executeTopQueries.js","sourceRoot":"","sources":["../../../../src/store/reducers/executeTopQueries/executeTopQueries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAAC,oBAAoB,EAAE,4BAA4B,EAAC,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAC,oBAAoB,EAAC,MAAM,SAAS,CAAC;A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import type { EFlag } from '../../../types/api/enums';
|
3
3
|
import type { NodesSortValue, TEndpoint, TPoolStats } from '../../../types/api/nodes';
|
4
4
|
import type { TTabletStateInfo as TFullTabletStateInfo } from '../../../types/api/tablet';
|
5
|
-
import type { NodesUptimeFilterValues } from '../../../utils/nodes';
|
5
|
+
import type { NodesUptimeFilterValues, PreparedNodeSystemState } from '../../../utils/nodes';
|
6
6
|
import type { ProblemFilterValue } from '../settings/types';
|
7
|
-
export interface NodesPreparedEntity {
|
7
|
+
export interface NodesPreparedEntity extends PreparedNodeSystemState {
|
8
8
|
NodeId: number;
|
9
9
|
Host?: string;
|
10
10
|
NodeName?: string;
|
11
11
|
SystemState?: EFlag;
|
12
|
-
DC?: string;
|
13
|
-
Rack?: string;
|
14
12
|
Version?: string;
|
15
|
-
TenantName?: string;
|
16
13
|
StartTime?: string;
|
17
14
|
Uptime: string;
|
18
15
|
DisconnectTime?: string;
|
19
16
|
MemoryUsed?: string;
|
20
17
|
MemoryUsedInAlloc?: string;
|
21
18
|
MemoryLimit?: string;
|
22
|
-
SharedCacheUsed?: string;
|
23
|
-
SharedCacheLimit?: string | number;
|
24
19
|
PoolStats?: TPoolStats[];
|
25
20
|
LoadAverage?: number[];
|
26
21
|
LoadAveragePercents?: number[];
|
@@ -4,16 +4,10 @@ export const prepareNodesData = (data) => {
|
|
4
4
|
var _a;
|
5
5
|
const rawNodes = data.Nodes || [];
|
6
6
|
const preparedNodes = rawNodes.map((node) => {
|
7
|
-
var _a, _b, _c, _d;
|
8
|
-
// 0 limit means that limit is not set, so it should be undefined
|
9
|
-
const sharedCacheLimit = Number((_a = node.SystemState.SharedCacheStats) === null || _a === void 0 ? void 0 : _a.LimitBytes) || undefined;
|
10
7
|
return {
|
11
8
|
...prepareNodeSystemState(node.SystemState),
|
12
9
|
Tablets: node.Tablets,
|
13
10
|
NodeId: node.NodeId,
|
14
|
-
TenantName: (_c = (_b = node.SystemState) === null || _b === void 0 ? void 0 : _b.Tenants) === null || _c === void 0 ? void 0 : _c[0],
|
15
|
-
SharedCacheUsed: (_d = node.SystemState.SharedCacheStats) === null || _d === void 0 ? void 0 : _d.UsedBytes,
|
16
|
-
SharedCacheLimit: sharedCacheLimit,
|
17
11
|
};
|
18
12
|
});
|
19
13
|
const preparedGroups = (_a = data.NodeGroups) === null || _a === void 0 ? void 0 : _a.map((group) => ({
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/store/reducers/nodes/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,iBAAiB,EAAC,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAC,sBAAsB,EAAC,MAAM,sBAAsB,CAAC;AAI5D,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,IAAgB,EAAwB,EAAE;;IACvE,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC;IAElC,MAAM,aAAa,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/store/reducers/nodes/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,iBAAiB,EAAC,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAC,sBAAsB,EAAC,MAAM,sBAAsB,CAAC;AAI5D,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,IAAgB,EAAwB,EAAE;;IACvE,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC;IAElC,MAAM,aAAa,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACxC,OAAO;YACH,GAAG,sBAAsB,CAAC,IAAI,CAAC,WAAW,CAAC;YAC3C,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,MAAM,EAAE,IAAI,CAAC,MAAM;SACtB,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,MAAM,cAAc,GAAG,MAAA,IAAI,CAAC,UAAU,0CAAE,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACpD,IAAI,EAAE,KAAK,CAAC,SAAS;QACrB,KAAK,EAAE,KAAK,CAAC,SAAS;KACzB,CAAC,CAAC,CAAC;IAEJ,OAAO;QACH,KAAK,EAAE,aAAa;QACpB,UAAU,EAAE,cAAc;QAC1B,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,aAAa,CAAC,MAAM;QAC3D,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;KACtC,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,iBAAiB,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC"}
|
@@ -5,7 +5,7 @@ export const previewApi = api.injectEndpoints({
|
|
5
5
|
sendQuery: build.query({
|
6
6
|
queryFn: async ({ query, database, action }, { signal }) => {
|
7
7
|
try {
|
8
|
-
const response = await window.api.sendQuery({
|
8
|
+
const response = await window.api.sendQuery({ query, database, action }, { signal, withRetries: true });
|
9
9
|
if (isQueryErrorResponse(response)) {
|
10
10
|
return { error: response };
|
11
11
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"preview.js","sourceRoot":"","sources":["../../../src/store/reducers/preview.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,oBAAoB,EAAE,4BAA4B,EAAC,MAAM,mBAAmB,CAAC;AAErF,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAQ1B,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAC,eAAe,CAAC;IAC1C,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,SAAS,EAAE,KAAK,CAAC,KAAK,CAAC;YACnB,OAAO,EAAE,KAAK,EAAE,EAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAkB,EAAE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AC"}
|
@@ -90,7 +90,6 @@ export const shardApi = api.injectEndpoints({
|
|
90
90
|
queryFn: async ({ database, path = '', sortOrder, filters }, { signal }) => {
|
91
91
|
try {
|
92
92
|
const response = await window.api.sendQuery({
|
93
|
-
schema: 'modern',
|
94
93
|
query: (filters === null || filters === void 0 ? void 0 : filters.mode) === EShardsWorkloadMode.Immediate
|
95
94
|
? createShardQueryImmediate(path, sortOrder, database)
|
96
95
|
: createShardQueryHistorical(path, filters, sortOrder, database),
|