API Reference@grafana/runtimeframeToMetricFindValue

frameToMetricFindValue() function

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

frameToMetricFindValue() function

Return the first string or non-time field as the value

Signature

export declare function frameToMetricFindValue(frame: DataFrame): MetricFindValue[];

Import

import { frameToMetricFindValue } from '@grafana/runtime';

Parameters

Parameter Type Description
frame DataFrame

Returns:

MetricFindValue[]