mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-23 15:06:01 +00:00
profiler charts
This commit is contained in:
@@ -215,7 +215,8 @@
|
||||
props: {
|
||||
jslid: `archive://${data.folderName}/${data.fileName}`,
|
||||
profilerFormatterFunction: eng.profilerFormatterFunction,
|
||||
profilerChartFormatterFunction: eng.profilerChartFormatterFunction,
|
||||
profilerTimestampFunction: eng.profilerTimestampFunction,
|
||||
profilerChartAggregateFunction: eng.profilerChartAggregateFunction,
|
||||
profilerChartMeasures: eng.profilerChartMeasures,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -58,7 +58,8 @@
|
||||
export let database;
|
||||
export let jslid;
|
||||
export let profilerFormatterFunction;
|
||||
export let profilerChartFormatterFunction;
|
||||
export let profilerTimestampFunction;
|
||||
export let profilerChartAggregateFunction;
|
||||
export let profilerChartMeasures;
|
||||
|
||||
let profiling = false;
|
||||
@@ -128,7 +129,8 @@
|
||||
|
||||
const data = await apiCall('jsldata/extract-timeline-chart', {
|
||||
jslid,
|
||||
formatterFunction: profilerChartFormatterFunction || engine.profilerChartFormatterFunction,
|
||||
timestampFunction: profilerTimestampFunction || engine.profilerTimestampFunction,
|
||||
aggregateFunction: profilerChartAggregateFunction || engine.profilerChartAggregateFunction,
|
||||
measures: profilerChartMeasures || engine.profilerChartMeasures,
|
||||
});
|
||||
chartData = {
|
||||
|
||||
Reference in New Issue
Block a user