mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore: Use DataFrame to derive graph/table/logs (#18859)
* WIP: Use data frames in explore * Explore: everything seems to be working again * Reworked ResultProcessor tests * Fixed unit test * Add some typings and comments
This commit is contained in:
@@ -16,7 +16,6 @@ import {
|
||||
LogsMetaKind,
|
||||
LogsDedupStrategy,
|
||||
GraphSeriesXY,
|
||||
LoadingState,
|
||||
dateTime,
|
||||
toUtc,
|
||||
NullValueMode,
|
||||
@@ -193,7 +192,7 @@ export function dataFrameToLogsModel(dataFrame: DataFrame[], intervalMs: number)
|
||||
logsModel.series = makeSeriesForLogs(logsModel.rows, intervalMs);
|
||||
} else {
|
||||
logsModel.series = getGraphSeriesModel(
|
||||
{ series: metricSeries, state: LoadingState.Done },
|
||||
metricSeries,
|
||||
{},
|
||||
{ showBars: true, showLines: false, showPoints: false },
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user