mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 19:39:35 +08:00
Alerting: Limit GMA alerts on the new list page (#105657)
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
import { DataQuery, RelativeTimeRange } from '@grafana/data';
|
||||
import { ExpressionQuery } from 'app/features/expressions/types';
|
||||
|
||||
import { AlertGroupTotals } from './unified-alerting';
|
||||
import { AlertGroupTotals, AlertInstanceTotals } from './unified-alerting';
|
||||
|
||||
export type Labels = Record<string, string>;
|
||||
export type Annotations = Record<string, string>;
|
||||
@ -170,7 +170,10 @@ export interface PromRuleGroupDTO<TRule = PromRuleDTO> {
|
||||
lastEvaluation?: string;
|
||||
}
|
||||
|
||||
export interface GrafanaPromAlertingRuleDTO extends GrafanaPromRuleDTOBase, PromAlertingRuleDTO {}
|
||||
export interface GrafanaPromAlertingRuleDTO extends GrafanaPromRuleDTOBase, PromAlertingRuleDTO {
|
||||
totals: AlertInstanceTotals;
|
||||
totalsFiltered: AlertInstanceTotals;
|
||||
}
|
||||
|
||||
export interface GrafanaPromRecordingRuleDTO extends GrafanaPromRuleDTOBase, PromRecordingRuleDTO {}
|
||||
|
||||
|
Reference in New Issue
Block a user