Menu

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.

Enterprise Open source

DataQueryRequest interface

Signature

typescript
export interface DataQueryRequest<TQuery extends DataQuery = DataQuery> 

Import

typescript
import { DataQueryRequest } from '@grafana/data';

Properties

PropertyTypeDescription
appCoreApp | string
cacheTimeoutstring
dashboardIdnumber
endTimenumber
exploreModeExploreMode
intervalstring
intervalMsnumber
liveStreamingboolean
maxDataPointsnumber
panelIdnumber
rangeTimeRange
rangeRawRawTimeRange
requestIdstring
reverseboolean
scopedVarsScopedVars
showingGraphboolean
showingTableboolean
startTimenumber
targetsTQuery[]
timeInfostring
timezonestring

app property

Signature

typescript
app: CoreApp | string;

cacheTimeout property

Signature

typescript
cacheTimeout?: string;

dashboardId property

Signature

typescript
dashboardId?: number;

endTime property

Signature

typescript
endTime?: number;

exploreMode property

Signature

typescript
exploreMode?: ExploreMode;

interval property

Signature

typescript
interval: string;

intervalMs property

Signature

typescript
intervalMs: number;

liveStreaming property

Signature

typescript
liveStreaming?: boolean;

maxDataPoints property

Signature

typescript
maxDataPoints?: number;

panelId property

Signature

typescript
panelId?: number;

range property

Signature

typescript
range: TimeRange;

rangeRaw property

Signature

typescript
rangeRaw?: RawTimeRange;

requestId property

Signature

typescript
requestId: string;

reverse property

Signature

typescript
reverse?: boolean;

scopedVars property

Signature

typescript
scopedVars: ScopedVars;

showingGraph property

Signature

typescript
showingGraph?: boolean;

showingTable property

Signature

typescript
showingTable?: boolean;

startTime property

Signature

typescript
startTime: number;

targets property

Signature

typescript
targets: TQuery[];

timeInfo property

Signature

typescript
timeInfo?: string;

timezone property

Signature

typescript
timezone: string;