Alerting: Add filters for AlertList panel (#43130)

* add state filters for prom alerts

* combine state filters

* add datasource filter for panel

* remove duplicate state check

* show only prom, loki, and grafana datasources
This commit is contained in:
Nathan Rodman
2021-12-16 10:17:24 -08:00
committed by GitHub
parent be498f312e
commit 187a8703c8
5 changed files with 76 additions and 41 deletions
@@ -4,6 +4,7 @@ import { RulesSource } from 'app/types/unified-alerting';
import { getAllDataSources } from './config';
export const GRAFANA_RULES_SOURCE_NAME = 'grafana';
export const GRAFANA_DATASOURCE_NAME = '-- Grafana --';
export enum DataSourceType {
Alertmanager = 'alertmanager',