calculateLogsLabelStats() function

calculateLogsLabelStats() function

Signature

  1. export declare function calculateLogsLabelStats(rows: LogRowModel[], label: string): LogLabelStatsModel[];

Import

  1. import { calculateLogsLabelStats } from '@grafana/data';

Parameters

ParameterTypeDescription
rowsLogRowModel[]
labelstring

Returns:

LogLabelStatsModel[]