mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 02:12:15 +08:00

* fixes so we match the transformer based on name properly. * changed the signature on the FieldMatcher. * introduced a names option so you can filter in name specificly. * changed so the matcher UI uses the new options format. * moved the exported functions together. * changing editors a bit. * made the filter by name work with both regex and name filtering. * fixed failing tests and make sure we always parse regex the same way. * removed unused code. * simplified to make the existing field overrides still working. * fixed issue reported by hugo. * added tests for the name matcher. * added tests for filter by name. * added more tests. * generated new version of the packages docs. * fixed spelling error. * regenerated the docs.
3.1 KiB
3.1 KiB
+++
-----------------------------------------------------------------------
Do not edit this file. It is automatically generated by API Documenter.
-----------------------------------------------------------------------
title = "QueryResultMeta" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" +++
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[];