@perses-dev/victorialogs-plugin 0.4.0-beta.0 → 0.4.0-beta.1
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.
- package/__mf/js/VictoriaLogs.76673c5d.js +7 -0
- package/__mf/js/async/{1728.04dc9c2d.js → 1728.0335101e.js} +1 -1
- package/__mf/js/async/2842.1e7d9733.js +1 -0
- package/__mf/js/async/3613.614a20b2.js +22 -0
- package/__mf/js/async/{3998.70245d7e.js → 3998.9cab909c.js} +2 -2
- package/__mf/js/async/5440.95c5137a.js +2 -0
- package/__mf/js/async/{5440.6b23d19a.js.LICENSE.txt → 5440.95c5137a.js.LICENSE.txt} +3 -3
- package/__mf/js/async/6302.dfe2da12.js +7 -0
- package/__mf/js/async/8002.8ff0ea8e.js +3 -0
- package/__mf/js/async/{__federation_expose_VictoriaLogsDatasource.94f80aa6.js → __federation_expose_VictoriaLogsDatasource.865db0e2.js} +2 -2
- package/__mf/js/async/{__federation_expose_VictoriaLogsFieldNamesVariable.bc79069d.js → __federation_expose_VictoriaLogsFieldNamesVariable.73c7485b.js} +1 -1
- package/__mf/js/async/{__federation_expose_VictoriaLogsFieldValuesVariable.66036e23.js → __federation_expose_VictoriaLogsFieldValuesVariable.a430530c.js} +1 -1
- package/__mf/js/async/{__federation_expose_VictoriaLogsLogQuery.1c08408c.js → __federation_expose_VictoriaLogsLogQuery.3d66f0c0.js} +1 -1
- package/__mf/js/async/__federation_expose_VictoriaLogsTimeSeriesQuery.435fe22e.js +1 -0
- package/__mf/js/main.859dfc27.js +7 -0
- package/lib/cjs/queries/victorialogs-log-query/VictoriaLogsLogQuery.js +20 -0
- package/lib/cjs/queries/victorialogs-time-series-query/query.js +7 -3
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQuery.d.ts +1 -1
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQuery.d.ts.map +1 -1
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQuery.js +21 -1
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQuery.js.map +1 -1
- package/lib/queries/victorialogs-log-query/query.d.ts +1 -1
- package/lib/queries/victorialogs-log-query/query.d.ts.map +1 -1
- package/lib/queries/victorialogs-log-query/query.js.map +1 -1
- package/lib/queries/victorialogs-time-series-query/query.d.ts.map +1 -1
- package/lib/queries/victorialogs-time-series-query/query.js +7 -3
- package/lib/queries/victorialogs-time-series-query/query.js.map +1 -1
- package/mf-manifest.json +54 -59
- package/mf-stats.json +54 -59
- package/package.json +7 -6
- package/__mf/js/VictoriaLogs.393edf03.js +0 -7
- package/__mf/js/async/2502.2608617e.js +0 -1
- package/__mf/js/async/5440.6b23d19a.js +0 -2
- package/__mf/js/async/7354.7794d324.js +0 -7
- package/__mf/js/async/7413.1076eb0d.js +0 -1
- package/__mf/js/async/8750.a9c05111.js +0 -3
- package/__mf/js/async/9916.c4dd765e.js +0 -22
- package/__mf/js/async/__federation_expose_VictoriaLogsTimeSeriesQuery.363a0da2.js +0 -1
- package/__mf/js/main.5cb26b17.js +0 -7
- package/lib/cjs/queries/victorialogs-log-query/interface.js +0 -16
- package/lib/queries/victorialogs-log-query/interface.d.ts +0 -23
- package/lib/queries/victorialogs-log-query/interface.d.ts.map +0 -1
- package/lib/queries/victorialogs-log-query/interface.js +0 -15
- package/lib/queries/victorialogs-log-query/interface.js.map +0 -1
- /package/__mf/css/async/{7354.85c2cbf6.css → 6302.85c2cbf6.css} +0 -0
- /package/__mf/js/async/{9916.c4dd765e.js.LICENSE.txt → 3613.614a20b2.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{3998.70245d7e.js.LICENSE.txt → 3998.9cab909c.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{7354.7794d324.js.LICENSE.txt → 6302.dfe2da12.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{__federation_expose_VictoriaLogsDatasource.94f80aa6.js.LICENSE.txt → __federation_expose_VictoriaLogsDatasource.865db0e2.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../../src/queries/victorialogs-time-series-query/query.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,qBAAqB,EAAoB,MAAM,2BAA2B,CAAC;AAMpF,OAAO,EAAE,+BAA+B,EAAE,MAAM,SAAS,CAAC;AAE1D,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,MAAM,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,EAAE,QAAQ,CAAC;IACrB,MAAM,EAAE,wBAAwB,EAAE,CAAC;CACpC,CAAC;
|
|
1
|
+
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../../src/queries/victorialogs-time-series-query/query.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,qBAAqB,EAAoB,MAAM,2BAA2B,CAAC;AAMpF,OAAO,EAAE,+BAA+B,EAAE,MAAM,SAAS,CAAC;AAE1D,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,MAAM,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,EAAE,QAAQ,CAAC;IACrB,MAAM,EAAE,wBAAwB,EAAE,CAAC;CACpC,CAAC;AA+EF,eAAO,MAAM,6BAA6B,EAAE,qBAAqB,CAAC,+BAA+B,CAAC,CAAC,mBAAmB,CAkDnH,CAAC"}
|
|
@@ -49,9 +49,13 @@ const DEFAULT_MIN_STEP_SECONDS = 15; // 15 seconds default minimum
|
|
|
49
49
|
}
|
|
50
50
|
function convertMatrixToTimeSeries(matrix) {
|
|
51
51
|
return matrix.map((series)=>{
|
|
52
|
-
const
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
const labels = {
|
|
53
|
+
...series.metric
|
|
54
|
+
};
|
|
55
|
+
delete labels._stream;
|
|
56
|
+
delete labels.__name__;
|
|
57
|
+
if (series.metric._stream) {
|
|
58
|
+
const match = series.metric._stream.match(/{([^}]+)}/);
|
|
55
59
|
if (match && match[1]) {
|
|
56
60
|
match[1].split(',').forEach((labelPair)=>{
|
|
57
61
|
const [key, val] = labelPair.split('=').map((s)=>s.trim().replace(/^"|"$/g, ''));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/queries/victorialogs-time-series-query/query.ts"],"sourcesContent":["// Copyright 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 { TimeSeriesQueryPlugin, replaceVariables } from '@perses-dev/plugin-system';\nimport { milliseconds } from 'date-fns';\nimport { DurationString, parseDurationString, TimeSeries } from '@perses-dev/spec';\nimport { VictoriaLogsClient } from '../../model/client';\nimport { VictoriaLogsStatsQueryRangeResponse } from '../../model/types';\nimport { DEFAULT_DATASOURCE } from '../constants';\nimport { VictoriaLogsTimeSeriesQuerySpec } from './types';\n\nexport type VictoriaLogsMatrixResult = {\n metric: Record<string, string>;\n values: Array<[number, string]>;\n};\n\nexport type VictoriaLogsMatrixResponse = {\n resultType: 'matrix';\n result: VictoriaLogsMatrixResult[];\n};\n\n// Constants for VictoriaLogs step calculation\nconst MAX_VICTORIALOGS_DATA_POINTS = 10000; // Similar to Prometheus\nconst DEFAULT_MIN_STEP_SECONDS = 15; // 15 seconds default minimum\n\n/**\n * Converts a duration string (like \"15s\", \"1m\") to seconds\n */\nfunction getDurationStringSeconds(durationString?: DurationString): number | undefined {\n if (!durationString) return undefined;\n\n const duration = parseDurationString(durationString);\n const ms = milliseconds(duration);\n return Math.floor(ms / 1000);\n}\n\n/**\n * Calculates appropriate step for VictoriaLogs range queries\n */\nfunction getVictoriaLogsRangeStep(\n startMs: number,\n endMs: number,\n minStepSeconds = DEFAULT_MIN_STEP_SECONDS,\n suggestedStepMs = 0\n): number {\n const suggestedStepSeconds = suggestedStepMs / 1000;\n const querySeconds = (endMs - startMs) / 1000;\n\n let safeStep = querySeconds / MAX_VICTORIALOGS_DATA_POINTS;\n if (safeStep > 1) {\n safeStep = Math.ceil(safeStep);\n }\n\n return Math.max(suggestedStepSeconds, minStepSeconds, safeStep);\n}\n\n/**\n * Formats step in seconds as a duration string for VictoriaLogs API\n */\nfunction formatStepForVictoriaLogs(stepSeconds: number): string {\n if (stepSeconds < 60) {\n return `${Math.round(stepSeconds)}s`;\n } else if (stepSeconds < 3600) {\n return `${Math.round(stepSeconds / 60)}m`;\n } else {\n return `${Math.round(stepSeconds / 3600)}h`;\n }\n}\n\nfunction convertMatrixToTimeSeries(matrix: VictoriaLogsMatrixResult[]): TimeSeries[] {\n return matrix.map((series) => {\n const {
|
|
1
|
+
{"version":3,"sources":["../../../../src/queries/victorialogs-time-series-query/query.ts"],"sourcesContent":["// Copyright 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 { TimeSeriesQueryPlugin, replaceVariables } from '@perses-dev/plugin-system';\nimport { milliseconds } from 'date-fns';\nimport { DurationString, parseDurationString, TimeSeries } from '@perses-dev/spec';\nimport { VictoriaLogsClient } from '../../model/client';\nimport { VictoriaLogsStatsQueryRangeResponse } from '../../model/types';\nimport { DEFAULT_DATASOURCE } from '../constants';\nimport { VictoriaLogsTimeSeriesQuerySpec } from './types';\n\nexport type VictoriaLogsMatrixResult = {\n metric: Record<string, string>;\n values: Array<[number, string]>;\n};\n\nexport type VictoriaLogsMatrixResponse = {\n resultType: 'matrix';\n result: VictoriaLogsMatrixResult[];\n};\n\n// Constants for VictoriaLogs step calculation\nconst MAX_VICTORIALOGS_DATA_POINTS = 10000; // Similar to Prometheus\nconst DEFAULT_MIN_STEP_SECONDS = 15; // 15 seconds default minimum\n\n/**\n * Converts a duration string (like \"15s\", \"1m\") to seconds\n */\nfunction getDurationStringSeconds(durationString?: DurationString): number | undefined {\n if (!durationString) return undefined;\n\n const duration = parseDurationString(durationString);\n const ms = milliseconds(duration);\n return Math.floor(ms / 1000);\n}\n\n/**\n * Calculates appropriate step for VictoriaLogs range queries\n */\nfunction getVictoriaLogsRangeStep(\n startMs: number,\n endMs: number,\n minStepSeconds = DEFAULT_MIN_STEP_SECONDS,\n suggestedStepMs = 0\n): number {\n const suggestedStepSeconds = suggestedStepMs / 1000;\n const querySeconds = (endMs - startMs) / 1000;\n\n let safeStep = querySeconds / MAX_VICTORIALOGS_DATA_POINTS;\n if (safeStep > 1) {\n safeStep = Math.ceil(safeStep);\n }\n\n return Math.max(suggestedStepSeconds, minStepSeconds, safeStep);\n}\n\n/**\n * Formats step in seconds as a duration string for VictoriaLogs API\n */\nfunction formatStepForVictoriaLogs(stepSeconds: number): string {\n if (stepSeconds < 60) {\n return `${Math.round(stepSeconds)}s`;\n } else if (stepSeconds < 3600) {\n return `${Math.round(stepSeconds / 60)}m`;\n } else {\n return `${Math.round(stepSeconds / 3600)}h`;\n }\n}\n\nfunction convertMatrixToTimeSeries(matrix: VictoriaLogsMatrixResult[]): TimeSeries[] {\n return matrix.map((series) => {\n const labels = { ...series.metric };\n delete labels._stream;\n delete labels.__name__;\n\n if (series.metric._stream) {\n const match = series.metric._stream.match(/{([^}]+)}/);\n if (match && match[1]) {\n match[1].split(',').forEach((labelPair) => {\n const [key, val] = labelPair.split('=').map((s) => s.trim().replace(/^\"|\"$/g, ''));\n if (key && val) labels[key] = val;\n });\n }\n }\n const name = Object.entries(labels)\n .map(([k, v]) => `${k}=${v}`)\n .join(', ');\n return {\n name: name,\n values: series.values.map(([timestamp, value]) => [\n Number(timestamp) * 1000, // Convert seconds to milliseconds\n Number(value),\n ]),\n labels,\n };\n });\n}\n\nexport const getVictoriaLogsTimeSeriesData: TimeSeriesQueryPlugin<VictoriaLogsTimeSeriesQuerySpec>['getTimeSeriesData'] =\n async (spec, context) => {\n if (!spec.query) {\n return {\n series: [],\n timeRange: { start: context.timeRange.start, end: context.timeRange.end },\n stepMs: DEFAULT_MIN_STEP_SECONDS * 1000,\n };\n }\n\n const query = replaceVariables(spec.query, context.variableState);\n const client = (await context.datasourceStore.getDatasourceClient<VictoriaLogsClient>(\n spec.datasource ?? DEFAULT_DATASOURCE\n )) as VictoriaLogsClient;\n\n const { start, end } = context.timeRange;\n\n const minStepSeconds = spec.step\n ? (getDurationStringSeconds(spec.step as DurationString) ?? DEFAULT_MIN_STEP_SECONDS)\n : DEFAULT_MIN_STEP_SECONDS;\n const stepSeconds = getVictoriaLogsRangeStep(\n start.getTime(),\n end.getTime(),\n minStepSeconds,\n context.suggestedStepMs\n );\n const stepString = formatStepForVictoriaLogs(stepSeconds);\n const stepMs = stepSeconds * 1000;\n\n const response: VictoriaLogsStatsQueryRangeResponse = await client.statsQueryRange({\n query,\n step: stepString,\n start: start.toISOString(),\n end: end.toISOString(),\n });\n\n if (response.status === 'error') {\n throw new Error(response.error);\n }\n\n const series = convertMatrixToTimeSeries(response.data.result as VictoriaLogsMatrixResult[]);\n\n return {\n series: series,\n timeRange: { start, end },\n stepMs,\n metadata: {\n executedQueryString: query,\n },\n };\n };\n"],"names":["replaceVariables","milliseconds","parseDurationString","DEFAULT_DATASOURCE","MAX_VICTORIALOGS_DATA_POINTS","DEFAULT_MIN_STEP_SECONDS","getDurationStringSeconds","durationString","undefined","duration","ms","Math","floor","getVictoriaLogsRangeStep","startMs","endMs","minStepSeconds","suggestedStepMs","suggestedStepSeconds","querySeconds","safeStep","ceil","max","formatStepForVictoriaLogs","stepSeconds","round","convertMatrixToTimeSeries","matrix","map","series","labels","metric","_stream","__name__","match","split","forEach","labelPair","key","val","s","trim","replace","name","Object","entries","k","v","join","values","timestamp","value","Number","getVictoriaLogsTimeSeriesData","spec","context","query","timeRange","start","end","stepMs","variableState","client","datasourceStore","getDatasourceClient","datasource","step","getTime","stepString","response","statsQueryRange","toISOString","status","Error","error","data","result","metadata","executedQueryString"],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,SAAgCA,gBAAgB,QAAQ,4BAA4B;AACpF,SAASC,YAAY,QAAQ,WAAW;AACxC,SAAyBC,mBAAmB,QAAoB,mBAAmB;AAGnF,SAASC,kBAAkB,QAAQ,eAAe;AAalD,8CAA8C;AAC9C,MAAMC,+BAA+B,OAAO,wBAAwB;AACpE,MAAMC,2BAA2B,IAAI,6BAA6B;AAElE;;CAEC,GACD,SAASC,yBAAyBC,cAA+B;IAC/D,IAAI,CAACA,gBAAgB,OAAOC;IAE5B,MAAMC,WAAWP,oBAAoBK;IACrC,MAAMG,KAAKT,aAAaQ;IACxB,OAAOE,KAAKC,KAAK,CAACF,KAAK;AACzB;AAEA;;CAEC,GACD,SAASG,yBACPC,OAAe,EACfC,KAAa,EACbC,iBAAiBX,wBAAwB,EACzCY,kBAAkB,CAAC;IAEnB,MAAMC,uBAAuBD,kBAAkB;IAC/C,MAAME,eAAe,AAACJ,CAAAA,QAAQD,OAAM,IAAK;IAEzC,I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,EAAE"}
|
package/mf-manifest.json
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
"name": "VictoriaLogs",
|
|
6
6
|
"type": "app",
|
|
7
7
|
"buildInfo": {
|
|
8
|
-
"buildVersion": "0.4.0-beta.
|
|
8
|
+
"buildVersion": "0.4.0-beta.1",
|
|
9
9
|
"buildName": "@perses-dev/victorialogs-plugin"
|
|
10
10
|
},
|
|
11
11
|
"remoteEntry": {
|
|
12
|
-
"name": "__mf/js/VictoriaLogs.
|
|
12
|
+
"name": "__mf/js/VictoriaLogs.76673c5d.js",
|
|
13
13
|
"path": "",
|
|
14
14
|
"type": "global"
|
|
15
15
|
},
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"api": ""
|
|
21
21
|
},
|
|
22
22
|
"globalName": "VictoriaLogs",
|
|
23
|
-
"pluginVersion": "2.
|
|
23
|
+
"pluginVersion": "2.5.1",
|
|
24
24
|
"getPublicPath": "function() { const prefix = window.PERSES_PLUGIN_ASSETS_PATH || window.PERSES_APP_CONFIG?.api_prefix || \"\"; return prefix + \"/plugins/VictoriaLogs/\"; }"
|
|
25
25
|
},
|
|
26
26
|
"shared": [
|
|
@@ -90,20 +90,20 @@
|
|
|
90
90
|
{
|
|
91
91
|
"id": "VictoriaLogs:@perses-dev/components",
|
|
92
92
|
"name": "@perses-dev/components",
|
|
93
|
-
"version": "0.54.0-beta.
|
|
93
|
+
"version": "0.54.0-beta.8",
|
|
94
94
|
"singleton": true,
|
|
95
|
-
"requiredVersion": "^0.54.0-beta.
|
|
95
|
+
"requiredVersion": "^0.54.0-beta.8",
|
|
96
96
|
"assets": {
|
|
97
97
|
"js": {
|
|
98
98
|
"async": [],
|
|
99
99
|
"sync": [
|
|
100
|
-
"__mf/js/async/
|
|
100
|
+
"__mf/js/async/6302.dfe2da12.js"
|
|
101
101
|
]
|
|
102
102
|
},
|
|
103
103
|
"css": {
|
|
104
104
|
"async": [],
|
|
105
105
|
"sync": [
|
|
106
|
-
"__mf/css/async/
|
|
106
|
+
"__mf/css/async/6302.85c2cbf6.css"
|
|
107
107
|
]
|
|
108
108
|
}
|
|
109
109
|
},
|
|
@@ -112,14 +112,14 @@
|
|
|
112
112
|
{
|
|
113
113
|
"id": "VictoriaLogs:@perses-dev/dashboards",
|
|
114
114
|
"name": "@perses-dev/dashboards",
|
|
115
|
-
"version": "0.54.0-beta.
|
|
115
|
+
"version": "0.54.0-beta.8",
|
|
116
116
|
"singleton": true,
|
|
117
|
-
"requiredVersion": "^0.54.0-beta.
|
|
117
|
+
"requiredVersion": "^0.54.0-beta.8",
|
|
118
118
|
"assets": {
|
|
119
119
|
"js": {
|
|
120
120
|
"async": [],
|
|
121
121
|
"sync": [
|
|
122
|
-
"__mf/js/async/
|
|
122
|
+
"__mf/js/async/3613.614a20b2.js"
|
|
123
123
|
]
|
|
124
124
|
},
|
|
125
125
|
"css": {
|
|
@@ -132,14 +132,14 @@
|
|
|
132
132
|
{
|
|
133
133
|
"id": "VictoriaLogs:@perses-dev/explore",
|
|
134
134
|
"name": "@perses-dev/explore",
|
|
135
|
-
"version": "0.54.0-beta.
|
|
135
|
+
"version": "0.54.0-beta.8",
|
|
136
136
|
"singleton": true,
|
|
137
|
-
"requiredVersion": "^0.54.0-beta.
|
|
137
|
+
"requiredVersion": "^0.54.0-beta.8",
|
|
138
138
|
"assets": {
|
|
139
139
|
"js": {
|
|
140
140
|
"async": [],
|
|
141
141
|
"sync": [
|
|
142
|
-
"__mf/js/async/1728.
|
|
142
|
+
"__mf/js/async/1728.0335101e.js"
|
|
143
143
|
]
|
|
144
144
|
},
|
|
145
145
|
"css": {
|
|
@@ -152,14 +152,14 @@
|
|
|
152
152
|
{
|
|
153
153
|
"id": "VictoriaLogs:@perses-dev/plugin-system",
|
|
154
154
|
"name": "@perses-dev/plugin-system",
|
|
155
|
-
"version": "0.54.0-beta.
|
|
155
|
+
"version": "0.54.0-beta.8",
|
|
156
156
|
"singleton": true,
|
|
157
|
-
"requiredVersion": "^0.54.0-beta.
|
|
157
|
+
"requiredVersion": "^0.54.0-beta.8",
|
|
158
158
|
"assets": {
|
|
159
159
|
"js": {
|
|
160
160
|
"async": [],
|
|
161
161
|
"sync": [
|
|
162
|
-
"__mf/js/async/
|
|
162
|
+
"__mf/js/async/8002.8ff0ea8e.js"
|
|
163
163
|
]
|
|
164
164
|
},
|
|
165
165
|
"css": {
|
|
@@ -292,14 +292,14 @@
|
|
|
292
292
|
{
|
|
293
293
|
"id": "VictoriaLogs:react-router-dom",
|
|
294
294
|
"name": "react-router-dom",
|
|
295
|
-
"version": "6.30.
|
|
295
|
+
"version": "6.30.4",
|
|
296
296
|
"singleton": true,
|
|
297
|
-
"requiredVersion": "^6.30.
|
|
297
|
+
"requiredVersion": "^6.30.4",
|
|
298
298
|
"assets": {
|
|
299
299
|
"js": {
|
|
300
300
|
"async": [],
|
|
301
301
|
"sync": [
|
|
302
|
-
"__mf/js/async/5440.
|
|
302
|
+
"__mf/js/async/5440.95c5137a.js"
|
|
303
303
|
]
|
|
304
304
|
},
|
|
305
305
|
"css": {
|
|
@@ -358,23 +358,22 @@
|
|
|
358
358
|
"assets": {
|
|
359
359
|
"js": {
|
|
360
360
|
"sync": [
|
|
361
|
-
"__mf/js/async/__federation_expose_VictoriaLogsDatasource.
|
|
361
|
+
"__mf/js/async/__federation_expose_VictoriaLogsDatasource.865db0e2.js"
|
|
362
362
|
],
|
|
363
363
|
"async": [
|
|
364
364
|
"__mf/js/async/4248.7a9801a3.js",
|
|
365
365
|
"__mf/js/async/4225.e25a77bc.js",
|
|
366
366
|
"__mf/js/async/6410.724cafc0.js",
|
|
367
|
-
"__mf/js/async/3998.
|
|
368
|
-
"__mf/js/async/__federation_expose_VictoriaLogsFieldNamesVariable.
|
|
367
|
+
"__mf/js/async/3998.9cab909c.js",
|
|
368
|
+
"__mf/js/async/__federation_expose_VictoriaLogsFieldNamesVariable.73c7485b.js",
|
|
369
369
|
"__mf/js/async/9944.a006f9ca.js",
|
|
370
370
|
"__mf/js/async/1170.77c6039d.js",
|
|
371
|
-
"__mf/js/async/__federation_expose_VictoriaLogsFieldValuesVariable.
|
|
372
|
-
"__mf/js/async/
|
|
371
|
+
"__mf/js/async/__federation_expose_VictoriaLogsFieldValuesVariable.a430530c.js",
|
|
372
|
+
"__mf/js/async/2842.1e7d9733.js",
|
|
373
373
|
"__mf/js/async/5706.f345ce44.js",
|
|
374
|
-
"__mf/js/async/2502.2608617e.js",
|
|
375
374
|
"__mf/js/async/2749.8fbf14eb.js",
|
|
376
|
-
"__mf/js/async/__federation_expose_VictoriaLogsTimeSeriesQuery.
|
|
377
|
-
"__mf/js/async/__federation_expose_VictoriaLogsLogQuery.
|
|
375
|
+
"__mf/js/async/__federation_expose_VictoriaLogsTimeSeriesQuery.435fe22e.js",
|
|
376
|
+
"__mf/js/async/__federation_expose_VictoriaLogsLogQuery.3d66f0c0.js",
|
|
378
377
|
"__mf/js/async/2728.66342db6.js",
|
|
379
378
|
"__mf/js/async/9836.a90bfe3c.js",
|
|
380
379
|
"__mf/js/async/7793.247ca16e.js",
|
|
@@ -393,7 +392,7 @@
|
|
|
393
392
|
"css": {
|
|
394
393
|
"sync": [],
|
|
395
394
|
"async": [
|
|
396
|
-
"__mf/css/async/
|
|
395
|
+
"__mf/css/async/6302.85c2cbf6.css"
|
|
397
396
|
]
|
|
398
397
|
}
|
|
399
398
|
},
|
|
@@ -405,12 +404,11 @@
|
|
|
405
404
|
"assets": {
|
|
406
405
|
"js": {
|
|
407
406
|
"sync": [
|
|
407
|
+
"__mf/js/async/2842.1e7d9733.js",
|
|
408
408
|
"__mf/js/async/4225.e25a77bc.js",
|
|
409
|
-
"__mf/js/async/7413.1076eb0d.js",
|
|
410
409
|
"__mf/js/async/5706.f345ce44.js",
|
|
411
|
-
"__mf/js/async/2502.2608617e.js",
|
|
412
410
|
"__mf/js/async/2749.8fbf14eb.js",
|
|
413
|
-
"__mf/js/async/__federation_expose_VictoriaLogsTimeSeriesQuery.
|
|
411
|
+
"__mf/js/async/__federation_expose_VictoriaLogsTimeSeriesQuery.435fe22e.js"
|
|
414
412
|
],
|
|
415
413
|
"async": [
|
|
416
414
|
"__mf/js/async/9588.7f035e9c.js",
|
|
@@ -418,11 +416,11 @@
|
|
|
418
416
|
"__mf/js/async/4248.7a9801a3.js",
|
|
419
417
|
"__mf/js/async/4225.e25a77bc.js",
|
|
420
418
|
"__mf/js/async/6410.724cafc0.js",
|
|
421
|
-
"__mf/js/async/3998.
|
|
422
|
-
"__mf/js/async/__federation_expose_VictoriaLogsFieldNamesVariable.
|
|
419
|
+
"__mf/js/async/3998.9cab909c.js",
|
|
420
|
+
"__mf/js/async/__federation_expose_VictoriaLogsFieldNamesVariable.73c7485b.js",
|
|
423
421
|
"__mf/js/async/9944.a006f9ca.js",
|
|
424
422
|
"__mf/js/async/1170.77c6039d.js",
|
|
425
|
-
"__mf/js/async/__federation_expose_VictoriaLogsFieldValuesVariable.
|
|
423
|
+
"__mf/js/async/__federation_expose_VictoriaLogsFieldValuesVariable.a430530c.js",
|
|
426
424
|
"__mf/js/async/2728.66342db6.js",
|
|
427
425
|
"__mf/js/async/7793.247ca16e.js",
|
|
428
426
|
"__mf/js/async/9877.6135f2be.js",
|
|
@@ -439,7 +437,7 @@
|
|
|
439
437
|
"css": {
|
|
440
438
|
"sync": [],
|
|
441
439
|
"async": [
|
|
442
|
-
"__mf/css/async/
|
|
440
|
+
"__mf/css/async/6302.85c2cbf6.css"
|
|
443
441
|
]
|
|
444
442
|
}
|
|
445
443
|
},
|
|
@@ -454,22 +452,21 @@
|
|
|
454
452
|
"__mf/js/async/4225.e25a77bc.js",
|
|
455
453
|
"__mf/js/async/5706.f345ce44.js",
|
|
456
454
|
"__mf/js/async/2749.8fbf14eb.js",
|
|
457
|
-
"__mf/js/async/__federation_expose_VictoriaLogsLogQuery.
|
|
455
|
+
"__mf/js/async/__federation_expose_VictoriaLogsLogQuery.3d66f0c0.js"
|
|
458
456
|
],
|
|
459
457
|
"async": [
|
|
460
458
|
"__mf/js/async/4248.7a9801a3.js",
|
|
461
459
|
"__mf/js/async/4225.e25a77bc.js",
|
|
462
460
|
"__mf/js/async/6410.724cafc0.js",
|
|
463
|
-
"__mf/js/async/3998.
|
|
464
|
-
"__mf/js/async/__federation_expose_VictoriaLogsFieldNamesVariable.
|
|
461
|
+
"__mf/js/async/3998.9cab909c.js",
|
|
462
|
+
"__mf/js/async/__federation_expose_VictoriaLogsFieldNamesVariable.73c7485b.js",
|
|
465
463
|
"__mf/js/async/9944.a006f9ca.js",
|
|
466
464
|
"__mf/js/async/1170.77c6039d.js",
|
|
467
|
-
"__mf/js/async/__federation_expose_VictoriaLogsFieldValuesVariable.
|
|
468
|
-
"__mf/js/async/
|
|
465
|
+
"__mf/js/async/__federation_expose_VictoriaLogsFieldValuesVariable.a430530c.js",
|
|
466
|
+
"__mf/js/async/2842.1e7d9733.js",
|
|
469
467
|
"__mf/js/async/5706.f345ce44.js",
|
|
470
|
-
"__mf/js/async/2502.2608617e.js",
|
|
471
468
|
"__mf/js/async/2749.8fbf14eb.js",
|
|
472
|
-
"__mf/js/async/__federation_expose_VictoriaLogsTimeSeriesQuery.
|
|
469
|
+
"__mf/js/async/__federation_expose_VictoriaLogsTimeSeriesQuery.435fe22e.js",
|
|
473
470
|
"__mf/js/async/2728.66342db6.js",
|
|
474
471
|
"__mf/js/async/7793.247ca16e.js",
|
|
475
472
|
"__mf/js/async/9877.6135f2be.js",
|
|
@@ -488,7 +485,7 @@
|
|
|
488
485
|
"css": {
|
|
489
486
|
"sync": [],
|
|
490
487
|
"async": [
|
|
491
|
-
"__mf/css/async/
|
|
488
|
+
"__mf/css/async/6302.85c2cbf6.css"
|
|
492
489
|
]
|
|
493
490
|
}
|
|
494
491
|
},
|
|
@@ -503,8 +500,8 @@
|
|
|
503
500
|
"__mf/js/async/4248.7a9801a3.js",
|
|
504
501
|
"__mf/js/async/4225.e25a77bc.js",
|
|
505
502
|
"__mf/js/async/6410.724cafc0.js",
|
|
506
|
-
"__mf/js/async/3998.
|
|
507
|
-
"__mf/js/async/__federation_expose_VictoriaLogsFieldNamesVariable.
|
|
503
|
+
"__mf/js/async/3998.9cab909c.js",
|
|
504
|
+
"__mf/js/async/__federation_expose_VictoriaLogsFieldNamesVariable.73c7485b.js"
|
|
508
505
|
],
|
|
509
506
|
"async": [
|
|
510
507
|
"__mf/js/async/9944.a006f9ca.js",
|
|
@@ -512,19 +509,18 @@
|
|
|
512
509
|
"__mf/js/async/4225.e25a77bc.js",
|
|
513
510
|
"__mf/js/async/6410.724cafc0.js",
|
|
514
511
|
"__mf/js/async/1170.77c6039d.js",
|
|
515
|
-
"__mf/js/async/3998.
|
|
516
|
-
"__mf/js/async/__federation_expose_VictoriaLogsFieldValuesVariable.
|
|
517
|
-
"__mf/js/async/
|
|
512
|
+
"__mf/js/async/3998.9cab909c.js",
|
|
513
|
+
"__mf/js/async/__federation_expose_VictoriaLogsFieldValuesVariable.a430530c.js",
|
|
514
|
+
"__mf/js/async/2842.1e7d9733.js",
|
|
518
515
|
"__mf/js/async/5706.f345ce44.js",
|
|
519
|
-
"__mf/js/async/2502.2608617e.js",
|
|
520
516
|
"__mf/js/async/2749.8fbf14eb.js",
|
|
521
|
-
"__mf/js/async/__federation_expose_VictoriaLogsTimeSeriesQuery.
|
|
517
|
+
"__mf/js/async/__federation_expose_VictoriaLogsTimeSeriesQuery.435fe22e.js",
|
|
522
518
|
"__mf/js/async/2728.66342db6.js",
|
|
523
519
|
"__mf/js/async/9836.a90bfe3c.js",
|
|
524
520
|
"__mf/js/async/7793.247ca16e.js",
|
|
525
521
|
"__mf/js/async/11.3c4453d5.js",
|
|
526
522
|
"__mf/js/async/3059.56d0ffdb.js",
|
|
527
|
-
"__mf/js/async/__federation_expose_VictoriaLogsLogQuery.
|
|
523
|
+
"__mf/js/async/__federation_expose_VictoriaLogsLogQuery.3d66f0c0.js",
|
|
528
524
|
"__mf/js/async/5019.967daa26.js",
|
|
529
525
|
"__mf/js/async/9877.6135f2be.js",
|
|
530
526
|
"__mf/js/async/9588.7f035e9c.js",
|
|
@@ -538,7 +534,7 @@
|
|
|
538
534
|
"css": {
|
|
539
535
|
"sync": [],
|
|
540
536
|
"async": [
|
|
541
|
-
"__mf/css/async/
|
|
537
|
+
"__mf/css/async/6302.85c2cbf6.css"
|
|
542
538
|
]
|
|
543
539
|
}
|
|
544
540
|
},
|
|
@@ -555,22 +551,21 @@
|
|
|
555
551
|
"__mf/js/async/4225.e25a77bc.js",
|
|
556
552
|
"__mf/js/async/6410.724cafc0.js",
|
|
557
553
|
"__mf/js/async/1170.77c6039d.js",
|
|
558
|
-
"__mf/js/async/3998.
|
|
559
|
-
"__mf/js/async/__federation_expose_VictoriaLogsFieldValuesVariable.
|
|
554
|
+
"__mf/js/async/3998.9cab909c.js",
|
|
555
|
+
"__mf/js/async/__federation_expose_VictoriaLogsFieldValuesVariable.a430530c.js"
|
|
560
556
|
],
|
|
561
557
|
"async": [
|
|
562
|
-
"__mf/js/async/
|
|
558
|
+
"__mf/js/async/2842.1e7d9733.js",
|
|
563
559
|
"__mf/js/async/4225.e25a77bc.js",
|
|
564
560
|
"__mf/js/async/5706.f345ce44.js",
|
|
565
|
-
"__mf/js/async/2502.2608617e.js",
|
|
566
561
|
"__mf/js/async/2749.8fbf14eb.js",
|
|
567
|
-
"__mf/js/async/__federation_expose_VictoriaLogsTimeSeriesQuery.
|
|
562
|
+
"__mf/js/async/__federation_expose_VictoriaLogsTimeSeriesQuery.435fe22e.js",
|
|
568
563
|
"__mf/js/async/2728.66342db6.js",
|
|
569
564
|
"__mf/js/async/9836.a90bfe3c.js",
|
|
570
565
|
"__mf/js/async/7793.247ca16e.js",
|
|
571
566
|
"__mf/js/async/11.3c4453d5.js",
|
|
572
567
|
"__mf/js/async/3059.56d0ffdb.js",
|
|
573
|
-
"__mf/js/async/__federation_expose_VictoriaLogsLogQuery.
|
|
568
|
+
"__mf/js/async/__federation_expose_VictoriaLogsLogQuery.3d66f0c0.js",
|
|
574
569
|
"__mf/js/async/5019.967daa26.js",
|
|
575
570
|
"__mf/js/async/9877.6135f2be.js",
|
|
576
571
|
"__mf/js/async/9588.7f035e9c.js",
|
|
@@ -584,7 +579,7 @@
|
|
|
584
579
|
"css": {
|
|
585
580
|
"sync": [],
|
|
586
581
|
"async": [
|
|
587
|
-
"__mf/css/async/
|
|
582
|
+
"__mf/css/async/6302.85c2cbf6.css"
|
|
588
583
|
]
|
|
589
584
|
}
|
|
590
585
|
},
|