mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 21:12:37 +08:00
139 lines
3.3 KiB
Markdown
139 lines
3.3 KiB
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "QueryResultMeta"
|
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
|
type = "docs"
|
|
+++
|
|
|
|
## QueryResultMeta interface
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
export interface QueryResultMeta
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { QueryResultMeta } from '@grafana/data';
|
|
```
|
|
<b>Properties</b>
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [alignmentPeriod](#alignmentperiod-property) | <code>string</code> | |
|
|
| [custom](#custom-property) | <code>Record<string, any></code> | DatasSource Specific Values |
|
|
| [executedQueryString](#executedquerystring-property) | <code>string</code> | This is the raw query sent to the underlying system. All macros and templating as been applied. When metadata contains this value, it will be shown in the query inspector |
|
|
| [gmdMeta](#gmdmeta-property) | <code>any[]</code> | Legacy data source specific, should be moved to custom |
|
|
| [json](#json-property) | <code>boolean</code> | |
|
|
| [limit](#limit-property) | <code>number</code> | |
|
|
| [notices](#notices-property) | <code>QueryResultMetaNotice[]</code> | Meta Notices |
|
|
| [preferredVisualisationType](#preferredvisualisationtype-property) | <code>PreferredVisualisationType</code> | Currently used to show results in Explore only in preferred visualisation option |
|
|
| [searchWords](#searchwords-property) | <code>string[]</code> | |
|
|
| [stats](#stats-property) | <code>QueryResultMetaStat[]</code> | Stats |
|
|
| [transformations](#transformations-property) | <code>string[]</code> | Used to track transformation ids that where part of the processing |
|
|
|
|
### alignmentPeriod property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
alignmentPeriod?: string;
|
|
```
|
|
|
|
### custom property
|
|
|
|
DatasSource Specific Values
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
custom?: Record<string, any>;
|
|
```
|
|
|
|
### executedQueryString property
|
|
|
|
This is the raw query sent to the underlying system. All macros and templating as been applied. When metadata contains this value, it will be shown in the query inspector
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
executedQueryString?: string;
|
|
```
|
|
|
|
### gmdMeta property
|
|
|
|
Legacy data source specific, should be moved to custom
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
gmdMeta?: any[];
|
|
```
|
|
|
|
### json property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
json?: boolean;
|
|
```
|
|
|
|
### limit property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
limit?: number;
|
|
```
|
|
|
|
### notices property
|
|
|
|
Meta Notices
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
notices?: QueryResultMetaNotice[];
|
|
```
|
|
|
|
### preferredVisualisationType property
|
|
|
|
Currently used to show results in Explore only in preferred visualisation option
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
preferredVisualisationType?: PreferredVisualisationType;
|
|
```
|
|
|
|
### searchWords property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
searchWords?: string[];
|
|
```
|
|
|
|
### stats property
|
|
|
|
Stats
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
stats?: QueryResultMetaStat[];
|
|
```
|
|
|
|
### transformations property
|
|
|
|
Used to track transformation ids that where part of the processing
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
transformations?: string[];
|
|
```
|