mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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
This commit is contained in:
parent
bfaec17c51
commit
314d442dc7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user