mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Add custom grouping for alert groups (#37378)
* Group alertmangaer alerts by custom grouping * Filter am groups * Style filter components * Style filter bar and add clear functionality * rename components to alert group * use query params for group filters * filter style improvements * add tests for group by * Add grouping banner to better highlight groupings * clean up hook logic
This commit is contained in:
@@ -127,8 +127,9 @@ export interface PrometheusRuleIdentifier {
|
||||
}
|
||||
|
||||
export type RuleIdentifier = CloudRuleIdentifier | GrafanaRuleIdentifier | PrometheusRuleIdentifier;
|
||||
export interface RuleFilterState {
|
||||
export interface FilterState {
|
||||
queryString?: string;
|
||||
dataSource?: string;
|
||||
alertState?: string;
|
||||
groupBy?: string[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user