diff --git a/src/event/src/datasource/datasource.ts b/src/event/src/datasource/datasource.ts index 6b5ff34..2025e82 100644 --- a/src/event/src/datasource/datasource.ts +++ b/src/event/src/datasource/datasource.ts @@ -402,7 +402,12 @@ export default class DashboardDatasource extends DataSourceApi - isTableQuery ? data : this.buildFetchSeries(data, options.scopedVars, config.alias, config), + isTableQuery + ? data?.map(item => ({ + ...item, + rows: item?.rows?.map(row => (row?.length ? [row[0] * 1000, ...row.slice(1)] : row)), + })) + : this.buildFetchSeries(data, options.scopedVars, config.alias, config), ) .catch(() => []), );