Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
QueryResultMeta interface
Signature
export interface QueryResultMeta
Import
import { QueryResultMeta } from '@grafana/data';
Properties
Property | Type | Description |
---|---|---|
alignmentPeriod | string | |
custom | Record<string, any> | DatasSource Specific Values |
gmdMeta | any[] | Legacy data source specific, should be moved to custom |
json | boolean | |
limit | number | |
notices | QueryResultMetaNotice[] | Meta Notices |
preferredVisualisationType | PreferredVisualisationType | Currently used to show results in Explore only in preferred visualisation option |
query | string | |
rawQuery | string | |
searchWords | string[] | |
stats | QueryResultMetaStat[] | Stats |
transformations | string[] | Used to track transformation ids that where part of the processing |
alignmentPeriod property
Signature
alignmentPeriod?: string;
custom property
DatasSource Specific Values
Signature
custom?: Record<string, any>;
gmdMeta property
Legacy data source specific, should be moved to custom
Signature
gmdMeta?: any[];
json property
Signature
json?: boolean;
limit property
Signature
limit?: number;
notices property
Meta Notices
Signature
notices?: QueryResultMetaNotice[];
preferredVisualisationType property
Currently used to show results in Explore only in preferred visualisation option
Signature
preferredVisualisationType?: PreferredVisualisationType;
query property
Signature
query?: string;
rawQuery property
Signature
rawQuery?: string;
searchWords property
Signature
searchWords?: string[];
stats property
Stats
Signature
stats?: QueryResultMetaStat[];
transformations property
Used to track transformation ids that where part of the processing
Signature
transformations?: string[];