The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/packages_api/data/annotationqueryrequest.md

67 lines
1.6 KiB

+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "AnnotationQueryRequest"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## AnnotationQueryRequest interface
Options passed to the datasource.annotationQuery method. See docs/plugins/developing/datasource.md
<b>Signature</b>
```typescript
export interface AnnotationQueryRequest<MoreOptions = {}>
```
<b>Import</b>
```typescript
import { AnnotationQueryRequest } from '@grafana/data';
```
<b>Properties</b>
| Property | Type | Description |
| --- | --- | --- |
| [annotation](#annotation-property) | <code>{</code><br/><code> datasource: string;</code><br/><code> enable: boolean;</code><br/><code> name: string;</code><br/><code> } &amp; MoreOptions</code> | |
| [dashboard](#dashboard-property) | <code>any</code> | |
| [range](#range-property) | <code>TimeRange</code> | |
| [rangeRaw](#rangeraw-property) | <code>RawTimeRange</code> | |
### annotation property
<b>Signature</b>
```typescript
annotation: {
datasource: string;
enable: boolean;
name: string;
} & MoreOptions;
```
### dashboard property
<b>Signature</b>
```typescript
dashboard: any;
```
### range property
<b>Signature</b>
```typescript
range: TimeRange;
```
### rangeRaw property
<b>Signature</b>
```typescript
rangeRaw: RawTimeRange;
```