Commit 314d442d by David Committed by GitHub

Loki: Fix query stats display in Explore (#24348)

- the stats label changed in the original PR, so the custom key did no
longer work, this change fixes it and the total bytes processed show up
in the explore logs meta data
parent bfaec17c
......@@ -300,7 +300,7 @@ export function lokiStreamsToDataframes(
const stats: QueryResultMetaStat[] = lokiStatsToMetaStat(response.data.stats);
// Use custom mechanism to identify which stat we want to promote to label
const custom = {
lokiQueryStatKey: 'Summary: totalBytesProcessed',
lokiQueryStatKey: 'Summary: total bytes processed',
};
const series: DataFrame[] = data.map(stream => {
const dataFrame = lokiStreamResultToDataFrame(stream, reverse);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment