@perses-dev/clickhouse-plugin 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/README.md +1 -1
  2. package/__mf/css/async/1580.d3010b86.css +1 -0
  3. package/__mf/css/async/2341.d3010b86.css +1 -0
  4. package/__mf/js/{ClickHouse.f6211ab5.js → ClickHouse.8f89cb2c.js} +3 -3
  5. package/__mf/js/async/1360.33f7e672.js +10 -0
  6. package/__mf/js/async/2178.16cf2da3.js +2 -0
  7. package/__mf/js/async/2226.1d4436dc.js +1 -0
  8. package/__mf/js/async/2472.9f5fd5cf.js +22 -0
  9. package/__mf/js/async/2652.fd27ec3f.js +101 -0
  10. package/__mf/js/async/2708.7448dd5c.js +1 -0
  11. package/__mf/js/async/{4075.598f1ee5.js → 4075.b85e5581.js} +1 -1
  12. package/__mf/js/async/{4238.8c8282dc.js → 4238.a8170f41.js} +1 -1
  13. package/__mf/js/async/4421.750852d0.js +1 -0
  14. package/__mf/js/async/6134.a0f2d3c5.js +38 -0
  15. package/__mf/js/async/6620.1d8e42fd.js +2 -0
  16. package/__mf/js/async/7991.64a1aaaf.js +7 -0
  17. package/__mf/js/async/9563.6903fd59.js +2 -0
  18. package/__mf/js/async/{__federation_expose_ClickHouseDatasource.1ef730b1.js → __federation_expose_ClickHouseDatasource.e3722d39.js} +2 -2
  19. package/__mf/js/async/__federation_expose_ClickHouseLogQuery.63888cb7.js +20 -0
  20. package/__mf/js/async/__federation_expose_ClickHouseTimeSeriesQuery.6a30813e.js +20 -0
  21. package/__mf/js/{main.91d879ed.js → main.3bc5d901.js} +3 -3
  22. package/lib/cjs/index.js +0 -1
  23. package/lib/index.d.ts +0 -1
  24. package/lib/index.d.ts.map +1 -1
  25. package/lib/index.js +0 -1
  26. package/lib/index.js.map +1 -1
  27. package/lib/model/click-house-data-types.d.ts +2 -15
  28. package/lib/model/click-house-data-types.d.ts.map +1 -1
  29. package/lib/model/click-house-data-types.js.map +1 -1
  30. package/lib/queries/click-house-log-query/get-click-house-log-data.js.map +1 -1
  31. package/lib/queries/click-house-log-query/log-query-plugin-interface.d.ts +2 -2
  32. package/lib/queries/click-house-log-query/log-query-plugin-interface.d.ts.map +1 -1
  33. package/lib/queries/click-house-log-query/log-query-plugin-interface.js.map +1 -1
  34. package/mf-manifest.json +44 -104
  35. package/mf-stats.json +44 -106
  36. package/package.json +6 -15
  37. package/__mf/css/async/1580.6b2b0c71.css +0 -1
  38. package/__mf/css/async/2341.6b2b0c71.css +0 -1
  39. package/__mf/css/async/6759.6b2b0c71.css +0 -1
  40. package/__mf/js/async/2226.332707ca.js +0 -1
  41. package/__mf/js/async/2417.1f135170.js +0 -2
  42. package/__mf/js/async/2448.e42be954.js +0 -10
  43. package/__mf/js/async/3632.f88c5ced.js +0 -101
  44. package/__mf/js/async/4168.af4fa8b3.js +0 -2
  45. package/__mf/js/async/4368.8468ec0a.js +0 -2
  46. package/__mf/js/async/4421.de18bb66.js +0 -1
  47. package/__mf/js/async/5035.8a983cd3.js +0 -73
  48. package/__mf/js/async/56.9997e6f8.js +0 -1
  49. package/__mf/js/async/5713.92805154.js +0 -1
  50. package/__mf/js/async/6467.f4e5b898.js +0 -1
  51. package/__mf/js/async/6569.f8ee50db.js +0 -1
  52. package/__mf/js/async/6714.e4b5281a.js +0 -2
  53. package/__mf/js/async/8465.f4c53fef.js +0 -7
  54. package/__mf/js/async/9654.ab803765.js +0 -37
  55. package/__mf/js/async/__federation_expose_ClickHouseLogQuery.4c608fd8.js +0 -20
  56. package/__mf/js/async/__federation_expose_ClickHouseTimeSeriesQuery.12307d25.js +0 -20
  57. package/__mf/js/async/__federation_expose_Logs.88d56eeb.js +0 -2
  58. package/__mf/js/async/__federation_expose_Logs.88d56eeb.js.LICENSE.txt +0 -9
  59. package/lib/cjs/panels/index.js +0 -30
  60. package/lib/cjs/panels/logs/Logs.js +0 -37
  61. package/lib/cjs/panels/logs/LogsComponent.js +0 -47
  62. package/lib/cjs/panels/logs/LogsSettingsEditor.js +0 -57
  63. package/lib/cjs/panels/logs/components/EmptyLogsState.js +0 -49
  64. package/lib/cjs/panels/logs/components/LogRow/LogDetailsTable.js +0 -71
  65. package/lib/cjs/panels/logs/components/LogRow/LogRow.js +0 -163
  66. package/lib/cjs/panels/logs/components/LogRow/LogTimestamp.js +0 -45
  67. package/lib/cjs/panels/logs/components/LogRow/LogsStyles.js +0 -77
  68. package/lib/cjs/panels/logs/components/LogRow/index.js +0 -37
  69. package/lib/cjs/panels/logs/components/LogsList.js +0 -44
  70. package/lib/cjs/panels/logs/components/VirtualizedLogsList.js +0 -60
  71. package/lib/cjs/panels/logs/components/hooks/useExpandedRows.js +0 -45
  72. package/lib/cjs/panels/logs/index.js +0 -33
  73. package/lib/cjs/panels/logs/logs-types.js +0 -16
  74. package/lib/panels/index.d.ts +0 -2
  75. package/lib/panels/index.d.ts.map +0 -1
  76. package/lib/panels/index.js +0 -15
  77. package/lib/panels/index.js.map +0 -1
  78. package/lib/panels/logs/Logs.d.ts +0 -4
  79. package/lib/panels/logs/Logs.d.ts.map +0 -1
  80. package/lib/panels/logs/Logs.js +0 -29
  81. package/lib/panels/logs/Logs.js.map +0 -1
  82. package/lib/panels/logs/LogsComponent.d.ts +0 -4
  83. package/lib/panels/logs/LogsComponent.d.ts.map +0 -1
  84. package/lib/panels/logs/LogsComponent.js +0 -34
  85. package/lib/panels/logs/LogsComponent.js.map +0 -1
  86. package/lib/panels/logs/LogsSettingsEditor.d.ts +0 -7
  87. package/lib/panels/logs/LogsSettingsEditor.d.ts.map +0 -1
  88. package/lib/panels/logs/LogsSettingsEditor.js +0 -49
  89. package/lib/panels/logs/LogsSettingsEditor.js.map +0 -1
  90. package/lib/panels/logs/components/EmptyLogsState.d.ts +0 -7
  91. package/lib/panels/logs/components/EmptyLogsState.d.ts.map +0 -1
  92. package/lib/panels/logs/components/EmptyLogsState.js +0 -36
  93. package/lib/panels/logs/components/EmptyLogsState.js.map +0 -1
  94. package/lib/panels/logs/components/LogRow/LogDetailsTable.d.ts +0 -8
  95. package/lib/panels/logs/components/LogRow/LogDetailsTable.d.ts.map +0 -1
  96. package/lib/panels/logs/components/LogRow/LogDetailsTable.js +0 -58
  97. package/lib/panels/logs/components/LogRow/LogDetailsTable.js.map +0 -1
  98. package/lib/panels/logs/components/LogRow/LogRow.d.ts +0 -14
  99. package/lib/panels/logs/components/LogRow/LogRow.d.ts.map +0 -1
  100. package/lib/panels/logs/components/LogRow/LogRow.js +0 -109
  101. package/lib/panels/logs/components/LogRow/LogRow.js.map +0 -1
  102. package/lib/panels/logs/components/LogRow/LogTimestamp.d.ts +0 -7
  103. package/lib/panels/logs/components/LogRow/LogTimestamp.d.ts.map +0 -1
  104. package/lib/panels/logs/components/LogRow/LogTimestamp.js +0 -32
  105. package/lib/panels/logs/components/LogRow/LogTimestamp.js.map +0 -1
  106. package/lib/panels/logs/components/LogRow/LogsStyles.d.ts +0 -22
  107. package/lib/panels/logs/components/LogRow/LogsStyles.d.ts.map +0 -1
  108. package/lib/panels/logs/components/LogRow/LogsStyles.js +0 -55
  109. package/lib/panels/logs/components/LogRow/LogsStyles.js.map +0 -1
  110. package/lib/panels/logs/components/LogRow/index.d.ts +0 -3
  111. package/lib/panels/logs/components/LogRow/index.d.ts.map +0 -1
  112. package/lib/panels/logs/components/LogRow/index.js +0 -16
  113. package/lib/panels/logs/components/LogRow/index.js.map +0 -1
  114. package/lib/panels/logs/components/LogsList.d.ts +0 -8
  115. package/lib/panels/logs/components/LogsList.d.ts.map +0 -1
  116. package/lib/panels/logs/components/LogsList.js +0 -31
  117. package/lib/panels/logs/components/LogsList.js.map +0 -1
  118. package/lib/panels/logs/components/VirtualizedLogsList.d.ts +0 -10
  119. package/lib/panels/logs/components/VirtualizedLogsList.d.ts.map +0 -1
  120. package/lib/panels/logs/components/VirtualizedLogsList.js +0 -47
  121. package/lib/panels/logs/components/VirtualizedLogsList.js.map +0 -1
  122. package/lib/panels/logs/components/hooks/useExpandedRows.d.ts +0 -6
  123. package/lib/panels/logs/components/hooks/useExpandedRows.d.ts.map +0 -1
  124. package/lib/panels/logs/components/hooks/useExpandedRows.js +0 -37
  125. package/lib/panels/logs/components/hooks/useExpandedRows.js.map +0 -1
  126. package/lib/panels/logs/index.d.ts +0 -5
  127. package/lib/panels/logs/index.d.ts.map +0 -1
  128. package/lib/panels/logs/index.js +0 -18
  129. package/lib/panels/logs/index.js.map +0 -1
  130. package/lib/panels/logs/logs-types.d.ts +0 -16
  131. package/lib/panels/logs/logs-types.d.ts.map +0 -1
  132. package/lib/panels/logs/logs-types.js +0 -15
  133. package/lib/panels/logs/logs-types.js.map +0 -1
  134. /package/__mf/js/async/{2448.e42be954.js.LICENSE.txt → 1360.33f7e672.js.LICENSE.txt} +0 -0
  135. /package/__mf/js/async/{4368.8468ec0a.js.LICENSE.txt → 2178.16cf2da3.js.LICENSE.txt} +0 -0
  136. /package/__mf/js/async/{5035.8a983cd3.js.LICENSE.txt → 2472.9f5fd5cf.js.LICENSE.txt} +0 -0
  137. /package/__mf/js/async/{6714.e4b5281a.js.LICENSE.txt → 6620.1d8e42fd.js.LICENSE.txt} +0 -0
  138. /package/__mf/js/async/{8465.f4c53fef.js.LICENSE.txt → 7991.64a1aaaf.js.LICENSE.txt} +0 -0
  139. /package/__mf/js/async/{2417.1f135170.js.LICENSE.txt → 9563.6903fd59.js.LICENSE.txt} +0 -0
  140. /package/__mf/js/async/{__federation_expose_ClickHouseDatasource.1ef730b1.js.LICENSE.txt → __federation_expose_ClickHouseDatasource.e3722d39.js.LICENSE.txt} +0 -0
  141. /package/__mf/js/async/{__federation_expose_ClickHouseLogQuery.4c608fd8.js.LICENSE.txt → __federation_expose_ClickHouseLogQuery.63888cb7.js.LICENSE.txt} +0 -0
  142. /package/__mf/js/async/{__federation_expose_ClickHouseTimeSeriesQuery.12307d25.js.LICENSE.txt → __federation_expose_ClickHouseTimeSeriesQuery.6a30813e.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC"}
package/lib/index.js CHANGED
@@ -11,7 +11,6 @@
11
11
  // See the License for the specific language governing permissions and
12
12
  // limitations under the License.
13
13
  export { getPluginModule } from './getPluginModule';
14
- export * from './panels';
15
14
  export * from './queries';
16
15
  export * from './datasources';
17
16
 
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["// Copyright 2025 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport { getPluginModule } from './getPluginModule';\nexport * from './panels';\nexport * from './queries';\nexport * from './datasources';\n"],"names":["getPluginModule"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,SAASA,eAAe,QAAQ,oBAAoB;AACpD,cAAc,WAAW;AACzB,cAAc,YAAY;AAC1B,cAAc,gBAAgB"}
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["// Copyright 2025 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport { getPluginModule } from './getPluginModule';\nexport * from './queries';\nexport * from './datasources';\n"],"names":["getPluginModule"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,SAASA,eAAe,QAAQ,oBAAoB;AACpD,cAAc,YAAY;AAC1B,cAAc,gBAAgB"}
@@ -1,19 +1,6 @@
1
- import { TimeSeriesData } from '@perses-dev/core';
2
- export interface LogLabels {
3
- [key: string]: any;
4
- }
5
- export interface LogEntry {
6
- timestamp: number;
7
- labels: LogLabels;
8
- line?: string;
9
- }
10
- export interface LogsData {
11
- entries: LogEntry[];
12
- totalCount: number;
13
- hasMore?: boolean;
14
- }
1
+ import { LogData, TimeSeriesData } from '@perses-dev/core';
15
2
  export interface ClickHouseTimeSeriesData extends TimeSeriesData {
16
- logs?: LogsData;
3
+ logs?: LogData;
17
4
  }
18
5
  export interface TimeSeriesEntry {
19
6
  time: string;
@@ -1 +1 @@
1
- {"version":3,"file":"click-house-data-types.d.ts","sourceRoot":"","sources":["../../../src/model/click-house-data-types.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,WAAW,SAAS;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,QAAQ;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,QAAQ,EAAE,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,wBAAyB,SAAQ,cAAc;IAC9D,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B"}
1
+ {"version":3,"file":"click-house-data-types.d.ts","sourceRoot":"","sources":["../../../src/model/click-house-data-types.ts"],"names":[],"mappings":"AAaA,OAAO,EAAY,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAErE,MAAM,WAAW,wBAAyB,SAAQ,cAAc;IAC9D,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/model/click-house-data-types.ts"],"sourcesContent":["// Copyright 2025 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { TimeSeriesData } from '@perses-dev/core';\n\nexport interface LogLabels {\n [key: string]: any;\n}\n\nexport interface LogEntry {\n timestamp: number;\n labels: LogLabels;\n line?: string;\n}\n\nexport interface LogsData {\n entries: LogEntry[];\n totalCount: number;\n hasMore?: boolean;\n}\n\nexport interface ClickHouseTimeSeriesData extends TimeSeriesData {\n logs?: LogsData;\n}\n\nexport interface TimeSeriesEntry {\n time: string;\n log_count: number | string;\n}\n"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAwBjC,WAGC"}
1
+ {"version":3,"sources":["../../../src/model/click-house-data-types.ts"],"sourcesContent":["// Copyright 2025 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { LogEntry, LogData, TimeSeriesData } from '@perses-dev/core';\n\nexport interface ClickHouseTimeSeriesData extends TimeSeriesData {\n logs?: LogData;\n}\n\nexport interface TimeSeriesEntry {\n time: string;\n log_count: number | string;\n}\n"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAQjC,WAGC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/click-house-log-query/get-click-house-log-data.ts"],"sourcesContent":["// Copyright 2025 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { replaceVariables } from '@perses-dev/plugin-system';\nimport { LogEntry, LogsData } from '../../model/click-house-data-types';\nimport { ClickHouseClient, ClickHouseQueryResponse } from '../../model/click-house-client';\nimport { ClickHouseLogQuerySpec } from './click-house-log-query-types';\nimport { DEFAULT_DATASOURCE } from '../constants';\nimport { LogQueryPlugin } from './log-query-plugin-interface';\n\nfunction flattenObject(\n obj: Record<string, any>,\n parentKey = '',\n result: Record<string, any> = {}\n): Record<string, any> {\n for (const [key, value] of Object.entries(obj)) {\n const newKey = parentKey ? `${parentKey}.${key}` : key;\n if (value && typeof value === 'object' && !Array.isArray(value)) {\n flattenObject(value, newKey, result);\n } else {\n result[newKey] = value;\n }\n }\n\n return result;\n}\n\nfunction convertStreamsToLogs(streams: LogEntry[]): LogsData {\n const entries: LogEntry[] = streams.map((entry) => {\n const flattened = flattenObject(entry);\n\n if (!flattened.Timestamp && flattened.log_time) {\n flattened.Timestamp = flattened.log_time;\n }\n\n const sortedEntry: Record<string, any> = {};\n Object.keys(flattened)\n .sort((a, b) => a.localeCompare(b))\n .forEach((key) => {\n sortedEntry[key] = flattened[key];\n });\n\n const line = Object.entries(sortedEntry)\n .filter(([key]) => key !== 'Timestamp')\n .map(([key, value]) => `<${key}> ${value === '' || value === null || value === undefined ? '--' : value}`)\n .join(' ');\n\n return {\n timestamp: sortedEntry?.Timestamp,\n labels: sortedEntry,\n line,\n } as LogEntry;\n });\n\n return {\n entries,\n totalCount: entries.length,\n };\n}\n\nexport const getClickHouseLogData: LogQueryPlugin<ClickHouseLogQuerySpec>['getLogData'] = async (spec, context) => {\n if (spec.query === undefined || spec.query === null || spec.query === '') {\n return {\n logs: { entries: [], totalCount: 0 },\n timeRange: { start: context.timeRange.start, end: context.timeRange.end },\n };\n }\n\n const query = replaceVariables(spec.query, context.variableState);\n\n const client = (await context.datasourceStore.getDatasourceClient(\n spec.datasource ?? DEFAULT_DATASOURCE\n )) as ClickHouseClient;\n\n const { start, end } = context.timeRange;\n\n const response: ClickHouseQueryResponse = await client.query({\n start: start.getTime().toString(),\n end: end.getTime().toString(),\n query,\n });\n\n return {\n timeRange: { start, end },\n logs: convertStreamsToLogs(response.data),\n metadata: {\n executedQueryString: query,\n },\n };\n};\n"],"names":["replaceVariables","DEFAULT_DATASOURCE","flattenObject","obj","parentKey","result","key","value","Object","entries","newKey","Array","isArray","convertStreamsToLogs","streams","map","entry","flattened","Timestamp","log_time","sortedEntry","keys","sort","a","b","localeCompare","forEach","line","filter","undefined","join","timestamp","labels","totalCount","length","getClickHouseLogData","spec","context","query","logs","timeRange","start","end","variableState","client","datasourceStore","getDatasourceClient","datasource","response","getTime","toString","data","metadata","executedQueryString"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,SAASA,gBAAgB,QAAQ,4BAA4B;AAI7D,SAASC,kBAAkB,QAAQ,eAAe;AAGlD,SAASC,cACPC,GAAwB,EACxBC,YAAY,EAAE,EACdC,SAA8B,CAAC,CAAC;IAEhC,KAAK,MAAM,CAACC,KAAKC,MAAM,IAAIC,OAAOC,OAAO,CAACN,KAAM;QAC9C,MAAMO,SAASN,YAAY,GAAGA,UAAU,CAAC,EAAEE,KAAK,GAAGA;QACnD,IAAIC,SAAS,OAAOA,UAAU,YAAY,CAACI,MAAMC,OAAO,CAACL,QAAQ;YAC/DL,cAAcK,OAAOG,QAAQL;QAC/B,OAAO;YACLA,MAAM,CAACK,OAAO,GAAGH;QACnB;IACF;IAEA,OAAOF;AACT;AAEA,SAASQ,qBAAqBC,OAAmB;IAC/C,MAAML,UAAsBK,QAAQC,GAAG,CAAC,CAACC;QACvC,MAAMC,YAAYf,cAAcc;QAEhC,IAAI,CAACC,UAAUC,SAAS,IAAID,UAAUE,QAAQ,EAAE;YAC9CF,UAAUC,SAAS,GAAGD,UAAUE,QAAQ;QAC1C;QAEA,MAAMC,cAAmC,CAAC;QAC1CZ,OAAOa,IAAI,CAACJ,WACTK,IAAI,CAAC,CAACC,GAAGC,IAAMD,EAAEE,aAAa,CAACD,IAC/BE,OAAO,CAAC,CAACpB;YACRc,WAAW,CAACd,IAAI,GAAGW,SAAS,CAACX,IAAI;QACnC;QAEF,MAAMqB,OAAOnB,OAAOC,OAAO,CAACW,aACzBQ,MAAM,CAAC,CAAC,CAACtB,IAAI,GAAKA,QAAQ,aAC1BS,GAAG,CAAC,CAAC,CAACT,KAAKC,MAAM,GAAK,CAAC,CAAC,EAAED,IAAI,EAAE,EAAEC,UAAU,MAAMA,UAAU,QAAQA,UAAUsB,YAAY,OAAOtB,OAAO,EACxGuB,IAAI,CAAC;QAER,OAAO;YACLC,WAAWX,aAAaF;YACxBc,QAAQZ;YACRO;QACF;IACF;IAEA,OAAO;QACLlB;QACAwB,YAAYxB,QAAQyB,MAAM;IAC5B;AACF;AAEA,OAAO,MAAMC,uBAA6E,OAAOC,MAAMC;IACrG,IAAID,KAAKE,KAAK,KAAKT,aAAaO,KAAKE,KAAK,KAAK,QAAQF,KAAKE,KAAK,KAAK,IAAI;QACxE,OAAO;YACLC,MAAM;gBAAE9B,SAAS,EAAE;gBAAEwB,YAAY;YAAE;YACnCO,WAAW;gBAAEC,OAAOJ,QAAQG,SAAS,CAACC,KAAK;gBAAEC,KAAKL,QAAQG,SAAS,CAACE,GAAG;YAAC;QAC1E;IACF;IAEA,MAAMJ,QAAQtC,iBAAiBoC,KAAKE,KAAK,EAAED,QAAQM,aAAa;IAEhE,MAAMC,SAAU,MAAMP,QAAQQ,eAAe,CAACC,mBAAmB,CAC/DV,KAAKW,UAAU,IAAI9C;IAGrB,MAAM,EAAEwC,KAAK,EAAEC,GAAG,EAAE,GAAGL,QAAQG,SAAS;IAExC,MAAMQ,WAAoC,MAAMJ,OAAON,KAAK,CAAC;QAC3DG,OAAOA,MAAMQ,OAAO,GAAGC,QAAQ;QAC/BR,KAAKA,IAAIO,OAAO,GAAGC,QAAQ;QAC3BZ;IACF;IAEA,OAAO;QACLE,WAAW;YAAEC;YAAOC;QAAI;QACxBH,MAAM1B,qBAAqBmC,SAASG,IAAI;QACxCC,UAAU;YACRC,qBAAqBf;QACvB;IACF;AACF,EAAE"}
1
+ {"version":3,"sources":["../../../../src/queries/click-house-log-query/get-click-house-log-data.ts"],"sourcesContent":["// Copyright 2025 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { replaceVariables } from '@perses-dev/plugin-system';\nimport { LogEntry, LogData } from '@perses-dev/core';\nimport { ClickHouseClient, ClickHouseQueryResponse } from '../../model/click-house-client';\nimport { ClickHouseLogQuerySpec } from './click-house-log-query-types';\nimport { DEFAULT_DATASOURCE } from '../constants';\nimport { LogQueryPlugin } from './log-query-plugin-interface';\n\nfunction flattenObject(\n obj: Record<string, any>,\n parentKey = '',\n result: Record<string, any> = {}\n): Record<string, any> {\n for (const [key, value] of Object.entries(obj)) {\n const newKey = parentKey ? `${parentKey}.${key}` : key;\n if (value && typeof value === 'object' && !Array.isArray(value)) {\n flattenObject(value, newKey, result);\n } else {\n result[newKey] = value;\n }\n }\n\n return result;\n}\n\nfunction convertStreamsToLogs(streams: LogEntry[]): LogData {\n const entries: LogEntry[] = streams.map((entry) => {\n const flattened = flattenObject(entry);\n\n if (!flattened.Timestamp && flattened.log_time) {\n flattened.Timestamp = flattened.log_time;\n }\n\n const sortedEntry: Record<string, any> = {};\n Object.keys(flattened)\n .sort((a, b) => a.localeCompare(b))\n .forEach((key) => {\n sortedEntry[key] = flattened[key];\n });\n\n const line = Object.entries(sortedEntry)\n .filter(([key]) => key !== 'Timestamp')\n .map(([key, value]) => `<${key}> ${value === '' || value === null || value === undefined ? '--' : value}`)\n .join(' ');\n\n return {\n timestamp: sortedEntry?.Timestamp,\n labels: sortedEntry,\n line,\n } as LogEntry;\n });\n\n return {\n entries,\n totalCount: entries.length,\n };\n}\n\nexport const getClickHouseLogData: LogQueryPlugin<ClickHouseLogQuerySpec>['getLogData'] = async (spec, context) => {\n if (spec.query === undefined || spec.query === null || spec.query === '') {\n return {\n logs: { entries: [], totalCount: 0 },\n timeRange: { start: context.timeRange.start, end: context.timeRange.end },\n };\n }\n\n const query = replaceVariables(spec.query, context.variableState);\n\n const client = (await context.datasourceStore.getDatasourceClient(\n spec.datasource ?? DEFAULT_DATASOURCE\n )) as ClickHouseClient;\n\n const { start, end } = context.timeRange;\n\n const response: ClickHouseQueryResponse = await client.query({\n start: start.getTime().toString(),\n end: end.getTime().toString(),\n query,\n });\n\n return {\n timeRange: { start, end },\n logs: convertStreamsToLogs(response.data),\n metadata: {\n executedQueryString: query,\n },\n };\n};\n"],"names":["replaceVariables","DEFAULT_DATASOURCE","flattenObject","obj","parentKey","result","key","value","Object","entries","newKey","Array","isArray","convertStreamsToLogs","streams","map","entry","flattened","Timestamp","log_time","sortedEntry","keys","sort","a","b","localeCompare","forEach","line","filter","undefined","join","timestamp","labels","totalCount","length","getClickHouseLogData","spec","context","query","logs","timeRange","start","end","variableState","client","datasourceStore","getDatasourceClient","datasource","response","getTime","toString","data","metadata","executedQueryString"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,SAASA,gBAAgB,QAAQ,4BAA4B;AAI7D,SAASC,kBAAkB,QAAQ,eAAe;AAGlD,SAASC,cACPC,GAAwB,EACxBC,YAAY,EAAE,EACdC,SAA8B,CAAC,CAAC;IAEhC,KAAK,MAAM,CAACC,KAAKC,MAAM,IAAIC,OAAOC,OAAO,CAACN,KAAM;QAC9C,MAAMO,SAASN,YAAY,GAAGA,UAAU,CAAC,EAAEE,KAAK,GAAGA;QACnD,IAAIC,SAAS,OAAOA,UAAU,YAAY,CAACI,MAAMC,OAAO,CAACL,QAAQ;YAC/DL,cAAcK,OAAOG,QAAQL;QAC/B,OAAO;YACLA,MAAM,CAACK,OAAO,GAAGH;QACnB;IACF;IAEA,OAAOF;AACT;AAEA,SAASQ,qBAAqBC,OAAmB;IAC/C,MAAML,UAAsBK,QAAQC,GAAG,CAAC,CAACC;QACvC,MAAMC,YAAYf,cAAcc;QAEhC,IAAI,CAACC,UAAUC,SAAS,IAAID,UAAUE,QAAQ,EAAE;YAC9CF,UAAUC,SAAS,GAAGD,UAAUE,QAAQ;QAC1C;QAEA,MAAMC,cAAmC,CAAC;QAC1CZ,OAAOa,IAAI,CAACJ,WACTK,IAAI,CAAC,CAACC,GAAGC,IAAMD,EAAEE,aAAa,CAACD,IAC/BE,OAAO,CAAC,CAACpB;YACRc,WAAW,CAACd,IAAI,GAAGW,SAAS,CAACX,IAAI;QACnC;QAEF,MAAMqB,OAAOnB,OAAOC,OAAO,CAACW,aACzBQ,MAAM,CAAC,CAAC,CAACtB,IAAI,GAAKA,QAAQ,aAC1BS,GAAG,CAAC,CAAC,CAACT,KAAKC,MAAM,GAAK,CAAC,CAAC,EAAED,IAAI,EAAE,EAAEC,UAAU,MAAMA,UAAU,QAAQA,UAAUsB,YAAY,OAAOtB,OAAO,EACxGuB,IAAI,CAAC;QAER,OAAO;YACLC,WAAWX,aAAaF;YACxBc,QAAQZ;YACRO;QACF;IACF;IAEA,OAAO;QACLlB;QACAwB,YAAYxB,QAAQyB,MAAM;IAC5B;AACF;AAEA,OAAO,MAAMC,uBAA6E,OAAOC,MAAMC;IACrG,IAAID,KAAKE,KAAK,KAAKT,aAAaO,KAAKE,KAAK,KAAK,QAAQF,KAAKE,KAAK,KAAK,IAAI;QACxE,OAAO;YACLC,MAAM;gBAAE9B,SAAS,EAAE;gBAAEwB,YAAY;YAAE;YACnCO,WAAW;gBAAEC,OAAOJ,QAAQG,SAAS,CAACC,KAAK;gBAAEC,KAAKL,QAAQG,SAAS,CAACE,GAAG;YAAC;QAC1E;IACF;IAEA,MAAMJ,QAAQtC,iBAAiBoC,KAAKE,KAAK,EAAED,QAAQM,aAAa;IAEhE,MAAMC,SAAU,MAAMP,QAAQQ,eAAe,CAACC,mBAAmB,CAC/DV,KAAKW,UAAU,IAAI9C;IAGrB,MAAM,EAAEwC,KAAK,EAAEC,GAAG,EAAE,GAAGL,QAAQG,SAAS;IAExC,MAAMQ,WAAoC,MAAMJ,OAAON,KAAK,CAAC;QAC3DG,OAAOA,MAAMQ,OAAO,GAAGC,QAAQ;QAC/BR,KAAKA,IAAIO,OAAO,GAAGC,QAAQ;QAC3BZ;IACF;IAEA,OAAO;QACLE,WAAW;YAAEC;YAAOC;QAAI;QACxBH,MAAM1B,qBAAqBmC,SAASG,IAAI;QACxCC,UAAU;YACRC,qBAAqBf;QACvB;IACF;AACF,EAAE"}
@@ -1,8 +1,8 @@
1
1
  import { AbsoluteTimeRange, UnknownSpec } from '@perses-dev/core';
2
2
  import { DatasourceStore, Plugin, VariableStateMap } from '@perses-dev/plugin-system';
3
- import { LogsData } from '../../model/click-house-data-types';
3
+ import { LogData } from '@perses-dev/core';
4
4
  export interface LogQueryResult {
5
- logs: LogsData;
5
+ logs: LogData;
6
6
  timeRange: AbsoluteTimeRange;
7
7
  metadata?: {
8
8
  executedQueryString: string;
@@ -1 +1 @@
1
- {"version":3,"file":"log-query-plugin-interface.d.ts","sourceRoot":"","sources":["../../../../src/queries/click-house-log-query/log-query-plugin-interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AACtF,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAE9D,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,EAAE,iBAAiB,CAAC;IAC7B,QAAQ,CAAC,EAAE;QACT,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;CACH;AAED,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,iBAAiB,CAAC;IAC7B,aAAa,EAAE,gBAAgB,CAAC;IAChC,eAAe,EAAE,eAAe,CAAC;IACjC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,KAAK,0BAA0B,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,cAAc,CAAC,IAAI,GAAG,WAAW,CAAE,SAAQ,MAAM,CAAC,IAAI,CAAC;IACtE,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,sBAAsB,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;IACjF,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,sBAAsB,KAAK,0BAA0B,CAAC;CACrF"}
1
+ {"version":3,"file":"log-query-plugin-interface.d.ts","sourceRoot":"","sources":["../../../../src/queries/click-house-log-query/log-query-plugin-interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AACtF,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,iBAAiB,CAAC;IAC7B,QAAQ,CAAC,EAAE;QACT,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;CACH;AAED,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,iBAAiB,CAAC;IAC7B,aAAa,EAAE,gBAAgB,CAAC;IAChC,eAAe,EAAE,eAAe,CAAC;IACjC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,KAAK,0BAA0B,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,cAAc,CAAC,IAAI,GAAG,WAAW,CAAE,SAAQ,MAAM,CAAC,IAAI,CAAC;IACtE,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,sBAAsB,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;IACjF,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,sBAAsB,KAAK,0BAA0B,CAAC;CACrF"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/click-house-log-query/log-query-plugin-interface.ts"],"sourcesContent":["import { AbsoluteTimeRange, UnknownSpec } from '@perses-dev/core';\nimport { DatasourceStore, Plugin, VariableStateMap } from '@perses-dev/plugin-system';\nimport { LogsData } from '../../model/click-house-data-types';\n\nexport interface LogQueryResult {\n logs: LogsData;\n timeRange: AbsoluteTimeRange;\n metadata?: {\n executedQueryString: string;\n };\n}\n\nexport interface ClickHouseQueryContext {\n timeRange: AbsoluteTimeRange;\n variableState: VariableStateMap;\n datasourceStore: DatasourceStore;\n refreshKey: string;\n}\n\ntype LogQueryPluginDependencies = {\n variables?: string[];\n};\n\nexport interface LogQueryPlugin<Spec = UnknownSpec> extends Plugin<Spec> {\n getLogData: (spec: Spec, ctx: ClickHouseQueryContext) => Promise<LogQueryResult>;\n dependsOn?: (spec: Spec, ctx: ClickHouseQueryContext) => LogQueryPluginDependencies;\n}\n"],"names":[],"mappings":"AAuBA,WAGC"}
1
+ {"version":3,"sources":["../../../../src/queries/click-house-log-query/log-query-plugin-interface.ts"],"sourcesContent":["import { AbsoluteTimeRange, UnknownSpec } from '@perses-dev/core';\nimport { DatasourceStore, Plugin, VariableStateMap } from '@perses-dev/plugin-system';\nimport { LogData } from '@perses-dev/core';\n\nexport interface LogQueryResult {\n logs: LogData;\n timeRange: AbsoluteTimeRange;\n metadata?: {\n executedQueryString: string;\n };\n}\n\nexport interface ClickHouseQueryContext {\n timeRange: AbsoluteTimeRange;\n variableState: VariableStateMap;\n datasourceStore: DatasourceStore;\n refreshKey: string;\n}\n\ntype LogQueryPluginDependencies = {\n variables?: string[];\n};\n\nexport interface LogQueryPlugin<Spec = UnknownSpec> extends Plugin<Spec> {\n getLogData: (spec: Spec, ctx: ClickHouseQueryContext) => Promise<LogQueryResult>;\n dependsOn?: (spec: Spec, ctx: ClickHouseQueryContext) => LogQueryPluginDependencies;\n}\n"],"names":[],"mappings":"AAuBA,WAGC"}
package/mf-manifest.json CHANGED
@@ -5,11 +5,11 @@
5
5
  "name": "ClickHouse",
6
6
  "type": "app",
7
7
  "buildInfo": {
8
- "buildVersion": "0.2.0",
8
+ "buildVersion": "0.3.0",
9
9
  "buildName": "@perses-dev/clickhouse-plugin"
10
10
  },
11
11
  "remoteEntry": {
12
- "name": "__mf/js/ClickHouse.f6211ab5.js",
12
+ "name": "__mf/js/ClickHouse.8f89cb2c.js",
13
13
  "path": "",
14
14
  "type": "global"
15
15
  },
@@ -87,14 +87,14 @@
87
87
  {
88
88
  "id": "ClickHouse:@perses-dev/components",
89
89
  "name": "@perses-dev/components",
90
- "version": "0.52.0",
90
+ "version": "0.53.0-beta.1",
91
91
  "singleton": true,
92
- "requiredVersion": "^0.52.0",
92
+ "requiredVersion": "^0.53.0-beta.1",
93
93
  "assets": {
94
94
  "js": {
95
95
  "async": [],
96
96
  "sync": [
97
- "__mf/js/async/8465.f4c53fef.js"
97
+ "__mf/js/async/7991.64a1aaaf.js"
98
98
  ]
99
99
  },
100
100
  "css": {
@@ -106,14 +106,14 @@
106
106
  {
107
107
  "id": "ClickHouse:@perses-dev/dashboards",
108
108
  "name": "@perses-dev/dashboards",
109
- "version": "0.52.0",
109
+ "version": "0.53.0-beta.1",
110
110
  "singleton": true,
111
- "requiredVersion": "^0.52.0",
111
+ "requiredVersion": "^0.53.0-beta.1",
112
112
  "assets": {
113
113
  "js": {
114
114
  "async": [],
115
115
  "sync": [
116
- "__mf/js/async/5035.8a983cd3.js"
116
+ "__mf/js/async/2472.9f5fd5cf.js"
117
117
  ]
118
118
  },
119
119
  "css": {
@@ -125,14 +125,14 @@
125
125
  {
126
126
  "id": "ClickHouse:@perses-dev/explore",
127
127
  "name": "@perses-dev/explore",
128
- "version": "0.52.0",
128
+ "version": "0.53.0-beta.1",
129
129
  "singleton": true,
130
- "requiredVersion": "^0.52.0",
130
+ "requiredVersion": "^0.53.0-beta.1",
131
131
  "assets": {
132
132
  "js": {
133
133
  "async": [],
134
134
  "sync": [
135
- "__mf/js/async/4421.de18bb66.js"
135
+ "__mf/js/async/4421.750852d0.js"
136
136
  ]
137
137
  },
138
138
  "css": {
@@ -144,14 +144,14 @@
144
144
  {
145
145
  "id": "ClickHouse:@perses-dev/plugin-system",
146
146
  "name": "@perses-dev/plugin-system",
147
- "version": "0.52.0",
147
+ "version": "0.53.0-beta.1",
148
148
  "singleton": true,
149
- "requiredVersion": "^0.52.0",
149
+ "requiredVersion": "^0.53.0-beta.1",
150
150
  "assets": {
151
151
  "js": {
152
152
  "async": [],
153
153
  "sync": [
154
- "__mf/js/async/4368.8468ec0a.js"
154
+ "__mf/js/async/2178.16cf2da3.js"
155
155
  ]
156
156
  },
157
157
  "css": {
@@ -189,7 +189,7 @@
189
189
  "js": {
190
190
  "async": [],
191
191
  "sync": [
192
- "__mf/js/async/4075.598f1ee5.js"
192
+ "__mf/js/async/4075.b85e5581.js"
193
193
  ]
194
194
  },
195
195
  "css": {
@@ -340,37 +340,32 @@
340
340
  "assets": {
341
341
  "js": {
342
342
  "sync": [
343
- "__mf/js/async/__federation_expose_ClickHouseDatasource.1ef730b1.js"
343
+ "__mf/js/async/__federation_expose_ClickHouseDatasource.e3722d39.js"
344
344
  ],
345
345
  "async": [
346
346
  "__mf/js/async/282.76b8b044.js",
347
- "__mf/js/async/2448.e42be954.js",
347
+ "__mf/js/async/1360.33f7e672.js",
348
348
  "__mf/js/async/2114.27f707a0.js",
349
- "__mf/js/async/__federation_expose_ClickHouseTimeSeriesQuery.12307d25.js",
350
- "__mf/js/async/__federation_expose_ClickHouseLogQuery.4c608fd8.js",
351
- "__mf/js/async/2226.332707ca.js",
352
- "__mf/js/async/6467.f4e5b898.js",
353
- "__mf/js/async/3632.f88c5ced.js",
354
- "__mf/js/async/4168.af4fa8b3.js",
355
- "__mf/js/async/6569.f8ee50db.js",
356
- "__mf/js/async/__federation_expose_Logs.88d56eeb.js",
349
+ "__mf/js/async/__federation_expose_ClickHouseTimeSeriesQuery.6a30813e.js",
350
+ "__mf/js/async/__federation_expose_ClickHouseLogQuery.63888cb7.js",
351
+ "__mf/js/async/2226.1d4436dc.js",
357
352
  "__mf/js/async/7376.c01a7f82.js",
358
- "__mf/js/async/6714.e4b5281a.js",
359
- "__mf/js/async/56.9997e6f8.js",
353
+ "__mf/js/async/6620.1d8e42fd.js",
354
+ "__mf/js/async/2652.fd27ec3f.js",
360
355
  "__mf/js/async/3431.54fb88df.js",
361
- "__mf/js/async/9654.ab803765.js",
362
- "__mf/js/async/4238.8c8282dc.js",
356
+ "__mf/js/async/6134.a0f2d3c5.js",
357
+ "__mf/js/async/4238.a8170f41.js",
363
358
  "__mf/js/async/3224.5735a223.js",
364
359
  "__mf/js/async/2292.248bd1ea.js",
365
360
  "__mf/js/async/8488.16a69ea5.js",
366
361
  "__mf/js/async/8216.44c6334e.js",
367
- "__mf/js/async/5713.92805154.js"
362
+ "__mf/js/async/2708.7448dd5c.js"
368
363
  ]
369
364
  },
370
365
  "css": {
371
366
  "sync": [],
372
367
  "async": [
373
- "__mf/css/async/6759.6b2b0c71.css"
368
+ "__mf/css/async/2341.d3010b86.css"
374
369
  ]
375
370
  }
376
371
  },
@@ -383,35 +378,29 @@
383
378
  "js": {
384
379
  "sync": [
385
380
  "__mf/js/async/282.76b8b044.js",
386
- "__mf/js/async/2448.e42be954.js",
381
+ "__mf/js/async/1360.33f7e672.js",
387
382
  "__mf/js/async/2114.27f707a0.js",
388
- "__mf/js/async/__federation_expose_ClickHouseTimeSeriesQuery.12307d25.js"
383
+ "__mf/js/async/__federation_expose_ClickHouseTimeSeriesQuery.6a30813e.js"
389
384
  ],
390
385
  "async": [
391
- "__mf/js/async/2226.332707ca.js",
392
- "__mf/js/async/6467.f4e5b898.js",
393
- "__mf/js/async/2448.e42be954.js",
394
- "__mf/js/async/3632.f88c5ced.js",
395
- "__mf/js/async/4168.af4fa8b3.js",
396
- "__mf/js/async/6569.f8ee50db.js",
397
- "__mf/js/async/__federation_expose_Logs.88d56eeb.js",
386
+ "__mf/js/async/2226.1d4436dc.js",
398
387
  "__mf/js/async/7376.c01a7f82.js",
399
- "__mf/js/async/6714.e4b5281a.js",
400
- "__mf/js/async/56.9997e6f8.js",
388
+ "__mf/js/async/6620.1d8e42fd.js",
389
+ "__mf/js/async/2652.fd27ec3f.js",
401
390
  "__mf/js/async/3431.54fb88df.js",
402
- "__mf/js/async/9654.ab803765.js",
403
- "__mf/js/async/4238.8c8282dc.js",
391
+ "__mf/js/async/6134.a0f2d3c5.js",
392
+ "__mf/js/async/4238.a8170f41.js",
404
393
  "__mf/js/async/3224.5735a223.js",
405
394
  "__mf/js/async/2292.248bd1ea.js",
406
395
  "__mf/js/async/8488.16a69ea5.js",
407
396
  "__mf/js/async/8216.44c6334e.js",
408
- "__mf/js/async/5713.92805154.js"
397
+ "__mf/js/async/2708.7448dd5c.js"
409
398
  ]
410
399
  },
411
400
  "css": {
412
401
  "sync": [],
413
402
  "async": [
414
- "__mf/css/async/6759.6b2b0c71.css"
403
+ "__mf/css/async/2341.d3010b86.css"
415
404
  ]
416
405
  }
417
406
  },
@@ -424,82 +413,33 @@
424
413
  "js": {
425
414
  "sync": [
426
415
  "__mf/js/async/282.76b8b044.js",
427
- "__mf/js/async/2448.e42be954.js",
416
+ "__mf/js/async/1360.33f7e672.js",
428
417
  "__mf/js/async/2114.27f707a0.js",
429
- "__mf/js/async/__federation_expose_ClickHouseLogQuery.4c608fd8.js"
418
+ "__mf/js/async/__federation_expose_ClickHouseLogQuery.63888cb7.js"
430
419
  ],
431
420
  "async": [
432
- "__mf/js/async/2226.332707ca.js",
433
- "__mf/js/async/6467.f4e5b898.js",
434
- "__mf/js/async/2448.e42be954.js",
435
- "__mf/js/async/3632.f88c5ced.js",
436
- "__mf/js/async/4168.af4fa8b3.js",
437
- "__mf/js/async/6569.f8ee50db.js",
438
- "__mf/js/async/__federation_expose_Logs.88d56eeb.js",
421
+ "__mf/js/async/2226.1d4436dc.js",
439
422
  "__mf/js/async/7376.c01a7f82.js",
440
- "__mf/js/async/6714.e4b5281a.js",
441
- "__mf/js/async/56.9997e6f8.js",
423
+ "__mf/js/async/6620.1d8e42fd.js",
424
+ "__mf/js/async/2652.fd27ec3f.js",
442
425
  "__mf/js/async/3431.54fb88df.js",
443
- "__mf/js/async/9654.ab803765.js",
444
- "__mf/js/async/4238.8c8282dc.js",
426
+ "__mf/js/async/6134.a0f2d3c5.js",
427
+ "__mf/js/async/4238.a8170f41.js",
445
428
  "__mf/js/async/3224.5735a223.js",
446
429
  "__mf/js/async/2292.248bd1ea.js",
447
430
  "__mf/js/async/8488.16a69ea5.js",
448
431
  "__mf/js/async/8216.44c6334e.js",
449
- "__mf/js/async/5713.92805154.js"
432
+ "__mf/js/async/2708.7448dd5c.js"
450
433
  ]
451
434
  },
452
435
  "css": {
453
436
  "sync": [],
454
437
  "async": [
455
- "__mf/css/async/6759.6b2b0c71.css"
438
+ "__mf/css/async/2341.d3010b86.css"
456
439
  ]
457
440
  }
458
441
  },
459
442
  "path": "./ClickHouseLogQuery"
460
- },
461
- {
462
- "id": "ClickHouse:Logs",
463
- "name": "Logs",
464
- "assets": {
465
- "js": {
466
- "sync": [
467
- "__mf/js/async/2448.e42be954.js",
468
- "__mf/js/async/6467.f4e5b898.js",
469
- "__mf/js/async/3632.f88c5ced.js",
470
- "__mf/js/async/4168.af4fa8b3.js",
471
- "__mf/js/async/6569.f8ee50db.js",
472
- "__mf/js/async/__federation_expose_Logs.88d56eeb.js"
473
- ],
474
- "async": [
475
- "__mf/js/async/282.76b8b044.js",
476
- "__mf/js/async/2448.e42be954.js",
477
- "__mf/js/async/2114.27f707a0.js",
478
- "__mf/js/async/__federation_expose_ClickHouseTimeSeriesQuery.12307d25.js",
479
- "__mf/js/async/__federation_expose_ClickHouseLogQuery.4c608fd8.js",
480
- "__mf/js/async/2226.332707ca.js",
481
- "__mf/js/async/7376.c01a7f82.js",
482
- "__mf/js/async/6714.e4b5281a.js",
483
- "__mf/js/async/56.9997e6f8.js",
484
- "__mf/js/async/3431.54fb88df.js",
485
- "__mf/js/async/9654.ab803765.js",
486
- "__mf/js/async/4238.8c8282dc.js",
487
- "__mf/js/async/3224.5735a223.js",
488
- "__mf/js/async/2292.248bd1ea.js",
489
- "__mf/js/async/8488.16a69ea5.js",
490
- "__mf/js/async/8216.44c6334e.js",
491
- "__mf/js/async/5713.92805154.js"
492
- ]
493
- },
494
- "css": {
495
- "sync": [],
496
- "async": [
497
- "__mf/css/async/6759.6b2b0c71.css",
498
- "__mf/css/async/2341.6b2b0c71.css"
499
- ]
500
- }
501
- },
502
- "path": "./Logs"
503
443
  }
504
444
  ]
505
445
  }