ydb-embedded-ui 7.0.0 → 7.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. package/dist/components/JSONTree/JSONTree.d.ts +9 -0
  2. package/dist/components/JSONTree/JSONTree.js +23 -0
  3. package/dist/components/JSONTree/JSONTree.js.map +1 -0
  4. package/dist/components/JSONTree/JSONTree.scss +20 -0
  5. package/dist/components/JSONTree/i18n/en.json +4 -0
  6. package/dist/components/JSONTree/i18n/index.d.ts +2 -0
  7. package/dist/components/JSONTree/i18n/index.js +5 -0
  8. package/dist/components/JSONTree/i18n/index.js.map +1 -0
  9. package/dist/components/MemoryViewer/MemoryViewer.scss +1 -1
  10. package/dist/components/Table/Table.d.ts +13 -0
  11. package/dist/components/Table/Table.js +21 -0
  12. package/dist/components/Table/Table.js.map +1 -0
  13. package/dist/components/Table/Table.scss +60 -0
  14. package/dist/components/TooltipsContent/TabletTooltipContent/TabletTooltipContent.js +2 -2
  15. package/dist/components/TooltipsContent/TabletTooltipContent/TabletTooltipContent.js.map +1 -1
  16. package/dist/components/nodesColumns/columns.js +1 -1
  17. package/dist/components/nodesColumns/constants.js +1 -1
  18. package/dist/components/nodesColumns/constants.js.map +1 -1
  19. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +3 -2
  20. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js.map +1 -1
  21. package/dist/containers/Cluster/ClusterInfo/utils.d.ts +1 -0
  22. package/dist/containers/Cluster/ClusterInfo/utils.js +39 -0
  23. package/dist/containers/Cluster/ClusterInfo/utils.js.map +1 -1
  24. package/dist/containers/Cluster/i18n/en.json +2 -0
  25. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  26. package/dist/containers/Clusters/columns.js +5 -2
  27. package/dist/containers/Clusters/columns.js.map +1 -1
  28. package/dist/containers/Storage/Storage.d.ts +6 -0
  29. package/dist/containers/Storage/Storage.js +22 -12
  30. package/dist/containers/Storage/Storage.js.map +1 -1
  31. package/dist/containers/Storage/StorageGroups/StorageGroupsTable.d.ts +1 -1
  32. package/dist/containers/Storage/StorageNodes/StorageNodesTable.d.ts +1 -1
  33. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js +5 -2
  34. package/dist/containers/Tablet/components/TabletInfo/TabletInfo.js.map +1 -1
  35. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js +3 -14
  36. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.js.map +1 -1
  37. package/dist/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss +0 -51
  38. package/dist/containers/Tablet/components/TabletStorageInfo/columns.js +6 -8
  39. package/dist/containers/Tablet/components/TabletStorageInfo/columns.js.map +1 -1
  40. package/dist/containers/Tablet/components/TabletTable/TabletTable.js +2 -2
  41. package/dist/containers/Tablet/components/TabletTable/TabletTable.js.map +1 -1
  42. package/dist/containers/Tablets/TabletsTable.js +2 -2
  43. package/dist/containers/Tablets/TabletsTable.js.map +1 -1
  44. package/dist/containers/Tenant/Diagnostics/Configs/i18n/index.d.ts +1 -1
  45. package/dist/containers/Tenant/Diagnostics/Describe/Describe.d.ts +0 -1
  46. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +2 -5
  47. package/dist/containers/Tenant/Diagnostics/Describe/Describe.js.map +1 -1
  48. package/dist/containers/Tenant/Diagnostics/Describe/Describe.scss +1 -9
  49. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.js +2 -2
  50. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.js.map +1 -1
  51. package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.scss +0 -2
  52. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +5 -2
  53. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
  54. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js +2 -1
  55. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js.map +1 -1
  56. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js +11 -4
  57. package/dist/containers/Tenant/Diagnostics/TopQueries/RunningQueriesData.js.map +1 -1
  58. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js +11 -10
  59. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueriesData.js.map +1 -1
  60. package/dist/containers/Tenant/Diagnostics/TopQueries/columns/columns.d.ts +105 -0
  61. package/dist/containers/Tenant/Diagnostics/TopQueries/{getTopQueriesColumns.js → columns/columns.js} +53 -44
  62. package/dist/containers/Tenant/Diagnostics/TopQueries/columns/columns.js.map +1 -0
  63. package/dist/containers/Tenant/Diagnostics/TopQueries/columns/constants.d.ts +21 -0
  64. package/dist/containers/Tenant/Diagnostics/TopQueries/columns/constants.js +71 -0
  65. package/dist/containers/Tenant/Diagnostics/TopQueries/columns/constants.js.map +1 -0
  66. package/dist/containers/Tenant/Diagnostics/TopQueries/columns/i18n/en.json +12 -0
  67. package/dist/containers/Tenant/Diagnostics/TopQueries/columns/i18n/index.d.ts +2 -0
  68. package/dist/containers/Tenant/Diagnostics/TopQueries/columns/i18n/index.js +5 -0
  69. package/dist/containers/Tenant/Diagnostics/TopQueries/columns/i18n/index.js.map +1 -0
  70. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/en.json +1 -5
  71. package/dist/containers/Tenant/Diagnostics/TopQueries/i18n/index.d.ts +1 -1
  72. package/dist/containers/Tenant/Diagnostics/TopQueries/utils.d.ts +12 -0
  73. package/dist/containers/Tenant/Diagnostics/TopQueries/utils.js +28 -0
  74. package/dist/containers/Tenant/Diagnostics/TopQueries/utils.js.map +1 -0
  75. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +9 -34
  76. package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js.map +1 -1
  77. package/dist/containers/Tenant/Diagnostics/TopShards/{getTopShardsColumns.d.ts → columns/columns.d.ts} +1 -2
  78. package/dist/containers/Tenant/Diagnostics/TopShards/{getTopShardsColumns.js → columns/columns.js} +16 -36
  79. package/dist/containers/Tenant/Diagnostics/TopShards/columns/columns.js.map +1 -0
  80. package/dist/containers/Tenant/Diagnostics/TopShards/columns/constants.d.ts +17 -0
  81. package/dist/containers/Tenant/Diagnostics/TopShards/columns/constants.js +55 -0
  82. package/dist/containers/Tenant/Diagnostics/TopShards/columns/constants.js.map +1 -0
  83. package/dist/containers/Tenant/Diagnostics/TopShards/columns/i18n/en.json +10 -0
  84. package/dist/containers/Tenant/Diagnostics/TopShards/columns/i18n/index.d.ts +2 -0
  85. package/dist/containers/Tenant/Diagnostics/TopShards/columns/i18n/index.js +5 -0
  86. package/dist/containers/Tenant/Diagnostics/TopShards/columns/i18n/index.js.map +1 -0
  87. package/dist/containers/Tenant/Diagnostics/TopShards/utils.d.ts +5 -0
  88. package/dist/containers/Tenant/Diagnostics/TopShards/utils.js +17 -0
  89. package/dist/containers/Tenant/Diagnostics/TopShards/utils.js.map +1 -0
  90. package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.d.ts +0 -1
  91. package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.js +2 -5
  92. package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.js.map +1 -1
  93. package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.scss +0 -3
  94. package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/OperationCell.js +1 -1
  95. package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/OperationCell.js.map +1 -1
  96. package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/SimplifiedPlan.js +16 -25
  97. package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/SimplifiedPlan.js.map +1 -1
  98. package/dist/containers/Tenant/Query/QueryResult/components/SimplifiedPlan/SimplifiedPlan.scss +3 -53
  99. package/dist/services/settings.d.ts +1 -0
  100. package/dist/services/settings.js +2 -1
  101. package/dist/services/settings.js.map +1 -1
  102. package/dist/store/reducers/cluster/cluster.d.ts +6 -0
  103. package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +8 -8
  104. package/dist/store/reducers/executeTopQueries/executeTopQueries.js +10 -7
  105. package/dist/store/reducers/executeTopQueries/executeTopQueries.js.map +1 -1
  106. package/dist/store/reducers/nodes/selectors.d.ts +0 -7
  107. package/dist/store/reducers/nodes/selectors.js +2 -28
  108. package/dist/store/reducers/nodes/selectors.js.map +1 -1
  109. package/dist/store/reducers/nodes/types.d.ts +2 -2
  110. package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +1 -4
  111. package/dist/store/reducers/shardsWorkload/shardsWorkload.js +3 -5
  112. package/dist/store/reducers/shardsWorkload/shardsWorkload.js.map +1 -1
  113. package/dist/store/reducers/storage/types.d.ts +2 -2
  114. package/dist/types/api/autocomplete.d.ts +1 -1
  115. package/dist/types/api/meta.d.ts +3 -0
  116. package/dist/utils/constants.d.ts +1 -0
  117. package/dist/utils/constants.js +1 -0
  118. package/dist/utils/constants.js.map +1 -1
  119. package/dist/utils/dataFormatters/__test__/formatUptime.test.d.ts +1 -0
  120. package/dist/utils/dataFormatters/__test__/formatUptime.test.js +21 -0
  121. package/dist/utils/dataFormatters/__test__/formatUptime.test.js.map +1 -0
  122. package/dist/utils/dataFormatters/dataFormatters.d.ts +4 -3
  123. package/dist/utils/dataFormatters/dataFormatters.js +23 -11
  124. package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
  125. package/dist/utils/developerUI/developerUI.d.ts +1 -0
  126. package/dist/utils/developerUI/developerUI.js +3 -0
  127. package/dist/utils/developerUI/developerUI.js.map +1 -1
  128. package/dist/utils/hooks/__test__/useTableSort.test.d.ts +1 -0
  129. package/dist/utils/hooks/__test__/useTableSort.test.js +188 -0
  130. package/dist/utils/hooks/__test__/useTableSort.test.js.map +1 -0
  131. package/dist/utils/hooks/useTableSort.d.ts +10 -5
  132. package/dist/utils/hooks/useTableSort.js +61 -16
  133. package/dist/utils/hooks/useTableSort.js.map +1 -1
  134. package/dist/utils/monaco/yql/generateSuggestions.js +6 -3
  135. package/dist/utils/monaco/yql/generateSuggestions.js.map +1 -1
  136. package/dist/utils/nodes.d.ts +1 -1
  137. package/dist/utils/nodes.js +10 -4
  138. package/dist/utils/nodes.js.map +1 -1
  139. package/package.json +3 -3
  140. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.d.ts +0 -8
  141. package/dist/containers/Tenant/Diagnostics/TopQueries/getTopQueriesColumns.js.map +0 -1
  142. package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js.map +0 -1
  143. package/dist/utils/diagnostics.d.ts +0 -23
  144. package/dist/utils/diagnostics.js +0 -37
  145. package/dist/utils/diagnostics.js.map +0 -1
