This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/datacalculateStats

calculateStats() function

calculateStats() function

Signature

export declare function calculateStats(values: any[]): LogLabelStatsModel[];

Import

import { calculateStats } from '@grafana/data';

Parameters

Parameter Type Description
values any[]

Returns:

LogLabelStatsModel[]