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

AnnotationQueryRequest interface

Options passed to the datasource.annotationQuery method. See docs/plugins/developing/datasource.md

Signature

typescript
export interface AnnotationQueryRequest<MoreOptions = {}> 

Import

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

Properties

PropertyTypeDescription
annotation{
datasource: string;
enable: boolean;
name: string;
} & MoreOptions
dashboardany
rangeTimeRange
rangeRawRawTimeRange

annotation property

Signature

typescript
annotation: {
        datasource: string;
        enable: boolean;
        name: string;
    } & MoreOptions;

dashboard property

Signature

typescript
dashboard: any;

range property

Signature

typescript
range: TimeRange;

rangeRaw property

Signature

typescript
rangeRaw: RawTimeRange;