mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: interpolate variables when creating alert rule from dashboard panel (#37201)
This commit is contained in:
@@ -101,12 +101,17 @@ export enum GrafanaAlertStateDecision {
|
||||
OK = 'OK',
|
||||
}
|
||||
|
||||
interface AlertDataQuery extends DataQuery {
|
||||
maxDataPoints?: number;
|
||||
intervalMs?: number;
|
||||
}
|
||||
|
||||
export interface AlertQuery {
|
||||
refId: string;
|
||||
queryType: string;
|
||||
relativeTimeRange?: RelativeTimeRange;
|
||||
datasourceUid: string;
|
||||
model: DataQuery;
|
||||
model: AlertDataQuery;
|
||||
}
|
||||
|
||||
export interface PostableGrafanaRuleDefinition {
|
||||
|
||||
Reference in New Issue
Block a user