@@ -1,5 +1,6 @@
1
1
  import { isLikeRelative } from '@gravity-ui/date-utils';
2
2
  import { createSlice } from '@reduxjs/toolkit';
3
+ import { prepareOrderByFromTableSort } from '../../../utils/hooks/useTableSort';
3
4
  import { isQueryErrorResponse, parseQueryAPIResponse } from '../../../utils/query';
4
5
  import { api } from '../api';
5
6
  import { getFiltersConditions } from './utils';
@@ -16,8 +17,9 @@ const slice = createSlice({
16
17
  });
17
18
  export const { setTopQueriesFilters } = slice.actions;
18
19
  export default slice.reducer;
19
- const getQueryText = (path, filters) => {
20
+ const getQueryText = (path, filters, sortOrder) => {
20
21
  const filterConditions = getFiltersConditions(path, filters);
22
+ const orderBy = prepareOrderByFromTableSort(sortOrder);
21
23
  return `
22
24
  SELECT ${QUERY_TECHNICAL_MARK}
23
25
  CPUTime as CPUTimeUs,
@@ -30,13 +32,14 @@ SELECT ${QUERY_TECHNICAL_MARK}
30
32
  Duration
31
33
  FROM \`${path}/.sys/top_queries_by_cpu_time_one_hour\`
32
34
  WHERE ${filterConditions || 'true'} AND QueryText NOT LIKE '%${QUERY_TECHNICAL_MARK}%'
33
- ORDER BY CPUTimeUs DESC
35
+ ${orderBy}
36
+ LIMIT 100
34
37
  `;
35
38
  };
36
39
  export const topQueriesApi = api.injectEndpoints({
37
40
  endpoints: (build) => ({
38
41
  getTopQueries: build.query({
39
- queryFn: async ({ database, filters }, { signal }) => {
42
+ queryFn: async ({ database, filters, sortOrder }, { signal }) => {
40
43
  const preparedFilters = {
41
44
  ...filters,
42
45
  from: (filters === null || filters === void 0 ? void 0 : filters.from) || 'now-1h',
@@ -44,7 +47,7 @@ export const topQueriesApi = api.injectEndpoints({
44
47
  };
45
48
  try {
46
49
  const response = await window.api.viewer.sendQuery({
47
- query: getQueryText(database, preparedFilters),
50
+ query: getQueryText(database, preparedFilters, sortOrder),
48
51
  database,
49
52
  action: 'execute-scan',
50
53
  }, { signal, withRetries: true });
@@ -71,19 +74,19 @@ export const topQueriesApi = api.injectEndpoints({
71
74
  providesTags: ['All'],
72
75
  }),
73
76
  getRunningQueries: build.query({
74
- queryFn: async ({ database, filters }, { signal }) => {
77
+ queryFn: async ({ database, filters, sortOrder }, { signal }) => {
75
78
  try {
76
79
  const filterConditions = (filters === null || filters === void 0 ? void 0 : filters.text)
77
80
  ? `Query ILIKE '%${filters.text}%' OR UserSID ILIKE '%${filters.text}%'`
78
81
  : '';
82
+ const orderBy = prepareOrderByFromTableSort(sortOrder);
79
83
  const queryText = `SELECT ${QUERY_TECHNICAL_MARK}
80
84
  UserSID, QueryStartAt, Query as QueryText, ApplicationName
81
85
  FROM
82
86
  \`.sys/query_sessions\`
83
87
  WHERE
84
88
  ${filterConditions || 'true'} AND Query NOT LIKE '%${QUERY_TECHNICAL_MARK}%'
85
- ORDER BY
86
- SessionStartAt
89
+ ${orderBy}
87
90
  LIMIT 100`;
88
91
  const response = await window.api.viewer.sendQuery({
89
92
  query: queryText,
@@ -1 +1 @@
1
- {"version":3,"file":"executeTopQueries.js","sourceRoot":"","sources":["../../../../src/store/reducers/executeTopQueries/executeTopQueries.ts"],"names":[],"m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AAI,EAAC,CAAC;gBAClB,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,YAAY;gBACR,OAAO,IAAI,CAAC;YAChB,CAAC;YACD,YAAY,EAAE,CAAC,KAAK,CAAC;SACxB,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -1,11 +1,4 @@
1
1
  import { NodesUptimeFilterValues } from '../../../utils/nodes';
2
- import type { ProblemFilterValue } from '../settings/types';
3
- import type { NodesPreparedEntity } from './types';
4
2
  export declare const filterNodesByUptime: <T extends {
5
3
  StartTime?: string;
6
4
  }>(nodesList: T[] | undefined, nodesUptimeFilter: NodesUptimeFilterValues) => T[];
7
- export declare function filterNodes(nodesList: NodesPreparedEntity[] | undefined, { uptimeFilter, searchValue, problemFilter, }: {
8
- uptimeFilter: NodesUptimeFilterValues;
9
- searchValue: string;
10
- problemFilter: ProblemFilterValue;
11
- }): NodesPreparedEntity[];
@@ -1,39 +1,13 @@
1
- import { EFlag } from '../../../types/api/enums';
2
1
  import { HOUR_IN_SECONDS } from '../../../utils/constants';
3
- import { calcUptimeInSeconds } from '../../../utils/dataFormatters/dataFormatters';
4
- import { prepareSearchValue } from '../../../utils/filters';
2
+ import { calcTimeDiffInSec } from '../../../utils/dataFormatters/dataFormatters';
5
3
  import { NodesUptimeFilterValues } from '../../../utils/nodes';
6
- import { ProblemFilterValues } from '../settings/settings';
7
4
  // ==== Filters ====
8
- const filterNodesByProblemsStatus = (nodesList = [], problemFilter) => {
9
- if (problemFilter === ProblemFilterValues.ALL) {
10
- return nodesList;
11
- }
12
- return nodesList.filter(({ SystemState }) => {
13
- return SystemState && SystemState !== EFlag.Green;
14
- });
15
- };
16
5
  export const filterNodesByUptime = (nodesList = [], nodesUptimeFilter) => {
17
6
  if (nodesUptimeFilter === NodesUptimeFilterValues.All) {
18
7
  return nodesList;
19
8
  }
20
9
  return nodesList.filter(({ StartTime }) => {
21
- return !StartTime || calcUptimeInSeconds(StartTime) < HOUR_IN_SECONDS;
22
- });
23
- };
24
- const filterNodesBySearchValue = (nodesList = [], searchValue) => {
25
- if (!searchValue) {
26
- return nodesList;
27
- }
28
- const re = prepareSearchValue(searchValue);
29
- return nodesList.filter((node) => {
30
- return node.Host ? re.test(node.Host) || re.test(String(node.NodeId)) : true;
10
+ return !StartTime || calcTimeDiffInSec(StartTime) < HOUR_IN_SECONDS;
31
11
  });
32
12
  };
33
- export function filterNodes(nodesList = [], { uptimeFilter, searchValue, problemFilter, }) {
34
- let result = filterNodesByUptime(nodesList, uptimeFilter);
35
- result = filterNodesByProblemsStatus(result, problemFilter);
36
- result = filterNodesBySearchValue(result, searchValue);
37
- return result;
38
- }
39
13
  //# sourceMappingURL=selectors.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"selectors.js","sourceRoot":"","sources":["../../../../src/store/reducers/nodes/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAC,mBAAmB,EAAC,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAC,kBAAkB,EAAC,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAC,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAC,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;AAKzD,oBAAoB;AAEpB,MAAM,2BAA2B,GAAG,CAChC,YAAmC,EAAE,EACrC,aAAiC,EACnC,EAAE;IACA,IAAI,aAAa,KAAK,mBAAmB,CAAC,GAAG,EAAE,CAAC;QAC5C,OAAO,SAAS,CAAC;IACrB,CAAC;IAED,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,EAAC,WAAW,EAAC,EAAE,EAAE;QACtC,OAAO,WAAW,IAAI,WAAW,KAAK,KAAK,CAAC,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AAClB,CAAC"}
1
+ {"version":3,"file":"selectors.js","sourceRoot":"","sources":["../../../../src/store/reducers/nodes/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAC,iBAAiB,EAAC,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAC,uBAAuB,EAAC,MAAM,sBAAsB,CAAC;AAE7D,oBAAoB;AAEpB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAC/B,YAAiB,EAAE,EACnB,iBAA0C,EAC5C,EAAE;IACA,IAAI,iBAAiB,KAAK,uBAAuB,CAAC,GAAG,EAAE,CAAC;QACpD,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,EAAC,SAAS,EAAC,EAAE,EAAE;QACpC,OAAO,CAAC,SAAS,IAAI,iBAAiB,CAAC,SAAS,CAAC,GAAG,eAAe,CAAC;IACxE,CAAC,CAAC,CAAC;AACP,CAAC,CAAC"}
@@ -37,8 +37,8 @@ export interface NodesPreparedEntity extends PreparedNodeSystemState {
37
37
  PingTimeMaxUs?: string;
38
38
  }
39
39
  export interface NodesSortParams {
40
- sortOrder: OrderType | undefined;
41
- sortValue: NodesSortValue | undefined;
40
+ sortOrder: OrderType;
41
+ sortValue: NodesSortValue;
42
42
  }
43
43
  export interface NodesFilters {
44
44
  searchValue: string;
@@ -1,8 +1,5 @@
1
+ import type { SortOrder } from '@gravity-ui/react-data-table';
1
2
  import type { ShardsWorkloadFilters } from './types';
2
- export interface SortOrder {
3
- columnId: string;
4
- order: string;
5
- }
6
3
  export declare const setShardsQueryFilters: import("@reduxjs/toolkit").ActionCreatorWithPayload<ShardsWorkloadFilters, "shardsWorkload/setShardsQueryFilters">;
7
4
  declare const _default: import("redux").Reducer<ShardsWorkloadFilters>;
8
5
  export default _default;
@@ -1,12 +1,10 @@
1
1
  import { dateTimeParse, isLikeRelative } from '@gravity-ui/date-utils';
2
2
  import { createSlice } from '@reduxjs/toolkit';
3
+ import { prepareOrderByFromTableSort } from '../../../utils/hooks/useTableSort';
3
4
  import { isQueryErrorResponse, parseQueryAPIResponse } from '../../../utils/query';
4
5
  import { api } from '../api';
5
6
  import { EShardsWorkloadMode } from './types';
6
7
  const initialState = {};
7
- function formatSortOrder({ columnId, order }) {
8
- return `${columnId} ${order}`;
9
- }
10
8
  function getFiltersConditions(filters) {
11
9
  var _a, _b;
12
10
  const conditions = [];
@@ -35,7 +33,7 @@ function createShardQueryHistorical(path, filters, sortOrder, tenantName) {
35
33
  if (filterConditions.length) {
36
34
  where = `(${where}) AND ${filterConditions}`;
37
35
  }
38
- const orderBy = sortOrder ? `ORDER BY ${sortOrder.map(formatSortOrder).join(', ')}` : '';
36
+ const orderBy = prepareOrderByFromTableSort(sortOrder);
39
37
  return `SELECT
40
38
  ${pathSelect},
41
39
  TabletId,
@@ -54,7 +52,7 @@ function createShardQueryImmediate(path, sortOrder, tenantName) {
54
52
  const pathSelect = tenantName
55
53
  ? `CAST(SUBSTRING(CAST(Path AS String), ${tenantName.length}) AS Utf8) AS Path`
56
54
  : 'Path';
57
- const orderBy = sortOrder ? `ORDER BY ${sortOrder.map(formatSortOrder).join(', ')}` : '';
55
+ const orderBy = prepareOrderByFromTableSort(sortOrder);
58
56
  return `SELECT
59
57
  ${pathSelect},
60
58
  TabletId,
@@ -1 +1 @@
1
- {"version":3,"file":"shardsWorkload.js","sourceRoot":"","sources":["../../../../src/store/reducers/shardsWorkload/shardsWorkload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,cAAc,EAAC,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAAC,oBAAoB,EAAE,qBAAqB,EAAC,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAC,mBAAmB,EAAC,MAAM,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,CAAE,OAAO,0CAAE,EAAE,CAAC,EACzC,CAAC;oBACC,OAAO,IAAI,CAAC;gBAChB,CAAC;gBAED,OAAO,KAAK,CAAC;YACjB,CAAC;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -79,8 +79,8 @@ export interface PreparedStorageGroup {
79
79
  LatencyGetFastMs?: number;
80
80
  }
81
81
  export interface StorageSortParams {
82
- sortOrder: OrderType | undefined;
83
- sortValue: StorageV2SortValue | undefined;
82
+ sortOrder: OrderType;
83
+ sortValue: StorageV2SortValue;
84
84
  }
85
85
  export type TableGroup = {
86
86
  name: string;
@@ -9,7 +9,7 @@ export interface TQueryAutocomplete {
9
9
  Result: TAutocompleteResult;
10
10
  }
11
11
  interface TAutocompleteResult {
12
- Entities: TAutocompleteEntity[];
12
+ Entities?: TAutocompleteEntity[];
13
13
  Total?: number;
14
14
  }
15
15
  export interface TAutocompleteEntity {
@@ -29,6 +29,8 @@ export interface MetaBaseClusterInfo {
29
29
  mvp_token?: string;
30
30
  name?: string;
31
31
  solomon?: string;
32
+ cores?: string;
33
+ logging?: string;
32
34
  status?: string;
33
35
  scale?: number;
34
36
  environment?: string;
@@ -38,6 +40,7 @@ export interface MetaBaseClusterInfo {
38
40
  service?: string;
39
41
  trace_view?: string;
40
42
  trace_check?: string;
43
+ use_embedded_ui?: boolean;
41
44
  }
42
45
  export interface MetaGeneralClusterInfo extends MetaBaseClusterInfo {
43
46
  cluster?: MetaViewerClusterInfo;
@@ -61,6 +61,7 @@ export declare const QUERIES_HISTORY_KEY = "queries_history";
61
61
  export declare const DATA_QA_TUNE_COLUMNS_POPUP = "tune-columns-popup";
62
62
  export declare const BINARY_DATA_IN_PLAIN_TEXT_DISPLAY = "binaryDataInPlainTextDisplay";
63
63
  export declare const AUTO_REFRESH_INTERVAL = "auto-refresh-interval";
64
+ export declare const CASE_SENSITIVE_JSON_SEARCH = "caseSensitiveJsonSearch";
64
65
  export declare const DEFAULT_SIZE_RESULT_PANE_KEY = "default-size-result-pane";
65
66
  export declare const DEFAULT_SIZE_TENANT_SUMMARY_KEY = "default-size-tenant-summary-pane";
66
67
  export declare const DEFAULT_SIZE_TENANT_KEY = "default-size-tenant-pane";
@@ -76,6 +76,7 @@ export const QUERIES_HISTORY_KEY = 'queries_history';
76
76
  export const DATA_QA_TUNE_COLUMNS_POPUP = 'tune-columns-popup';
77
77
  export const BINARY_DATA_IN_PLAIN_TEXT_DISPLAY = 'binaryDataInPlainTextDisplay';
78
78
  export const AUTO_REFRESH_INTERVAL = 'auto-refresh-interval';
79
+ export const CASE_SENSITIVE_JSON_SEARCH = 'caseSensitiveJsonSearch';
79
80
  export const DEFAULT_SIZE_RESULT_PANE_KEY = 'default-size-result-pane';
80
81
  export const DEFAULT_SIZE_TENANT_SUMMARY_KEY = 'default-size-tenant-summary-pane';
81
82
  export const DEFAULT_SIZE_TENANT_KEY = 'default-size-tenant-pane';
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAGrD,OAAO,EAAC,KAAK,EAAC,MAAM,qBAAqB,CAAC;AAE1C,MAAM,MAAM,GAAG,IAAI,CAAC;AAEpB,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAAE,GAAG,MAAM,CAAC;AAChD,MAAM,CAAC,MAAM,wBAAwB,GAAG,EAAE,GAAG,MAAM,CAAC;AACpD,yDAAyD;AACzD,6DAA6D;AAC7D,8DAA8D;AAC9D,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAK,CAAC;AAC9B,MAAM,CAAC,MAAM,QAAQ,GAAG,OAAS,CAAC;AAClC,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAa,CAAC;AACtC,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAiB,CAAC;AAE1C,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC;AACjC,MA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E,kCAAkC;AAClC,2CAA2C;AAC3C,MAAM,CAAC,MAAM,wBAAwB,GAAG,2BAA2B,CAAC;AAEpE,MAAM,CAAC,MAAM,wBAAwB,GAAG,oBAAoB,CAAC;AAE7D,MAAM,CAAC,MAAM,qBAAqB,GAAG,kBAAkB,CAAC;AAExD,0CAA0C;AAC1C,MAAM,CAAC,MAAM,wBAAwB,GAAG,oBAAoB,CAAC;AAE7D,MAAM,CAAC,MAAM,mCAAmC,GAAG,4BAA4B,CAAC;AAEhF,MAAM,CAAC,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;AAExD,MAAM,CAAC,MAAM,qBAAqB,GAAG,qBAAqB,CAAC;AAE3D,MAAM,CAAC,MAAM,0BAA0B,GAAG,qBAAqB,CAAC;AAEhE,MAAM,CAAC,MAAM,mCAAmC,GAAG,iCAAiC,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { getDowntimeFromDateFormatted, getUptimeFromDateFormatted } from '../dataFormatters';
2
+ describe('getUptimeFromDateFormatted', () => {
3
+ it('should calculate and format uptime', () => {
4
+ expect(getUptimeFromDateFormatted(3600000, 7200000)).toBe('1:00:00');
5
+ });
6
+ it('should return 0 if dateFrom after dateTo', () => {
7
+ expect(getUptimeFromDateFormatted(3600000, 3599000)).toBe('0:00:00');
8
+ });
9
+ });
10
+ describe('getDowntimeFromDateFormatted', () => {
11
+ it('should calculate and format downtime as -uptime', () => {
12
+ expect(getDowntimeFromDateFormatted(3600000, 7200000)).toBe('-1:00:00');
13
+ });
14
+ it('should not add sign if downtime is 0', () => {
15
+ expect(getDowntimeFromDateFormatted(3600000, 3600000)).toBe('0:00:00');
16
+ });
17
+ it('should return 0 if dateFrom after dateTo', () => {
18
+ expect(getDowntimeFromDateFormatted(3600000, 3599000)).toBe('0:00:00');
19
+ });
20
+ });
21
+ //# sourceMappingURL=formatUptime.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatUptime.test.js","sourceRoot":"","sources":["../../../../src/utils/dataFormatters/__test__/formatUptime.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,4BAA4B,EAAE,0BAA0B,EAAC,MAAM,mBAAmB,CAAC;AAE3F,QAAQ,CAAC,4BAA4B,EAAE,GAAG,EAAE;IACxC,EAAE,CAAC,oCAAoC,EAAE,GAAG,EAAE;QAC1C,MAAM,CAAC,0BAA0B,CAAC,OAAS,EAAE,OAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAC7E,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,0CAA0C,EAAE,GAAG,EAAE;QAChD,MAAM,CAAC,0BAA0B,CAAC,OAAS,EAAE,OAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAC7E,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AACH,QAAQ,CAAC,8BAA8B,EAAE,GAAG,EAAE;IAC1C,EAAE,CAAC,iDAAiD,EAAE,GAAG,EAAE;QACvD,MAAM,CAAC,4BAA4B,CAAC,OAAS,EAAE,OAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAChF,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,sCAAsC,EAAE,GAAG,EAAE;QAC5C,MAAM,CAAC,4BAA4B,CAAC,OAAS,EAAE,OAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAC/E,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,0CAA0C,EAAE,GAAG,EAAE;QAChD,MAAM,CAAC,4BAA4B,CAAC,OAAS,EAAE,OAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAC/E,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -4,8 +4,11 @@ import type { Digits } from './formatNumber';
4
4
  export declare const formatBytes: (bytes?: string | number) => string;
5
5
  export declare const formatBps: (bytes?: string | number) => string;
6
6
  export declare const stringifyVdiskId: (id?: TVDiskID | TVSlotId) => string;
7
- export declare const formatUptime: (seconds: number) => string;
7
+ export declare const formatUptimeInSeconds: (seconds: number) => string;
8
8
  export declare const formatMsToUptime: (ms?: number) => string | 0 | undefined;
9
+ export declare function getUptimeFromDateFormatted(dateFrom?: number | string, dateTo?: number | string): string;
10
+ export declare function getDowntimeFromDateFormatted(dateFrom?: number | string, dateTo?: number | string): string;
11
+ export declare function calcTimeDiffInSec(dateFrom?: number | string, dateTo?: number | string): number;
9
12
  export declare function formatStorageValues(value?: number, total?: number, size?: BytesSizes, delimiter?: string, withValueLabel?: boolean): string[];
10
13
  export declare function formatNumericValues(value?: number, total?: number, size?: Digits, delimiter?: string, withValueLabel?: boolean): string[];
11
14
  export declare const formatStorageValuesToGb: (value?: number, total?: number) => string[];
@@ -18,6 +21,4 @@ export declare const formatCPU: (value?: number | string) => string | undefined;
18
21
  export declare const formatCPUWithLabel: (value?: number) => string | undefined;
19
22
  export declare const formatDateTime: (value?: number | string, defaultValue?: string) => string;
20
23
  export declare const formatTimestamp: (value?: string | number, defaultValue?: string) => string;
21
- export declare const calcUptimeInSeconds: (milliseconds: number | string) => number;
22
- export declare const calcUptime: (milliseconds?: number | string) => string;
23
24
  export declare function getStringifiedData(value: unknown): string;
@@ -25,7 +25,7 @@ export const formatBps = (bytes) => {
25
25
  export const stringifyVdiskId = (id) => {
26
26
  return id ? Object.values(id).join('-') : '';
27
27
  };
28
- export const formatUptime = (seconds) => {
28
+ export const formatUptimeInSeconds = (seconds) => {
29
29
  const days = Math.floor(seconds / DAY_IN_SECONDS);
30
30
  const remain = seconds % DAY_IN_SECONDS;
31
31
  const uptime = [days && `${days}d`, configuredNumeral(remain).format('00:00:00')]
@@ -34,8 +34,28 @@ export const formatUptime = (seconds) => {
34
34
  return uptime;
35
35
  };
36
36
  export const formatMsToUptime = (ms) => {
37
- return ms && formatUptime(ms / 1000);
38
- };
37
+ return ms && formatUptimeInSeconds(ms / 1000);
38
+ };
39
+ export function getUptimeFromDateFormatted(dateFrom, dateTo) {
40
+ let diff = calcTimeDiffInSec(dateFrom, dateTo);
41
+ // Our time and server time could differ a little
42
+ // Prevent wrong negative uptime values
43
+ diff = diff < 0 ? 0 : diff;
44
+ return formatUptimeInSeconds(diff);
45
+ }
46
+ export function getDowntimeFromDateFormatted(dateFrom, dateTo) {
47
+ let diff = calcTimeDiffInSec(dateFrom, dateTo);
48
+ // Our time and server time could differ a little
49
+ // Prevent wrong negative uptime values
50
+ diff = diff < 0 ? 0 : diff;
51
+ const formattedUptime = formatUptimeInSeconds(diff);
52
+ // Do not add sign to 0 values to prevent -0:00:00 uptime
53
+ return diff === 0 ? formattedUptime : '-' + formattedUptime;
54
+ }
55
+ export function calcTimeDiffInSec(dateFrom, dateTo = new Date().getTime()) {
56
+ const diffMs = Number(dateTo) - Number(dateFrom);
57
+ return diffMs / 1000;
58
+ }
39
59
  export function formatStorageValues(value, total, size, delimiter, withValueLabel) {
40
60
  return formatValues(formatBytesCustom, getSizeWithSignificantDigits, value, total, size, delimiter, withValueLabel);
41
61
  }
@@ -111,14 +131,6 @@ export const formatTimestamp = (value, defaultValue = '') => {
111
131
  const formattedData = (_a = dateTimeParse(value)) === null || _a === void 0 ? void 0 : _a.format('YYYY-MM-DD HH:mm:ss.SSS');
112
132
  return formattedData !== null && formattedData !== void 0 ? formattedData : defaultValue;
113
133
  };
114
- export const calcUptimeInSeconds = (milliseconds) => {
115
- const currentDate = new Date();
116
- const diff = currentDate.getTime() - Number(milliseconds);
117
- return diff <= 0 ? 0 : diff / 1000;
118
- };
119
- export const calcUptime = (milliseconds) => {
120
- return formatUptime(calcUptimeInSeconds(Number(milliseconds)));
121
- };
122
134
  export function getStringifiedData(value) {
123
135
  if (value === undefined) {
124
136
  return '';
@@ -1 +1 @@
1
- {"version":3,"file":"dataFormatters.js","sourceRoot":"","sources":["../../../src/utils/dataFormatters/dataFormatters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;AAGrD,OAAO,EACH,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AAc,GAAG,CAAC,KAAuB,EAAE,YAAY,GAAG,EAAE,EAAE,EAAE;;IACzE,MAAM,aAAa,GAAG,MAAA,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,0CAAE,MAAM,CAAC,kBAAkB,CAAC,CAAC;IAE/E,OAAO,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,YAAY,CAAC;AACzC,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAuB,EAAE,YAAY,GAAG,EAAE,EAAE,EAAE;;IAC1E,MAAM,aAAa,GAAG,MAAA,aAAa,CAAC,KAAK,CAAC,0CAAE,MAAM,CAAC,yBAAyB,CAAC,CAAC;IAE9E,OAAO,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,YAAY,CAAC;AACzC,CAAC,CAAC;AAEF,MAAM,UAAU,kBAAkB,CAAC,KAAc;IAC7C,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,EAAE,CAAC;IACd,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC5B,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACjC,CAAC;SAAM,CAAC;QACJ,OAAO,KAAK,CAAC,QAAQ,EAAE,CAAC;IAC5B,CAAC;AACL,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export declare function createDeveloperUIInternalPageHref(host?: string | undefined): string;
2
+ export declare function createDeveloperUIMonitoringPageHref(host?: string | undefined): string;
2
3
  export declare const createDeveloperUILinkWithNodeId: (nodeId: number | string, host?: string | undefined) => string;
3
4
  interface PDiskDeveloperUILinkParams {
4
5
  nodeId: number | string;
@@ -3,6 +3,9 @@ import { pad9 } from '../utils';
3
3
  export function createDeveloperUIInternalPageHref(host = backend) {
4
4
  return host + '/internal';
5
5
  }
6
+ export function createDeveloperUIMonitoringPageHref(host = backend) {
7
+ return host + '/monitoring';
8
+ }
6
9
  // Current node connects with target node by itself using nodeId
7
10
  export const createDeveloperUILinkWithNodeId = (nodeId, host = backend) => {
8
11
  const nodePathRegexp = /\/node\/\d+\/?$/g;
@@ -1 +1 @@
1
- {"version":3,"file":"developerUI.js","sourceRoot":"","sources":["../../../src/utils/developerUI/developerUI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AACpC,OAAO,EAAC,IAAI,EAAC,MAAM,UAAU,CAAC;AAE9B,MAAM,UAAU,iCAAiC,CAAC,IAAI,GAAG,OAAO;IAC5D,OAAO,IAAI,GAAG,WAAW,CAAC;AAC9B,CAAC;AAED,gEAAgE;AAChE,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,MAAuB,EAAE,IAAI,GAAG,OAAO,EAAE,EAAE;IACvF,MAAM,cAAc,GAAG,kBAAkB,CAAC;IAE1C,+EAA+E;IAC/E,uDAAuD;IACvD,IAAI,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;QACpC,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC;IACnE,CAAC;IAED,OAAO,GAAG,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,SAAS,MAAM,EAAE,CAAC;AAC1C,CAAC,CAAC;AAQF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAA6B,EAAE,EAAE;IAC9F,MAAM,SAAS,GAAG,sBAAsB,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC;IAEzD,OAAO,+BAA+B,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,SAAS,CAAC;AACrE,CAAC,CAAC;AAMF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,EACvC,MAAM,EACN,OAAO,EACP,WAAW,EACX,IAAI,GACqB,EAAE,EAAE;IAC7B,MAAM,SAAS,GAAG,sBAAs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